Searched refs:hash_mode (Results 1 – 4 of 4) sorted by relevance
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
| D | cc3xx_internal_hash_util.c | 32 void *hash_mode) in cc3xx_psa_hash_mode_to_cc_hash_mode() argument 45 *(CCRsaHashOpMode_t *)hash_mode = CC_RSA_HASH_NO_HASH_mode; in cc3xx_psa_hash_mode_to_cc_hash_mode() 69 *(CCEcpkiHashOpMode_t *)hash_mode = in cc3xx_psa_hash_mode_to_cc_hash_mode() 73 *(CCRsaHashOpMode_t *)hash_mode = in cc3xx_psa_hash_mode_to_cc_hash_mode() 82 *(CCEcpkiHashOpMode_t *)hash_mode = in cc3xx_psa_hash_mode_to_cc_hash_mode() 86 *(CCRsaHashOpMode_t *)hash_mode = performHashing in cc3xx_psa_hash_mode_to_cc_hash_mode() 96 *(CCEcpkiHashOpMode_t *)hash_mode = in cc3xx_psa_hash_mode_to_cc_hash_mode() 100 *(CCRsaHashOpMode_t *)hash_mode = performHashing in cc3xx_psa_hash_mode_to_cc_hash_mode() 115 *(CCEcpkiHashOpMode_t *)hash_mode = CC_ECPKI_HASH_OpModeLast; in cc3xx_psa_hash_mode_to_cc_hash_mode() 117 *(CCRsaHashOpMode_t *)hash_mode = CC_RSA_HASH_OpModeLast; in cc3xx_psa_hash_mode_to_cc_hash_mode()
|
| D | cc3xx_psa_asymmetric_signature.c | 68 CCEcpkiHashOpMode_t hash_mode = CC_ECPKI_HASH_OpModeLast; in cc3xx_internal_ecdsa_verify() local 81 err = cc3xx_psa_hash_mode_to_cc_hash_mode(alg, do_hashing, &hash_mode); in cc3xx_internal_ecdsa_verify() 124 cc_err = CC_EcdsaVerify(&pVerifyUserContext, &pUserPublKey, hash_mode, in cc3xx_internal_ecdsa_verify() 155 CCEcpkiHashOpMode_t hash_mode = CC_ECPKI_HASH_OpModeLast; in cc3xx_internal_ecdsa_sign() local 158 err = cc3xx_psa_hash_mode_to_cc_hash_mode(alg, do_hashing, &hash_mode); in cc3xx_internal_ecdsa_sign() 235 CC_EcdsaSign(&rnd_ctx, &pSignUserContext, &pUserPrivKey, hash_mode, in cc3xx_internal_ecdsa_sign() 265 CCRsaHashOpMode_t hash_mode = CC_RSA_HASH_OpModeLast; in cc3xx_internal_rsa_verify() local 267 err = cc3xx_psa_hash_mode_to_cc_hash_mode(alg, do_hashing, &hash_mode); in cc3xx_internal_rsa_verify() 301 cc_err = CC_RsaPkcs1V15Verify(pPubUserContext, pUserPubKey, hash_mode, in cc3xx_internal_rsa_verify() 305 cc_err = CC_RsaPssVerify(pPubUserContext, pUserPubKey, hash_mode, in cc3xx_internal_rsa_verify() [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
| D | ecdsa_alt.c | 65 CCEcpkiHashOpMode_t hash_mode; in message_size_to_hash_mode() local 71 hash_mode = CC_ECPKI_AFTER_HASH_SHA1_mode; in message_size_to_hash_mode() 74 hash_mode = CC_ECPKI_AFTER_HASH_SHA224_mode; in message_size_to_hash_mode() 77 hash_mode = CC_ECPKI_AFTER_HASH_SHA256_mode; in message_size_to_hash_mode() 80 hash_mode = CC_ECPKI_AFTER_HASH_SHA384_mode; in message_size_to_hash_mode() 83 hash_mode = CC_ECPKI_AFTER_HASH_SHA512_mode; in message_size_to_hash_mode() 86 … hash_mode = CC_ECPKI_AFTER_HASH_SHA512_mode;//use default value, to avoid checking the hash in message_size_to_hash_mode() 89 return hash_mode; in message_size_to_hash_mode() 107 CCEcpkiHashOpMode_t hash_mode; in ecdsa_wrst_sign() local 142 hash_mode = message_size_to_hash_mode( blen ); in ecdsa_wrst_sign() [all …]
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
| D | cc3xx_internal_hash_util.h | 41 void *hash_mode);
|