diff options
author | Rob Austein <sra@hactrn.net> | 2015-07-09 00:18:10 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-07-09 00:18:10 -0400 |
commit | d78d4072c30a4cb215371f70a8535cfd6a2dbd73 (patch) | |
tree | 872da7c9928c8429a7836d9beb83ecbd826ce40c | |
parent | f09fbb355ff03d52bbf4920f36fda2982246aad4 (diff) |
Might help to spell function name correctly.
-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; |