/external/boringssl/src/include/openssl/ |
D | ec_key.h | 89 OPENSSL_EXPORT EC_KEY *EC_KEY_new(void); 93 OPENSSL_EXPORT EC_KEY *EC_KEY_new_method(const ENGINE *engine); 97 OPENSSL_EXPORT EC_KEY *EC_KEY_new_by_curve_name(int nid); 100 OPENSSL_EXPORT void EC_KEY_free(EC_KEY *key); 103 OPENSSL_EXPORT EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src); 106 OPENSSL_EXPORT EC_KEY *EC_KEY_dup(const EC_KEY *src); 110 OPENSSL_EXPORT int EC_KEY_up_ref(EC_KEY *key); 114 OPENSSL_EXPORT int EC_KEY_is_opaque(const EC_KEY *key); 117 OPENSSL_EXPORT const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); 121 OPENSSL_EXPORT int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); [all …]
|
D | ecdsa.h | 78 unsigned int *sig_len, EC_KEY *key); 86 size_t sig_len, EC_KEY *key); 90 OPENSSL_EXPORT size_t ECDSA_size(const EC_KEY *key); 112 size_t digest_len, EC_KEY *key); 118 const ECDSA_SIG *sig, EC_KEY *key); 131 OPENSSL_EXPORT int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, 139 EC_KEY *eckey); 146 const BIGNUM *rp, EC_KEY *eckey);
|
D | evp.h | 161 OPENSSL_EXPORT int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key); 162 OPENSSL_EXPORT int EVP_PKEY_assign_EC_KEY(EVP_PKEY *pkey, EC_KEY *key); 163 OPENSSL_EXPORT EC_KEY *EVP_PKEY_get0_EC_KEY(EVP_PKEY *pkey); 164 OPENSSL_EXPORT EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); 690 EC_KEY *ec;
|
D | x509.h | 658 OPENSSL_EXPORT EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey); 659 OPENSSL_EXPORT int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey); 660 OPENSSL_EXPORT EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey); 661 OPENSSL_EXPORT int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey); 692 OPENSSL_EXPORT EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey); 693 OPENSSL_EXPORT int i2d_EC_PUBKEY_bio(BIO *bp, EC_KEY *eckey); 694 OPENSSL_EXPORT EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey); 695 OPENSSL_EXPORT int i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey); 757 OPENSSL_EXPORT int i2d_EC_PUBKEY(const EC_KEY *a, unsigned char **pp); 758 OPENSSL_EXPORT EC_KEY *d2i_EC_PUBKEY(EC_KEY **a, const unsigned char **pp,
|
D | ecdh.h | 89 const EC_POINT *pub_key, EC_KEY *priv_key,
|
D | base.h | 207 typedef struct ec_key_st EC_KEY; typedef
|
D | pem.h | 455 DECLARE_PEM_rw_cb(ECPrivateKey, EC_KEY) 456 DECLARE_PEM_rw(EC_PUBKEY, EC_KEY)
|
/external/boringssl/src/crypto/ec/ |
D | ec_key.c | 85 EC_KEY *EC_KEY_new(void) { return EC_KEY_new_method(NULL); } in EC_KEY_new() 87 EC_KEY *EC_KEY_new_method(const ENGINE *engine) { in EC_KEY_new_method() 88 EC_KEY *ret = (EC_KEY *)OPENSSL_malloc(sizeof(EC_KEY)); in EC_KEY_new_method() 94 memset(ret, 0, sizeof(EC_KEY)); in EC_KEY_new_method() 121 EC_KEY *EC_KEY_new_by_curve_name(int nid) { in EC_KEY_new_by_curve_name() 122 EC_KEY *ret = EC_KEY_new(); in EC_KEY_new_by_curve_name() 135 void EC_KEY_free(EC_KEY *r) { in EC_KEY_free() 157 OPENSSL_cleanse((void *)r, sizeof(EC_KEY)); in EC_KEY_free() 161 EC_KEY *EC_KEY_copy(EC_KEY *dest, const EC_KEY *src) { in EC_KEY_copy() 218 EC_KEY *EC_KEY_dup(const EC_KEY *ec_key) { in EC_KEY_dup() [all …]
|
D | ec_asn1.c | 285 EC_KEY *d2i_ECPrivateKey(EC_KEY **a, const uint8_t **inp, long len) { in d2i_ECPrivateKey() 287 EC_KEY *ret = NULL; in d2i_ECPrivateKey() 391 int i2d_ECPrivateKey(const EC_KEY *key, uint8_t **outp) { in i2d_ECPrivateKey() 484 int i2d_ECParameters(const EC_KEY *key, uint8_t **outp) { in i2d_ECParameters() 492 EC_KEY *d2i_ECParameters(EC_KEY **key, const uint8_t **inp, long len) { in d2i_ECParameters() 493 EC_KEY *ret; in d2i_ECParameters() 524 EC_KEY *o2i_ECPublicKey(EC_KEY **keyp, const uint8_t **inp, long len) { in o2i_ECPublicKey() 525 EC_KEY *ret = NULL; in o2i_ECPublicKey() 547 int i2o_ECPublicKey(const EC_KEY *key, uint8_t **outp) { in i2o_ECPublicKey()
|
D | ec_test.cc | 79 static bool EncodeECPrivateKey(std::vector<uint8_t> *out, EC_KEY *key) { in EncodeECPrivateKey()
|
/external/boringssl/src/crypto/pem/ |
D | pem_all.c | 123 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey); 227 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey) in IMPLEMENT_PEM_rw_const() 229 EC_KEY *dtmp; in IMPLEMENT_PEM_rw_const() 242 EC_KEY *PEM_read_bio_ECPrivateKey(BIO *bp, EC_KEY **key, pem_password_cb *cb, in PEM_read_bio_ECPrivateKey() 250 IMPLEMENT_PEM_write_cb(ECPrivateKey, EC_KEY, PEM_STRING_ECPRIVATEKEY, ECPrivateKey) in IMPLEMENT_PEM_write_cb() argument 253 IMPLEMENT_PEM_rw(EC_PUBKEY, EC_KEY, PEM_STRING_PUBLIC, EC_PUBKEY) in IMPLEMENT_PEM_write_cb() 257 EC_KEY *PEM_read_ECPrivateKey(FILE *fp, EC_KEY **eckey, pem_password_cb *cb, in IMPLEMENT_PEM_write_cb()
|
/external/boringssl/src/crypto/x509/ |
D | x_all.c | 313 EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey) in d2i_EC_PUBKEY_fp() 315 return ASN1_d2i_fp_of(EC_KEY,EC_KEY_new,d2i_EC_PUBKEY,fp,eckey); in d2i_EC_PUBKEY_fp() 318 int i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey) in i2d_EC_PUBKEY_fp() 320 return ASN1_i2d_fp_of_const(EC_KEY,i2d_EC_PUBKEY,fp,eckey); in i2d_EC_PUBKEY_fp() 323 EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey) in d2i_ECPrivateKey_fp() 325 return ASN1_d2i_fp_of(EC_KEY,EC_KEY_new,d2i_ECPrivateKey,fp,eckey); in d2i_ECPrivateKey_fp() 328 int i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey) in i2d_ECPrivateKey_fp() 330 return ASN1_i2d_fp_of_const(EC_KEY,i2d_ECPrivateKey,fp,eckey); in i2d_ECPrivateKey_fp() 333 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey) in d2i_EC_PUBKEY_bio() 335 return ASN1_d2i_bio_of(EC_KEY,EC_KEY_new,d2i_EC_PUBKEY,bp,eckey); in d2i_EC_PUBKEY_bio() [all …]
|
D | x_pubkey.c | 314 EC_KEY *d2i_EC_PUBKEY(EC_KEY **a, const unsigned char **pp, long length) in d2i_EC_PUBKEY() 317 EC_KEY *key; in d2i_EC_PUBKEY() 334 int i2d_EC_PUBKEY(const EC_KEY *a, unsigned char **pp) in i2d_EC_PUBKEY() 344 EVP_PKEY_set1_EC_KEY(pktmp, (EC_KEY*) a); in i2d_EC_PUBKEY()
|
/external/boringssl/src/crypto/evp/ |
D | p_ec_asn1.c | 69 static int eckey_param2type(int *pptype, void **ppval, EC_KEY *ec_key) { in eckey_param2type() 90 EC_KEY *ec_key = pkey->pkey.ec; in eckey_pub_encode() 130 static EC_KEY *eckey_type2param(int ptype, void *pval) { in eckey_type2param() 131 EC_KEY *eckey = NULL; in eckey_type2param() 170 EC_KEY *eckey = NULL; in eckey_pub_decode() 219 EC_KEY *eckey = NULL; in eckey_priv_decode() 284 EC_KEY *ec_key; in eckey_priv_encode() 374 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, int ktype) { in do_EC_KEY_print() 479 EC_KEY *eckey; in eckey_param_decode() 514 EC_KEY *ec; in old_ec_priv_decode()
|
D | p_ec.c | 129 EC_KEY *ec = ctx->pkey->pkey.ec; in pkey_ec_sign() 156 EC_KEY *eckey; in pkey_ec_derive() 229 EC_KEY *ec = NULL; in pkey_ec_paramgen() 251 EC_KEY *ec = NULL; in pkey_ec_keygen()
|
D | evp.c | 277 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) { in EVP_PKEY_set1_EC_KEY() 285 int EVP_PKEY_assign_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) { in EVP_PKEY_assign_EC_KEY() 289 EC_KEY *EVP_PKEY_get0_EC_KEY(EVP_PKEY *pkey) { in EVP_PKEY_get0_EC_KEY() 297 EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey) { in EVP_PKEY_get1_EC_KEY() 298 EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(pkey); in EVP_PKEY_get1_EC_KEY()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 67 unsigned int *sig_len, EC_KEY *eckey) { in ECDSA_sign() 77 const uint8_t *sig, size_t sig_len, EC_KEY *eckey) { in ECDSA_verify() 138 EC_KEY *key) { in ECDSA_do_sign() 143 const ECDSA_SIG *sig, EC_KEY *eckey) { in ECDSA_do_verify() 233 static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, in ecdsa_sign_setup() 360 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp) { in ECDSA_sign_setup() 366 EC_KEY *eckey) { in ECDSA_do_sign_ex() 463 const BIGNUM *r, EC_KEY *eckey) { in ECDSA_sign_ex()
|
D | ecdsa_test.cc | 75 EC_KEY *eckey, int expected_result) { in VerifyECDSASig() 105 EC_KEY *eckey, const BIGNUM *order) { in TestTamperedSig()
|
D | ecdsa_asn1.c | 67 size_t ECDSA_size(const EC_KEY *key) { in ECDSA_size()
|
/external/libchrome/crypto/ |
D | scoped_openssl_types.h | 45 using ScopedEC_Key = ScopedOpenSSL<EC_KEY, EC_KEY_free>; 50 using ScopedEC_KEY = ScopedOpenSSL<EC_KEY, EC_KEY_free>;
|
/external/boringssl/src/ssl/ |
D | s3_lib.c | 297 int SSL_CTX_set_tmp_ecdh(SSL_CTX *ctx, const EC_KEY *ec_key) { in SSL_CTX_set_tmp_ecdh() 306 int SSL_set_tmp_ecdh(SSL *ssl, const EC_KEY *ec_key) { in SSL_set_tmp_ecdh() 338 EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(private_key); in SSL_set1_tls_channel_id()
|
/external/boringssl/src/crypto/ecdh/ |
D | ecdh.c | 78 EC_KEY *priv_key, in ECDH_compute_key()
|
/external/boringssl/src/crypto/test/ |
D | scoped_types.h | 106 using ScopedEC_KEY = ScopedOpenSSLType<EC_KEY, EC_KEY_free>;
|
/external/libweave/examples/provider/ |
D | event_http_server.cc | 80 std::unique_ptr<EC_KEY, decltype(&EC_KEY_free)> ec_key{
|
/external/webrtc/webrtc/base/ |
D | opensslidentity.cc | 67 EC_KEY* ec_key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); in MakeKey()
|