Searched refs:rBuff (Results 1 – 1 of 1) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/rsa/ |
D | rsa_genkey.c | 1069 uint32_t rBuff[PKA_RSA_AUX_PRIME_BUFF_SIZE_IN_32BIT_WORDS] = {0}; in PkaRsaKgFindPrime() local 1102 CC_PalMemCopy( rBuff, rBuff1, auxPrimeSizeInBytes); /*for P*/ in PkaRsaKgFindPrime() 1104 CC_PalMemCopy( rBuff, rBuff3, auxPrimeSizeInBytes); /*for Q*/ in PkaRsaKgFindPrime() 1109 CC_COMMON_INVERSE_UINT32_IN_ARRAY(rBuff, auxPrimeSizeInWords); in PkaRsaKgFindPrime() 1115 …error = RndGenerateVectFunc((void *)rndState_ptr, (unsigned char*)rBuff, (size_t)auxPrimeSizeInByt… in PkaRsaKgFindPrime() 1126 rBuff[auxPrimeSizeInWords-1] &= mask; in PkaRsaKgFindPrime() 1127 rBuff[auxPrimeSizeInWords-1] |= msBit; in PkaRsaKgFindPrime() 1129 rBuff[0] |= 1UL; in PkaRsaKgFindPrime() 1133 CC_CommonReverseMemcpy(primeInt->xPrime1, (uint8_t*)rBuff, auxPrimeSizeInBytes); in PkaRsaKgFindPrime() 1149 CC_PalMemCopy((uint8_t*)P1R_ptr, (uint8_t*)rBuff, auxPrimeSizeInBytes); /*for P*/ //xp1 in PkaRsaKgFindPrime() [all …]
|