Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_rsa_keypair.c109 int8_t *NP_ptr) in CC_CommonRsaCalculateNp() argument
115 if ((NULL == N_ptr) || (NULL == NP_ptr)) { in CC_CommonRsaCalculateNp()
143 if (CC_CommonRSACalculateNpInt(bn_n, NP_ptr, NP_HEX) != 0) { in CC_CommonRsaCalculateNp()
169 uint8_t *NP_ptr, in CC_CommonRSACalculateNpInt() argument
184 if ((NULL == n) || (NULL == NP_ptr)) { in CC_CommonRSACalculateNpInt()
221 memset (NP_ptr, 0, NP_SIZE_IN_BYTES); in CC_CommonRSACalculateNpInt()
222 memcpy ((uint8_t *)(NP_ptr + (NP_SIZE_IN_BYTES - len)), (int8_t *)NP_res, len); in CC_CommonRSACalculateNpInt()
237 memset (NP_ptr, 0, (NP_SIZE_IN_BYTES * 2 + 2)); in CC_CommonRSACalculateNpInt()
238 memcpy ((int8_t *)(NP_ptr + (NP_SIZE_IN_BYTES * 2 + 2 - len)), (int8_t *)NP_res, len); in CC_CommonRSACalculateNpInt()
Dcommon_rsa_keypair.h71 int8_t *NP_ptr);
83 uint8_t *NP_ptr,