/external/chromium_org/crypto/ |
ec_signature_creator_openssl.cc | 53 // Create ECDSA_SIG object from DER-encoded data. 55 ScopedOpenSSL<ECDSA_SIG, ECDSA_SIG_free> ecdsa_sig( 57 if (!ecdsa_sig.get()) 66 BIGNUM* r = ecdsa_sig.get()->r; 67 BIGNUM* s = ecdsa_sig.get()->s; 78 BN_bn2bin(ecdsa_sig.get()->r, &result[kMaxBytesPerBN - r_bytes]); 79 BN_bn2bin(ecdsa_sig.get()->s, &result[2 * kMaxBytesPerBN - s_bytes]);
|
/external/chromium_org/third_party/openssl/openssl/crypto/ecdsa/ |
ecs_asn1.c | 60 ASN1_SEQUENCE(ECDSA_SIG) = { 61 ASN1_SIMPLE(ECDSA_SIG, r, CBIGNUM), 62 ASN1_SIMPLE(ECDSA_SIG, s, CBIGNUM) 63 } ASN1_SEQUENCE_END(ECDSA_SIG) 65 DECLARE_ASN1_FUNCTIONS_const(ECDSA_SIG) 66 DECLARE_ASN1_ENCODE_FUNCTIONS_const(ECDSA_SIG, ECDSA_SIG) 67 IMPLEMENT_ASN1_FUNCTIONS_const(ECDSA_SIG)
|
ecdsa.h | 82 } ECDSA_SIG; 84 /** Allocates and initialize a ECDSA_SIG structure 85 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred 87 ECDSA_SIG *ECDSA_SIG_new(void); 89 /** frees a ECDSA_SIG structure 90 * \param sig pointer to the ECDSA_SIG structure 92 void ECDSA_SIG_free(ECDSA_SIG *sig); 94 /** DER encode content of ECDSA_SIG object (note: this function modifies *pp 96 * \param sig pointer to the ECDSA_SIG object 98 * \return the length of the DER encoded ECDSA_SIG object or 0 [all...] |
ecdsatest.c | 189 ECDSA_SIG *signature = NULL; 290 ECDSA_SIG *ecdsa_sig = NULL; local 437 if ((ecdsa_sig = d2i_ECDSA_SIG(NULL, &sig_ptr, sig_len)) == NULL) 444 r_len = BN_num_bytes(ecdsa_sig->r); 445 s_len = BN_num_bytes(ecdsa_sig->s); 457 BN_bn2bin(ecdsa_sig->r, raw_buf + bn_len - r_len); 458 BN_bn2bin(ecdsa_sig->s, raw_buf + buf_len - s_len); 465 if ((BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL) || 466 (BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL) [all...] |
ecs_sign.c | 62 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey) 67 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, 86 ECDSA_SIG *s;
|
ecs_ossl.c | 64 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dlen, 69 const ECDSA_SIG *sig, EC_KEY *eckey); 222 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dgst_len, 230 ECDSA_SIG *ret; 354 const ECDSA_SIG *sig, EC_KEY *eckey)
|
ecs_locl.h | 71 ECDSA_SIG *(*ecdsa_do_sign)(const unsigned char *dgst, int dgst_len, 76 const ECDSA_SIG *sig, EC_KEY *eckey);
|
ecs_vrf.c | 70 const ECDSA_SIG *sig, EC_KEY *eckey) 86 ECDSA_SIG *s;
|
/external/openssl/crypto/ecdsa/ |
ecs_asn1.c | 60 ASN1_SEQUENCE(ECDSA_SIG) = { 61 ASN1_SIMPLE(ECDSA_SIG, r, CBIGNUM), 62 ASN1_SIMPLE(ECDSA_SIG, s, CBIGNUM) 63 } ASN1_SEQUENCE_END(ECDSA_SIG) 65 DECLARE_ASN1_FUNCTIONS_const(ECDSA_SIG) 66 DECLARE_ASN1_ENCODE_FUNCTIONS_const(ECDSA_SIG, ECDSA_SIG) 67 IMPLEMENT_ASN1_FUNCTIONS_const(ECDSA_SIG)
|
ecdsa.h | 82 } ECDSA_SIG; 84 /** Allocates and initialize a ECDSA_SIG structure 85 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred 87 ECDSA_SIG *ECDSA_SIG_new(void); 89 /** frees a ECDSA_SIG structure 90 * \param sig pointer to the ECDSA_SIG structure 92 void ECDSA_SIG_free(ECDSA_SIG *sig); 94 /** DER encode content of ECDSA_SIG object (note: this function modifies *pp 96 * \param sig pointer to the ECDSA_SIG object 98 * \return the length of the DER encoded ECDSA_SIG object or 0 [all...] |
ecdsatest.c | 189 ECDSA_SIG *signature = NULL; 290 ECDSA_SIG *ecdsa_sig = NULL; local 437 if ((ecdsa_sig = d2i_ECDSA_SIG(NULL, &sig_ptr, sig_len)) == NULL) 444 r_len = BN_num_bytes(ecdsa_sig->r); 445 s_len = BN_num_bytes(ecdsa_sig->s); 457 BN_bn2bin(ecdsa_sig->r, raw_buf + bn_len - r_len); 458 BN_bn2bin(ecdsa_sig->s, raw_buf + buf_len - s_len); 465 if ((BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL) || 466 (BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL) [all...] |
ecs_sign.c | 62 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey) 67 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dlen, 86 ECDSA_SIG *s;
|
ecs_ossl.c | 64 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dlen, 69 const ECDSA_SIG *sig, EC_KEY *eckey); 222 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dgst_len, 230 ECDSA_SIG *ret; 354 const ECDSA_SIG *sig, EC_KEY *eckey)
|
ecs_locl.h | 71 ECDSA_SIG *(*ecdsa_do_sign)(const unsigned char *dgst, int dgst_len, 76 const ECDSA_SIG *sig, EC_KEY *eckey);
|
ecs_vrf.c | 70 const ECDSA_SIG *sig, EC_KEY *eckey) 86 ECDSA_SIG *s;
|
/system/security/keystore-engine/ |
ecdsa_meth.cpp | 48 void operator()(ECDSA_SIG* p) const { 52 typedef UniquePtr<ECDSA_SIG, struct ECDSA_SIG_Delete> Unique_ECDSA_SIG; 54 static ECDSA_SIG* keystore_ecdsa_do_sign(const unsigned char *dgst, int dlen, 94 Unique_ECDSA_SIG ecdsa_sig(d2i_ECDSA_SIG(NULL, 97 if (ecdsa_sig.get() == NULL) { 98 ALOGW("conversion from DER to ECDSA_SIG failed"); 103 ecdsa_sig.get(), replyLen); 104 return ecdsa_sig.release();
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
ecdsa.h | 82 } ECDSA_SIG; 84 /** Allocates and initialize a ECDSA_SIG structure 85 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred 87 ECDSA_SIG *ECDSA_SIG_new(void); 89 /** frees a ECDSA_SIG structure 90 * \param sig pointer to the ECDSA_SIG structure 92 void ECDSA_SIG_free(ECDSA_SIG *sig); 94 /** DER encode content of ECDSA_SIG object (note: this function modifies *pp 96 * \param sig pointer to the ECDSA_SIG object 98 * \return the length of the DER encoded ECDSA_SIG object or 0 [all...] |
/external/openssl/include/openssl/ |
ecdsa.h | 82 } ECDSA_SIG; 84 /** Allocates and initialize a ECDSA_SIG structure 85 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred 87 ECDSA_SIG *ECDSA_SIG_new(void); 89 /** frees a ECDSA_SIG structure 90 * \param sig pointer to the ECDSA_SIG structure 92 void ECDSA_SIG_free(ECDSA_SIG *sig); 94 /** DER encode content of ECDSA_SIG object (note: this function modifies *pp 96 * \param sig pointer to the ECDSA_SIG object 98 * \return the length of the DER encoded ECDSA_SIG object or 0 [all...] |
/external/chromium_org/net/quic/crypto/ |
channel_id_openssl.cc | 45 ECDSA_SIG sig;
|
/external/openssh/ |
ssh-ecdsa.c | 50 ECDSA_SIG *sig; 99 ECDSA_SIG *sig;
|
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils_openssl.cc | 78 crypto::ScopedOpenSSL<ECDSA_SIG, ECDSA_SIG_free> sig(
|
/external/chromium_org/net/android/ |
keystore_openssl.cc | 542 ECDSA_SIG* EcdsaMethodDoSign(const unsigned char* dgst, 575 // Convert signature to ECDSA_SIG object 593 const ECDSA_SIG* sig,
|
/external/chromium_org/third_party/openssl/openssl/patches/ |
channelid.patch | 101 + ECDSA_SIG *sig = NULL; 418 + ECDSA_SIG sig; [all...] |
/external/openssl/patches/ |
channelid.patch | 101 + ECDSA_SIG *sig = NULL; 418 + ECDSA_SIG sig; [all...] |
/external/chromium_org/third_party/openssl/openssl/ssl/ |
s3_clnt.c | [all...] |