Home
last modified time | relevance | path

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

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/secure_boot_debug/crypto_driver/
Drsa_verify.c35 … uint8_t *pEncodedMsg, /* [in] Pointer to PSS encoded message (EM). Size = modulus size. */ in RSA_PSS_Decode() argument
58 if(mHash == NULL || pEncodedMsg == NULL || pVerifyStat == NULL) { in RSA_PSS_Decode()
72 if (pEncodedMsg[SB_CERT_RSA_KEY_SIZE_IN_BYTES - 1] != 0xbc) { in RSA_PSS_Decode()
79 if (pEncodedMsg[0] & 0x80) { in RSA_PSS_Decode()
93 UTIL_MemCopy((uint8_t*)tmpBuff, &pEncodedMsg[MASKED_DB_SIZE], HASH_RESULT_SIZE_IN_BYTES); in RSA_PSS_Decode()
113 pDbMask[i] ^= pEncodedMsg[i]; in RSA_PSS_Decode()
132 UTIL_MemSet(pEncodedMsg, 0x00, RSA_PSS_PAD1_LEN); /* PS zero padding */ in RSA_PSS_Decode()
134 UTIL_MemCopy(&pEncodedMsg[RSA_PSS_PAD1_LEN], (uint8_t*)mHash, HASH_RESULT_SIZE_IN_BYTES); in RSA_PSS_Decode()
135 UTIL_MemCopy(&pEncodedMsg[RSA_PSS_PAD1_LEN + HASH_RESULT_SIZE_IN_BYTES], in RSA_PSS_Decode()
140 CONVERT_TO_ADDR(pEncodedMsg), in RSA_PSS_Decode()