Home
last modified time | relevance | path

Searched refs:ecpki_hash_info (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ec_wrst/
Dcc_ecdsa_verify.c31 extern const CCEcpkiHash_t ecpki_hash_info[CC_ECPKI_HASH_NumOfModes];
125 … pWorkingContext->hashResultSizeWords = ecpki_hash_info[pWorkingContext->hashMode].hashResultSize; in EcdsaVerifyInit()
127 if (ecpki_hash_info[pWorkingContext->hashMode].hashMode < CC_HASH_NumOfModes) { in EcdsaVerifyInit()
129 …md_info = mbedtls_md_info_from_string( HashAlgMode2mbedtlsString[ecpki_hash_info[pWorkingContext->… in EcdsaVerifyInit()
141 …err = CC_HashInit(&(pWorkingContext->hashUserCtxBuff), ecpki_hash_info[pWorkingContext->hashMode].… in EcdsaVerifyInit()
242 if (ecpki_hash_info[pWorkingContext->hashMode].hashMode < CC_HASH_NumOfModes) { in EcdsaVerifyUpdate()
253 … if (dataInSize != ecpki_hash_info[pWorkingContext->hashMode].hashResultSize*CC_32BIT_WORD_SIZE) { in EcdsaVerifyUpdate()
Dcc_ecdsa_sign.c39 extern const CCEcpkiHash_t ecpki_hash_info[CC_ECPKI_HASH_NumOfModes];
137 … pWorkingContext->hashResultSizeWords = ecpki_hash_info[pWorkingContext->hashMode].hashResultSize; in EcdsaSignInit()
139 if (ecpki_hash_info[pWorkingContext->hashMode].hashMode < CC_HASH_NumOfModes) { in EcdsaSignInit()
141 …md_info = mbedtls_md_info_from_string( HashAlgMode2mbedtlsString[ecpki_hash_info[pWorkingContext->… in EcdsaSignInit()
154 ecpki_hash_info[pWorkingContext->hashMode].hashMode); in EcdsaSignInit()
256 if (ecpki_hash_info[pWorkingContext->hashMode].hashMode < CC_HASH_NumOfModes) { in EcdsaSignUpdate()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/src/proj/cc3x/
Dcc_ecpki_info.c22 const CCEcpkiHash_t ecpki_hash_info[CC_ECPKI_HASH_NumOfModes] = { variable