We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bfd3f7a + f7f4e84 commit d8d3e2dCopy full SHA for d8d3e2d
1 file changed
src/crypto.c
@@ -6411,7 +6411,6 @@ CK_RV C_GenerateKey(CK_SESSION_HANDLE hSession,
6411
case CKP_PKCS5_PBKD2_HMAC_SHA512:
6412
hashType = WC_SHA512;
6413
break;
6414
-#endif
6415
#ifndef WOLFSSL_NOSHA512_224
6416
case CKP_PKCS5_PBKD2_HMAC_SHA512_224:
6417
hashType = WC_SHA512_224;
@@ -6421,6 +6420,7 @@ CK_RV C_GenerateKey(CK_SESSION_HANDLE hSession,
6421
6420
case CKP_PKCS5_PBKD2_HMAC_SHA512_256:
6422
hashType = WC_SHA512_256;
6423
+#endif
6424
#endif
6425
default:
6426
return CKR_MECHANISM_PARAM_INVALID;
0 commit comments