Frank Denis
cb44f27104
std/crypto/hmac: remove HmacBlake2s256 definition
...
HMAC is a generic construction, so we allow it to be instantiated
with any hash function.
In practice, HMAC is almost exclusively used with MD5, SHA1 and SHA2,
so it makes sense to define some shortcuts for them.
However, defining `HmacBlake2s256` is a bit weird (and why
specifically that one, and not other hash functions we also support?).
There would be nothing wrong with that construction, but it's not
used in any standard protocol and would be a curious choice.
BLAKE2 being a keyed hash function, it doesn't need HMAC to be used as
a MAC, so that also doesn't make it a good example of a possible hash
function for HMAC.
This commit doesn't remove the ability to use a Hmac(Blake2s256) type
if, for some reason, applications really need this, but it removes
HmacBlake2s256 as a constant.
2020-10-15 20:50:34 -04:00
..
2020-08-20 16:07:04 -04:00
2020-10-15 20:34:22 -04:00
2020-10-08 22:45:39 -07:00
2020-09-11 20:02:41 -04:00
2020-10-15 20:50:34 -04:00
2020-09-03 18:10:40 +03:00
2020-10-14 21:49:45 -04:00
2020-09-05 13:58:02 +03:00
2020-10-12 20:08:23 -07:00
2020-09-14 16:43:49 +03:00
2020-09-25 10:58:07 +02:00
2020-09-07 06:23:27 -06:00
2020-08-20 16:07:04 -04:00
2020-10-09 22:16:48 -04:00
2020-09-29 12:06:35 -07:00
2020-10-01 15:01:25 -06:00
2020-08-20 16:07:04 -04:00
2020-10-15 20:49:54 -04:00
2020-08-20 16:07:04 -04:00
2020-10-13 20:06:03 +02:00
2020-08-21 14:50:37 -07:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-10-15 16:44:16 -07:00
2020-09-25 20:50:40 -07:00
2020-08-20 16:07:04 -04:00
2020-09-29 19:49:13 +02:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-10-11 19:16:07 -05:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-09-02 00:17:50 +02:00
2020-10-15 20:34:22 -04:00
2020-10-07 16:58:50 -04:00
2020-10-12 18:56:25 -04:00
2020-10-15 19:30:21 -04:00
2020-09-04 05:15:03 +03:00
2020-09-11 20:02:41 -04:00
2020-08-20 16:07:04 -04:00
2020-10-15 20:34:22 -04:00
2020-08-20 16:07:04 -04:00
2020-10-12 18:56:25 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-10-12 18:56:25 -04:00
2020-09-15 18:14:06 +03:00
2020-10-07 04:34:09 -04:00
2020-09-27 05:46:39 -04:00
2020-10-14 01:03:01 -04:00
2020-10-12 18:56:25 -04:00
2020-09-09 00:33:14 -04:00
2020-08-22 02:47:50 -04:00
2020-09-25 10:58:07 +02:00
2020-08-31 23:39:50 +10:00
2020-09-07 06:23:27 -06:00
2020-08-22 02:47:39 -04:00
2020-09-26 21:03:38 -07:00
2020-10-04 15:31:47 +02:00
2020-10-15 20:34:22 -04:00
2020-09-03 18:10:40 +03:00
2020-10-15 20:34:22 -04:00
2020-08-20 16:07:04 -04:00
2020-09-24 22:06:41 +02:00
2020-08-20 16:07:04 -04:00
2020-10-12 18:56:25 -04:00
2020-10-12 18:56:25 -04:00
2020-09-04 22:49:14 +03:00
2020-09-10 12:00:53 +03:00
2020-10-12 18:56:25 -04:00
2020-09-03 18:07:30 -04:00
2020-10-15 20:34:22 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-09-18 01:58:16 -07:00
2020-10-15 20:34:22 -04:00
2020-10-15 20:34:22 -04:00
2020-10-15 20:34:22 -04:00
2020-09-03 18:10:40 +03:00
2020-10-14 21:49:45 -04:00
2020-08-20 16:07:04 -04:00
2020-08-20 16:07:04 -04:00
2020-10-15 20:34:22 -04:00