2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-01-26 19:09:09 +00:00

Added blocksize for the benefit of HMAC code

This commit is contained in:
Michael Brown 2007-01-30 22:54:43 +00:00
parent 811db204a6
commit 0e996b81cf

View File

@ -237,7 +237,7 @@ static void md5_final(void *context, void *out)
struct crypto_algorithm md5_algorithm = {
.name = "md5",
.ctxsize = sizeof ( struct md5_ctx ),
.blocksize = 1,
.blocksize = ( MD5_BLOCK_WORDS * 4 ),
.digestsize = MD5_DIGEST_SIZE,
.init = md5_init,
.encode = md5_update,