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

Adding SIV mode for AES #5877

Closed
TheLazzziest opened this issue Feb 28, 2021 · 5 comments
Closed

Adding SIV mode for AES #5877

TheLazzziest opened this issue Feb 28, 2021 · 5 comments

Comments

@TheLazzziest
Copy link

Hi, I haven't found SIV mode in cryptography. Will you plan to add it ?
The main reason is that I am looking for a deterministic encryption(DAE) in order to store data securely and predictably in order to be able to retrieve information using some sort of a secret.

@reaperhulk
Copy link
Member

Yes we would like to add this. Unfortunately OpenSSL has only added SIV mode in 3.0, which is not yet out. We could implement this ourselves, but we prefer to keep implementations like that within OpenSSL where possible. So you can expect to see support shortly after 3.0 is released!

@tasket
Copy link

tasket commented Jun 28, 2021

Hello: My suggestion would be to implement the GCM-SIV mode which is faster because its based on GCM and it addresses the same issue of accidental nonce-reuse that SIV does...

https://datatracker.ietf.org/doc/rfc8452/

https://eprint.iacr.org/2017/168.pdf

@reaperhulk
Copy link
Member

OpenSSL unfortunately hasn't implemented GCM-SIV so we can't add support for it until they do.

@beldmit
Copy link

beldmit commented Oct 1, 2021

openssl/openssl#16721 is the OpenSSL upstream issue

@alex
Copy link
Member

alex commented Apr 3, 2022

implemented in #7029

@alex alex closed this as completed Apr 3, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

5 participants