Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ED25519 Power-on Self Test / CAST / KAT (#1834)
### Description of changes: Per IG guidance: >Note10: the ECDSA signature generation and deterministic ECDSA signature generation methods shall each have their own CAST if both are implemented in the approved mode. • for the EdDSA algorithm, o if the module implements digital signature generation, the module shall have an EdDSA digital signature generation CAST. If a KAT is used, the EdDSA digital signature shall be pre- computed, generate an EdDSA digital signature using known data and keys, and then compare the result to the pre-computed value; o if the module implements digital signature verification, the module shall have an EdDSA digital signature verification CAST. If a KAT is used, the EdDSA digital signature shall be pre- computed (which could be the output of the EdDSA digital signature generate test), and using a known key, verify the signature as specified in section 7.7 of FIPS 186-5. This KAT was sourced from the ACVP vectors for SigGen that were validated with the NIST demo server. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information