- hmac supports md5
This commit is contained in:
parent
2018a40a22
commit
1484eedb15
|
@ -199,6 +199,7 @@ hmac_t *hmac_create(hash_algorithm_t hash_algorithm)
|
||||||
switch (hash_algorithm)
|
switch (hash_algorithm)
|
||||||
{
|
{
|
||||||
case HASH_SHA1:
|
case HASH_SHA1:
|
||||||
|
case HASH_MD5:
|
||||||
this->b = 64;
|
this->b = 64;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue