Searched refs:modulusBuffer (Results 1 – 1 of 1) sorted by relevance
| /developtools/hdc/src/common/ |
| D | auth.cpp | 327 uint8_t modulusBuffer[pubKeyModulusSize]; in RSAPublicKey2RSA() local 335 …if (memcpy_s(modulusBuffer, sizeof(modulusBuffer), keyStruct->modulus, sizeof(modulusBuffer)) != E… in RSAPublicKey2RSA() 338 Base::ReverseBytes(modulusBuffer, sizeof(modulusBuffer)); in RSAPublicKey2RSA() 342 newKey->n = BN_bin2bn(modulusBuffer, sizeof(modulusBuffer), nullptr); in RSAPublicKey2RSA() 350 …RSA_set0_key(newKey, BN_bin2bn(modulusBuffer, sizeof(modulusBuffer), nullptr), BN_new(), BN_new()); in RSAPublicKey2RSA() 352 newKey->n = BN_bin2bn(modulusBuffer, sizeof(modulusBuffer), nullptr); in RSAPublicKey2RSA()
|