Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ML-KEM to speed.cc, bump AWSLC_API_VERSION to 30 (#1817)
### Description of changes: Bump AWSLC_API_VERSION to 30 so speed.cc can tell which library versions have ML-KEM support. Add the ML-KEM benchmark for all future versions of AWS-LC that support it. ### Testing: Ran speed locally: ``` ./tool/bssl speed -filter ML-KEM Did 85000 ML-KEM-512 keygen operations in 1002430us (84794.0 ops/sec) Did 84000 ML-KEM-512 encaps operations in 1008991us (83251.5 ops/sec) Did 70000 ML-KEM-512 decaps operations in 1009795us (69321.0 ops/sec) Did 48000 ML-KEM-768 keygen operations in 1014221us (47327.0 ops/sec) Did 52000 ML-KEM-768 encaps operations in 1011926us (51387.2 ops/sec) Did 44000 ML-KEM-768 decaps operations in 1012853us (43441.6 ops/sec) Did 30000 ML-KEM-1024 keygen operations in 1004572us (29863.5 ops/sec) Did 34000 ML-KEM-1024 encaps operations in 1012471us (33581.2 ops/sec) Did 29000 ML-KEM-1024 decaps operations in 1021323us (28394.5 ops/sec) ``` 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