Skip to content

Commit 8d2581a

Browse files
committed
wc_hash2sz: fix SHA-224 size to 28
1 parent d2e3fd0 commit 8d2581a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/wc_pkcs11.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2636,7 +2636,7 @@ int wc_hash2sz(int hType)
26362636
case WC_HASH_TYPE_SHA:
26372637
return 20;
26382638
case WC_HASH_TYPE_SHA224:
2639-
return 24;
2639+
return 28;
26402640
case WC_HASH_TYPE_SHA256:
26412641
return 32;
26422642
case WC_HASH_TYPE_SHA384:

0 commit comments

Comments
 (0)