Skip to content

Is there any plan to implement symmetric algorithm like AES-GCM/CCM for TLS #486

Answered by simo5
sahilnxp asked this question in Q&A
Discussion options

You must be logged in to vote

I have started writing some code that could add it a while ago, but in OpenSSL there is no way to manage symmetric keys like for EVP_PKEY. See openssl/openssl#25908 for the necessary pre-requisite work for this to be a top tier feature in a future OpenSSL release.

That said, if you are ok exposing the session keys to OpenSSL and have it shim them back and forth we could allow usage of AES via session keys, I have a branch with some initial work I did a while ago here

Far from complete or even working/compiling, I stopped in the middle when I realized I'd have to do a lot of work to import keys, cache them in the session and then recognize them and reuse or re-create in session as needed. …

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by simo5
Comment options

You must be logged in to vote
1 reply
@beldmit
Comment options

beldmit Dec 7, 2024
Collaborator

Comment options

You must be logged in to vote
2 replies
@simo5
Comment options

simo5 Dec 9, 2024
Maintainer

@beldmit
Comment options

beldmit Dec 9, 2024
Collaborator

Comment options

You must be logged in to vote
1 reply
@simo5
Comment options

simo5 Dec 9, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants