diff options
-rw-r--r-- | pkcs11.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; |