The X25519 and X448 functions will be implemented as described in RFC 7748 , and these functions will be used to implement new KeyAgreement, KeyFactory, and KeyPairGenerator services in the existing SunEC provider.
Testing of the framework
Tests need to make sure that the framework can be easily used to Test KeyAgreement, KeyFactory, and KeyPairGenerator API. It should also ensure most of functional area tested, Public API covered along with good amount of code coverage.
Negative testing of the framework
Tests should make sure that the framework correctly handle incorrect usage of the new API. For example, tests may simulate a situation when the framework is incorrectly used, and check for expected exceptions and return values.
Known-answer Test vectors may be used from RFC 7748 during Test.