Home
last modified time | relevance | path

Searched refs:HASH_Result_Size (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rsa/
Dcc_rsa_pss21_util.c111 maskedDB_size = PubNNewSizeBytes - Context_ptr->HASH_Result_Size*sizeof(uint32_t) - 1 ; in RsaPssVerify21()
123 … CC_PalMemCopy((uint8_t *)H_Saved_buf, &ED_ptr[maskedDB_size], Context_ptr->HASH_Result_Size*4); in RsaPssVerify21()
129 … Error = RsaOaepMGF1( (uint16_t)(Context_ptr->HASH_Result_Size*sizeof(uint32_t)), /*hashLen*/ in RsaPssVerify21()
131 … (uint16_t)(Context_ptr->HASH_Result_Size*sizeof(uint32_t)),/*seedLen*/ in RsaPssVerify21()
132 … PubNNewSizeBytes - Context_ptr->HASH_Result_Size*sizeof(uint32_t) - 1, /*maskLen*/ in RsaPssVerify21()
177 if (PubNNewSizeBytes < Context_ptr->HASH_Result_Size*sizeof(uint32_t) + 2 + i) { in RsaPssVerify21()
181 …Context_ptr->SaltLen = (uint16_t)(PubNNewSizeBytes - Context_ptr->HASH_Result_Size*sizeof(uint32_t… in RsaPssVerify21()
184 …(Context_ptr->SaltLen != (uint16_t)(PubNNewSizeBytes - Context_ptr->HASH_Result_Size*sizeof(uint32… in RsaPssVerify21()
188 …TempIndex = PubNNewSizeBytes - Context_ptr->HASH_Result_Size*sizeof(uint32_t) - Context_ptr->SaltL… in RsaPssVerify21()
207 …SA_PSS_PAD1_LEN], (uint8_t *)Context_ptr->HASH_Result, Context_ptr->HASH_Result_Size*sizeof(uint32… in RsaPssVerify21()
[all …]
Dcc_rsa_verify.c179 ccmWorkingContext_ptr->HASH_Result_Size = RsaHashInfo_t[rsaHashMode].hashResultSize; in CC_RsaVerifyInit()
235 … ModulusSizeBytes < (uint32_t)(ccmWorkingContext_ptr->HASH_Result_Size*4 + SaltLen + 2)) { in CC_RsaVerifyInit()
361 if (DataInSize != ccmWorkingContext_ptr->HASH_Result_Size*sizeof(uint32_t)) { in CC_RsaVerifyUpdate()
505 ccmWorkingContext_ptr->HASH_Result_Size*sizeof(uint32_t), in CC_RsaVerifyFinish()
Dcc_rsa_sign.c169 ccmWorkingContext_ptr->HASH_Result_Size = RsaHashInfo_t[rsaHashMode].hashResultSize; in CC_RsaSignInit()
226 … if (ModulusSizeBytes < (uint32_t)(ccmWorkingContext_ptr->HASH_Result_Size*4 + SaltLen + 2)) { in CC_RsaSignInit()
352 if (DataInSize != ccmWorkingContext_ptr->HASH_Result_Size*sizeof(uint32_t)) { in CC_RsaSignUpdate()
514 ccmWorkingContext_ptr->HASH_Result_Size*sizeof(uint32_t), in CC_RsaSignFinish()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/
Dcc_rsa_types.h402 uint16_t HASH_Result_Size; member
482 …uint16_t HASH_Result_Size; /* denotes the length, in words, of the hash function … member