Home
last modified time | relevance | path

Searched refs:gNp (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.c30 uint8_t gNp[NP_SIZE_IN_BYTES] = {0}; variable
153 if (CC_CommonRSACalculateNpInt(rsa_pkey->n, gNp, NP_BIN)) { in CC_CommonGetNAndNpFromKeyPair()
160 memcpy(pNandNpBuff->pNpBuff, gNp, NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromKeyPair()
163 UTIL_LOG_BYTE_BUFF("gNp", gNp, NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromKeyPair()
217 if (CC_CommonRSACalculateNpInt(rsa_pkey->n, gNp, NP_BIN) != 0) { in CC_CommonGetNAndNpFromPubKey()
224 memcpy(pNandNpBuff->pNpBuff, gNp, NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromPubKey()
227 UTIL_LOG_BYTE_BUFF("gNp", gNp, NP_SIZE_IN_BYTES); in CC_CommonGetNAndNpFromPubKey()
264 if (CC_CommonRSACalculateNpInt(bn_n, gNp, NP_BIN) != 0) { in CC_CommonCalcHBKFromBuff()
268 UTIL_LOG_BYTE_BUFF("gNp", gNp, NP_SIZE_IN_BYTES); in CC_CommonCalcHBKFromBuff()
271 memcpy(gNAndNp.pNpBuff, gNp, NP_SIZE_IN_BYTES); in CC_CommonCalcHBKFromBuff()
[all …]