Skip to content

Conversation

@str4d
Copy link
Contributor

@str4d str4d commented Apr 11, 2019

Closes #75.

@str4d
Copy link
Contributor Author

str4d commented Apr 11, 2019

This PR is ported from cesarb/blake2-rfc#9

@burdges
Copy link

burdges commented Apr 11, 2019

I'd think the byteorder crate is kinda deprecated by std::u32/u64::to_le_bytes/from_le_bytes, etc. now.

@str4d
Copy link
Contributor Author

str4d commented Apr 11, 2019

Neat, I hadn't spotted those! However, using them would raise the minimum-supported Rust version to 1.32, while it is currently 1.21.

@str4d
Copy link
Contributor Author

str4d commented Apr 30, 2019

@newpavlov do you have any feedback on this PR? Based on #75 (comment) I assumed that you'd be happy with a direct port of the blake2-rfc PR.

@str4d
Copy link
Contributor Author

str4d commented Jun 4, 2019

To anyone else looking for personalisation, the blake2b_simd and blake2s_simd crates have personalisation APIs. They also mandate the use of SIMD when available however, so I think it's still valuable to have this PR merged for those projects that don't want a SIMD dependency.

@tarcieri
Copy link
Member

@str4d still interested in this, and if so, mind rebasing?

@str4d
Copy link
Contributor Author

str4d commented May 24, 2020

Rebased on current master.

@tarcieri tarcieri merged commit 41b7437 into RustCrypto:master May 25, 2020
@tarcieri tarcieri mentioned this pull request Jun 10, 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.

Add support for Persona and Salt to Blake2

4 participants