Skip to content

[WIP] cipher/universal-hash: generic buffer traits#528

Closed
tarcieri wants to merge 1 commit intomasterfrom
buffer-traits
Closed

[WIP] cipher/universal-hash: generic buffer traits#528
tarcieri wants to merge 1 commit intomasterfrom
buffer-traits

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Feb 5, 2021

Adds traits which are generic around a buffer type, allowing more precise control of inputs to encryption and universal hash algorithms.

Potentially resolves #159 and #444.

Adds traits which are generic around a buffer type, allowing more
precise control of inputs to encryption and universal hash algorithms.

Potentially resolves #159 and #444.
@tarcieri
Copy link
Member Author

tarcieri commented Feb 6, 2021

This is a more minimalist take on what I was trying to do in RustCrypto/utils#221

The trait names are perhaps a little bit confusing, but I'd like to explore the general API shape as a possible way of preventing needless stores/loads when shuffling data between block ciphers, stream ciphers, and universal hash functions.

@tarcieri tarcieri closed this Sep 15, 2021
@tarcieri tarcieri deleted the buffer-traits branch September 15, 2021 12:26
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.

cipher: Block alignment

1 participant