Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/dh/
Dcc_dh.c100 size_t *ClientPrvKeySize_ptr, /*in/out*/ in CC_DhGeneratePubPrv() argument
140 ClientPrvKeySize_ptr == NULL || ClientPubSize_ptr == NULL || in CC_DhGeneratePubPrv()
158 if (*ClientPrvKeySize_ptr < PrimeSize) in CC_DhGeneratePubPrv()
215 if (*ClientPrvKeySize_ptr < PrimeSize) { in CC_DhGeneratePubPrv()
232 *ClientPrvKeySize_ptr = PrimeSize; in CC_DhGeneratePubPrv()
240 if ((*ClientPrvKeySize_ptr)*8 < L) { in CC_DhGeneratePubPrv()
246 *ClientPrvKeySize_ptr = CALC_FULL_BYTES(L); in CC_DhGeneratePubPrv()
247 if (*ClientPrvKeySize_ptr > CC_DH_MAX_MOD_SIZE_IN_BYTES) { in CC_DhGeneratePubPrv()
260 … ((uint8_t*)tmpPrimeData_ptr->DataIn)[*ClientPrvKeySize_ptr - 1] &= mask; in CC_DhGeneratePubPrv()
272 … ((uint8_t*)tmpPrimeData_ptr->DataIn)[*ClientPrvKeySize_ptr - 1] |= mask1; in CC_DhGeneratePubPrv()
[all …]