Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_rsa_keypair_util.c31 DxRsaKeyNandNp_t gNAndNp = {0}; variable
254 memcpy((uint8_t *)&gNAndNp, pNBuff, RSA_OAEP_KEY_SIZE_IN_BYTES); in CC_CommonCalcHBKFromBuff()
255 UTIL_LOG_BYTE_BUFF("gN", (uint8_t *)&gNAndNp, SB_CERT_RSA_KEY_SIZE_IN_BYTES); in CC_CommonCalcHBKFromBuff()
271 memcpy(gNAndNp.pNpBuff, gNp, NP_SIZE_IN_BYTES); in CC_CommonCalcHBKFromBuff()
275 if (CC_CommonCalcHash((uint8_t *)&gNAndNp, sizeof(gNAndNp), pHash, hashSize) != 0) { in CC_CommonCalcHBKFromBuff()
328 memcpy(gNAndNp.pNBuff, gN, SB_CERT_RSA_KEY_SIZE_IN_BYTES); in CC_CommonCalcHBKFromFile()
329 memcpy(gNAndNp.pNpBuff, gNp, NP_SIZE_IN_BYTES); in CC_CommonCalcHBKFromFile()
333 …if (CC_CommonCalcHash((uint8_t *)&gNAndNp, SB_CERT_RSA_KEY_SIZE_IN_BYTES+NP_SIZE_IN_BYTES, pHash, … in CC_CommonCalcHBKFromFile()