- hmac supports md5
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user