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

feat(aes-gcm-siv): re-export aes crate #603

Merged
merged 1 commit into from
May 3, 2024

Conversation

gstand
Copy link
Contributor

@gstand gstand commented May 3, 2024

added to ensure consistency with it's sister aes-gcm crate, which also re-exports aes (aes-gcm/src/lib.rs:114).

finds specific use in defining a Key generic for example; it takes a KeySizeUser which are a majority Aes* structs from aes, such as: Key<Aes256>.

this change allows the consumer to just reference the re-export as opposed to pulling in the entire aes crate to their own crate. i was pivoting from aes-gcm to aes-gcm-siv myself when i came across this and took it upon myself to smooth out the discrepancy.

added to ensure consistency with it's sister `aes-gcm` crate, which also re-exports `aes` (aes-gcm/src/lib.rs:114).

finds specific use in defining a `Key` generic for example; it takes a `KeySizeUser` which are a majority `Aes*` structs from `aes`.
@tarcieri tarcieri merged commit f4e3924 into RustCrypto:master May 3, 2024
12 checks passed
@tarcieri
Copy link
Member

tarcieri commented May 3, 2024

Thanks

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.

2 participants