hash: implement SHA-{224,256}
Add the HMAC and Wycheproof bits for HMAC while at it.
This commit is contained in:
parent
0605d10bb3
commit
1a8f813442
11 changed files with 521 additions and 3 deletions
|
@ -79,6 +79,8 @@ kw2impl(const char *s)
|
|||
{
|
||||
/* Needs to be sorted. */
|
||||
static const struct kwimpl tbl[] = {
|
||||
{ "HMACSHA224", &lc_auth_impl_hmac_sha224 },
|
||||
{ "HMACSHA256", &lc_auth_impl_hmac_sha256 },
|
||||
{ "HMACSHA384", &lc_auth_impl_hmac_sha384 },
|
||||
{ "HMACSHA512", &lc_auth_impl_hmac_sha512 },
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue