Skip to content

EVP PKCS#8 v2 Key Support for Ed25519 and X25519#718

Merged
skmcgrail merged 7 commits intoaws:pkcs8v2from
skmcgrail:evp_pkcs8v2
Jan 11, 2023
Merged

EVP PKCS#8 v2 Key Support for Ed25519 and X25519#718
skmcgrail merged 7 commits intoaws:pkcs8v2from
skmcgrail:evp_pkcs8v2

Conversation

@skmcgrail
Copy link
Copy Markdown
Member

Description of changes:

Adds support for PKCS#8 v2 encoding and decoding of Ed25519 and X25519 keys to the EVP_* APIs.

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.

@skmcgrail
Copy link
Copy Markdown
Member Author

I'm now wondering if we should also separate out the changes to set_priv_raw to a separate pointer function that takes both the private and public key? Something like set_priv_raw_verify maybe to signify that with the public key passed in the two are verified that they are consistent? Thoughts?

@skmcgrail skmcgrail force-pushed the evp_pkcs8v2 branch 2 times, most recently from 15e3707 to 1b4d78f Compare December 12, 2022 21:40
@skmcgrail skmcgrail force-pushed the evp_pkcs8v2 branch 2 times, most recently from 1b2c2e7 to 85e37c1 Compare December 14, 2022 00:13
torben-hansen
torben-hansen previously approved these changes Dec 22, 2022
Copy link
Copy Markdown
Contributor

@torben-hansen torben-hansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but fuzzing did something. I tried restarting it.

}
return true;
})) {
EVP_PKEY_free(key);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of writing. Could a go-to work better here?

@skmcgrail skmcgrail changed the base branch from main to pkcs8v2 December 27, 2022 16:44
@skmcgrail skmcgrail dismissed torben-hansen’s stale review December 27, 2022 16:44

The base branch was changed.

@skmcgrail skmcgrail merged commit 6e14e4b into aws:pkcs8v2 Jan 11, 2023
@skmcgrail skmcgrail deleted the evp_pkcs8v2 branch January 11, 2023 23:56
R3hankhan123 pushed a commit to R3hankhan123/aws-lc that referenced this pull request Aug 29, 2025
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