Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the implementation of KEMs and Kyber #605

Merged
merged 11 commits into from
Sep 19, 2022

Conversation

dkostic
Copy link
Contributor

@dkostic dkostic commented Aug 26, 2022

Issues:

CryptoAlg-1259

Description of changes:

  • Removed the OpenSSL 3.0-like structures and APIs from the implementation of PQ KEMs.
  • Added two new methods in EVP_PKEY, encapsulate and decapsulate, to be used for KEMs.
  • Renamed some macro and variable names to be consistent with NIST's notation.

Call-outs:

Point out areas that need special attention or support during the review process. Discuss architecture or design changes.

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Dusan Kostic and others added 4 commits August 25, 2022 16:12
- Remove OpenSSL specific functions.
- Remove OpenSSL style provider implementation.
- Add KEM encapsulate and decapsulate to EVP_PKEY.
Co-authored-by: torben-hansen <[email protected]>
@dkostic dkostic changed the title Update pq impl Modify the implementation of KEMs and Kyber Aug 26, 2022
crypto/kyber/kem_kyber.h Show resolved Hide resolved
crypto/kyber/kem_kyber.h Outdated Show resolved Hide resolved
crypto/kyber/p_kyber.c Outdated Show resolved Hide resolved
crypto/kyber/p_kyber.c Outdated Show resolved Hide resolved
crypto/kyber/p_kyber.c Outdated Show resolved Hide resolved
include/openssl/evp.h Outdated Show resolved Hide resolved
include/openssl/evp.h Outdated Show resolved Hide resolved
include/openssl/evp.h Outdated Show resolved Hide resolved
include/openssl/evp.h Show resolved Hide resolved
crypto/kyber/p_kyber.c Outdated Show resolved Hide resolved
include/openssl/evp.h Outdated Show resolved Hide resolved
crypto/evp_extra/p_hkdf.c Show resolved Hide resolved
crypto/kyber/p_kyber512_asn1.c Show resolved Hide resolved
crypto/kyber/p_kyber512_asn1.c Outdated Show resolved Hide resolved
crypto/kyber/p_kyber512_asn1.c Show resolved Hide resolved
crypto/kyber/p_kyber_test.cc Show resolved Hide resolved
include/openssl/evp.h Outdated Show resolved Hide resolved
torben-hansen
torben-hansen previously approved these changes Sep 14, 2022
crypto/fipsmodule/evp/internal.h Outdated Show resolved Hide resolved
crypto/kyber/kem_kyber512.c Show resolved Hide resolved
crypto/kyber/p_kyber.c Show resolved Hide resolved
crypto/kyber/p_kyber.c Show resolved Hide resolved
torben-hansen
torben-hansen previously approved these changes Sep 16, 2022
@dkostic dkostic merged commit 724c96f into aws:integrate-pq Sep 19, 2022
jakemas pushed a commit to jakemas/aws-lc that referenced this pull request Nov 1, 2022
- Removed the OpenSSL 3.0-like structures and APIs from the implementation of PQ KEMs.
- Added two new methods in EVP_PKEY, encapsulate and decapsulate, to be used for KEMs.
- Renamed some macro and variable names to be consistent with NIST's notation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants