Searched refs:BignumPointer (Results 1 – 11 of 11) sorted by relevance
/third_party/node/src/crypto/ |
D | crypto_random.h | 50 BignumPointer prime; 51 BignumPointer rem; 52 BignumPointer add; 87 BignumPointer candidate;
|
D | crypto_dh.cc | 145 bool DiffieHellman::Init(BignumPointer&& bn_p, int g) { in Init() 148 BignumPointer bn_g(BN_new()); in Init() 211 BignumPointer InstantiateStandardizedGroup() { in InstantiateStandardizedGroup() 212 return BignumPointer(p(nullptr)); in InstantiateStandardizedGroup() 215 typedef BignumPointer (*StandardizedGroupInstantiator)(); 399 BignumPointer key(BN_bin2bn(key_buf.data(), key_buf.size(), nullptr)); in ComputeSecret() 535 params->params.prime = BignumPointer( in AdditionalConfig() 549 if (BignumPointer* prime_fixed_value = in Setup() 550 std::get_if<BignumPointer>(¶ms->params.prime)) { in Setup() 556 BignumPointer bn_g(BN_new()); in Setup()
|
D | crypto_aes.cc | 182 BignumPointer GetCounter(const AESCipherConfig& params) { in GetCounter() 188 return BignumPointer(BN_bin2bn( in GetCounter() 202 return BignumPointer(BN_bin2bn(counter.data(), counter.size(), nullptr)); in GetCounter() 272 BignumPointer num_counters(BN_new()); in AES_CTR_Cipher() 276 BignumPointer current_counter = GetCounter(params); in AES_CTR_Cipher() 278 BignumPointer num_output(BN_new()); in AES_CTR_Cipher() 288 BignumPointer remaining_until_reset(BN_new()); in AES_CTR_Cipher()
|
D | crypto_dh.h | 23 bool Init(BignumPointer&& bn_p, int g); 66 std::variant<BignumPointer, int> prime;
|
D | crypto_ec.cc | 301 BignumPointer priv(BN_bin2bn( in SetPrivateKey() 373 bool ECDH::IsKeyValidForCurve(const BignumPointer& private_key) { in IsKeyValidForCurve() 381 BignumPointer order(BN_new()); in IsKeyValidForCurve() 774 BignumPointer x(BN_new()); in ExportJWKEcKey() 775 BignumPointer y(BN_new()); in ExportJWKEcKey() 1013 BignumPointer order(BN_new()); in GroupOrderSize()
|
D | crypto_ec.h | 52 bool IsKeyValidForCurve(const BignumPointer& private_key);
|
D | crypto_util.h | 68 using BignumPointer = DeleteFnPtr<BIGNUM, BN_free>; variable 276 BignumPointer ToBN() const { in ToBN() 277 return BignumPointer(BN_bin2bn(data<unsigned char>(), size(), nullptr)); in ToBN()
|
D | crypto_random.cc | 185 BignumPointer(BN_bin2bn( in AdditionalConfig()
|
D | crypto_rsa.cc | 51 BignumPointer bn(BN_new()); in Setup()
|
D | README.md | 85 using BignumPointer = DeleteFnPtr<BIGNUM, BN_free>;
|
D | crypto_common.cc | 513 BignumPointer bn(ASN1_INTEGER_to_BN(serial_number, nullptr)); in GetSerialNumber()
|