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

Support for nonce omission in AES-SIV #569

Closed
matthew-levan opened this issue Dec 19, 2023 · 4 comments
Closed

Support for nonce omission in AES-SIV #569

matthew-levan opened this issue Dec 19, 2023 · 4 comments

Comments

@matthew-levan
Copy link

https://datatracker.ietf.org/doc/html/rfc5297#section-4

@matthew-levan matthew-levan changed the title Support for nonce omission in SIV Support for nonce omission in AES-SIV Dec 19, 2023
@tarcieri
Copy link
Member

This can be accomplished by using the AEAD interface with a fixed nonce, or using aes::siv::Siv (or one of its aliases) which provides access to the raw SIV interface, where you can pass an empty or fixed set of headers.

@matthew-levan
Copy link
Author

Thanks @tarcieri that works for me. Is there support for 48-byte keys?

@tarcieri
Copy link
Member

Not currently

@matthew-levan
Copy link
Author

Not currently

I used this @tarcieri and it works:

use aes::Aes192;
type Aes192Siv = CmacSiv<Aes192>;

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

No branches or pull requests

2 participants