1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-19 05:15:26 -05:00
Simon Tatham dea3ddca05 Add an extra HMAC constructor function.
This takes a plain ssh_hashalg, and constructs the most natural kind
of HMAC wrapper around it, taking its key length and output length
to be the hash's output length. In other words, it converts SHA-foo
into exactly the thing usually called HMAC-SHA-foo.

It does it by constructing a new ssh2_macalg vtable, and including it
in the same memory allocation as the actual hash object. That's the
first time in PuTTY I've done it this way.

Nothing yet uses this, but a new piece of code is about to.
2024-04-01 08:45:21 +01:00
..
2022-09-03 12:02:48 +01:00
2021-04-21 21:55:26 +01:00
2024-04-01 08:45:21 +01:00
2021-04-21 21:55:26 +01:00
2021-04-21 21:55:26 +01:00
2022-04-15 17:46:06 +01:00
2021-04-21 21:55:26 +01:00
2022-09-03 12:02:48 +01:00
2021-04-21 21:55:26 +01:00