mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 18:11:49 +03:00
Added blocksize for the benefit of HMAC code
This commit is contained in:
@@ -237,7 +237,7 @@ static void md5_final(void *context, void *out)
|
|||||||
struct crypto_algorithm md5_algorithm = {
|
struct crypto_algorithm md5_algorithm = {
|
||||||
.name = "md5",
|
.name = "md5",
|
||||||
.ctxsize = sizeof ( struct md5_ctx ),
|
.ctxsize = sizeof ( struct md5_ctx ),
|
||||||
.blocksize = 1,
|
.blocksize = ( MD5_BLOCK_WORDS * 4 ),
|
||||||
.digestsize = MD5_DIGEST_SIZE,
|
.digestsize = MD5_DIGEST_SIZE,
|
||||||
.init = md5_init,
|
.init = md5_init,
|
||||||
.encode = md5_update,
|
.encode = md5_update,
|
||||||
|
|||||||
Reference in New Issue
Block a user