-
Notifications
You must be signed in to change notification settings - Fork 121
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
Import SIKE P434 Round-3 code and add basic unit test #252
Conversation
|
||
kem_ctx->kem = kem; | ||
|
||
kem_ctx->public_key = OPENSSL_malloc(kem->public_key_length); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dunno what is going on here with spacing, but it looks funny :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I aligned the equal signs, looks nicer to me that way :) if we don't do that in AWS-LC I'll remove the extra space?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol - I'm really indifferent
@@ -0,0 +1,23 @@ | |||
// ----------------------------------------------------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this file be deleted? Probably we can only use the P434_api.h?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes right now we don't need this file, but when we add another PQ KEM we'll need it because all the KEMs define the same macros with the same names so there would be a collision on the names if we don't define them separately in this file.
This PR imports the source code of SIKE from the official repository: https://github.com/microsoft/PQCrypto-SIDH. The new EVP APIs for PQ KEMs are also refactored to be more in line with the existing EVP APIs in the library. A basic unit test is added to verify the functionality of SIKE's implementation and the newly added PQ KEM APIs. Co-authored-by: Dusan Kostic <[email protected]>
This PR imports the source code of SIKE from the official repository: https://github.com/microsoft/PQCrypto-SIDH. The new EVP APIs for PQ KEMs are also refactored to be more in line with the existing EVP APIs in the library. A basic unit test is added to verify the functionality of SIKE's implementation and the newly added PQ KEM APIs. Co-authored-by: Dusan Kostic <[email protected]>
This PR imports the source code of SIKE from the official repository: https://github.com/microsoft/PQCrypto-SIDH. The new EVP APIs for PQ KEMs are also refactored to be more in line with the existing EVP APIs in the library. A basic unit test is added to verify the functionality of SIKE's implementation and the newly added PQ KEM APIs. Co-authored-by: Dusan Kostic <[email protected]>
This PR imports the source code of SIKE from the official repository: https://github.com/microsoft/PQCrypto-SIDH. The new EVP APIs for PQ KEMs are also refactored to be more in line with the existing EVP APIs in the library. A basic unit test is added to verify the functionality of SIKE's implementation and the newly added PQ KEM APIs. Co-authored-by: Dusan Kostic <[email protected]>
This PR imports the source code of SIKE from the official repository: https://github.com/microsoft/PQCrypto-SIDH. The new EVP APIs for PQ KEMs are also refactored to be more in line with the existing EVP APIs in the library. A basic unit test is added to verify the functionality of SIKE's implementation and the newly added PQ KEM APIs. Co-authored-by: Dusan Kostic <[email protected]>
Issues:
CryptoAlg-838
Description of changes:
This PR imports the source code of SIKE from the official repository: https://github.com/microsoft/PQCrypto-SIDH. A basic unit test is also added to verify the functionality of SIKE implementation and the newly added PQ KEM API.
Call-outs:
N/A
Testing:
New unit test added.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.