1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 22:12:47 -05:00

Add an implementation of BLAKE2b.

I have no plans to use this directly, but it's a component of Argon2,
which I'm about to add in the next commit.
This commit is contained in:
Simon Tatham
2021-02-13 14:47:26 +00:00
parent 6f025c0b84
commit 5c8f3bf924
7 changed files with 300 additions and 1 deletions

View File

@ -225,6 +225,7 @@ static const ssh_hashalg *get_hashalg(BinarySource *in)
{"sha3_384", &ssh_sha3_384},
{"sha3_512", &ssh_sha3_512},
{"shake256_114bytes", &ssh_shake256_114bytes},
{"blake2b", &ssh_blake2b},
};
ptrlen name = get_word(in);