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

salsa20: use stream_cipher::{Key, Nonce} #146

Merged
merged 1 commit into from
Jun 10, 2020

Conversation

tarcieri
Copy link
Member

Introduced in this PR:

RustCrypto/traits#188

These eliminate the need to import GenericArray! 🎉

Introduced in this PR:

RustCrypto/traits#188

These eliminate the need to import `GenericArray`! 🎉
@tarcieri tarcieri force-pushed the salsa20/use-key-and-nonce-aliases branch from b1e56a4 to ff3c47b Compare June 10, 2020 22:45
@tarcieri tarcieri merged commit fe16099 into master Jun 10, 2020
@tarcieri tarcieri deleted the salsa20/use-key-and-nonce-aliases branch June 10, 2020 22:57
tarcieri added a commit that referenced this pull request Jun 10, 2020
Adds the following type aliases (ala #146):

- `Key`: ChaCha(*) key (including XChaCha20)
- `Nonce`: IETF variant's 96-bit nonce
- `XNonce`: EXtended 96-bit nonce for XChaCha20
- `LegacyNonce`: 64-bit nonce for the legacy "djb" variant
tarcieri added a commit that referenced this pull request Jun 10, 2020
Adds the following type aliases (ala #146):

- `Key`: ChaCha(*) key (including XChaCha20)
- `Nonce`: IETF variant's 96-bit nonce
- `XNonce`: EXtended 96-bit nonce for XChaCha20
- `LegacyNonce`: 64-bit nonce for the legacy "djb" variant
@tarcieri tarcieri mentioned this pull request Jun 11, 2020
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.

1 participant