JDK-8181611 : Test plan for Key Agreement with Curve25519 and Curve448
  • Type: JEP Task
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Fix Versions: 11
  • Submitted: 2017-06-05
  • Updated: 2018-04-26
  • Resolved: 2018-04-25
Related Reports
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Blocks :  
Relates :  
Sub Tasks
JDK-8184359 :  
JDK-8200219 :  
JDK-8200220 :  
JDK-8200221 :  
JDK-8200222 :  
JDK-8200223 :  
Description
The X25519 and X448 functions will be implemented as described in [RFC 7748](https://tools.ietf.org/html/rfc7748) , and these functions will be used to implement new KeyAgreement, KeyFactory, and KeyPairGenerator services in the existing SunEC provider. 

<h2> Testing of the framework </h2>
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.

<h2> Negative testing of the framework </h2>
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.

<h2> Known-answer tests </h2>
Known-answer Test vectors may be used from [RFC 7748](https://tools.ietf.org/html/rfc7748) during Test.