aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkcs11.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkcs11.c b/pkcs11.c
index 1d50ddc..9997768 100644
--- a/pkcs11.c
+++ b/pkcs11.c
@@ -3429,28 +3429,28 @@ CK_RV C_GetMechanismInfo(CK_SLOT_ID slotID,
case CKM_SHA_1:
case CKM_SHA1_RSA_PKCS:
case CKM_SHA_1_HMAC:
- if (hal_has_core_present(hal_hash_sha1) != HAL_OK)
+ if (hal_hash_core_present(hal_hash_sha1) != HAL_OK)
return CKR_MECHANISM_INVALID;
break;
case CKM_SHA256:
case CKM_SHA256_RSA_PKCS:
case CKM_SHA256_HMAC:
- if (hal_has_core_present(hal_hash_sha256) != HAL_OK)
+ if (hal_hash_core_present(hal_hash_sha256) != HAL_OK)
return CKR_MECHANISM_INVALID;
break;
case CKM_SHA384:
case CKM_SHA384_RSA_PKCS:
case CKM_SHA384_HMAC:
- if (hal_has_core_present(hal_hash_sha384) != HAL_OK)
+ if (hal_hash_core_present(hal_hash_sha384) != HAL_OK)
return CKR_MECHANISM_INVALID;
break;
case CKM_SHA512:
case CKM_SHA512_RSA_PKCS:
case CKM_SHA512_HMAC:
- if (hal_has_core_present(hal_hash_sha512) != HAL_OK)
+ if (hal_hash_core_present(hal_hash_sha512) != HAL_OK)
return CKR_MECHANISM_INVALID;
break;