Home
last modified time | relevance | path

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

/third_party/node/src/crypto/
Dcrypto_sig.cc140 ECDSASigPointer asn1_sig(d2i_ECDSA_SIG(nullptr, &sig_data, len)); in ValidateDSAParameters() local
141 if (!asn1_sig) in ValidateDSAParameters()
144 const BIGNUM* pr = ECDSA_SIG_get0_r(asn1_sig.get()); in ValidateDSAParameters()
145 const BIGNUM* ps = ECDSA_SIG_get0_s(asn1_sig.get()); in ValidateDSAParameters()
202 ECDSASigPointer asn1_sig(ECDSA_SIG_new()); in ValidateDSAParameters() local
203 CHECK(asn1_sig); in ValidateDSAParameters()
210 CHECK_EQ(1, ECDSA_SIG_set0(asn1_sig.get(), r, s)); in ValidateDSAParameters()
213 int len = i2d_ECDSA_SIG(asn1_sig.get(), &data); in ValidateDSAParameters()