Skip to content

Commit f3c3687

Browse files
committed
wc_hash2sz: fix SHA-224 size to 28
1 parent cf9f852 commit f3c3687

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
@@ -2633,7 +2633,7 @@ int wc_hash2sz(int hType)
26332633
case WC_HASH_TYPE_SHA:
26342634
return 20;
26352635
case WC_HASH_TYPE_SHA224:
2636-
return 24;
2636+
return 28;
26372637
case WC_HASH_TYPE_SHA256:
26382638
return 32;
26392639
case WC_HASH_TYPE_SHA384:

0 commit comments

Comments
 (0)