/external/chromium_org/net/cert/ |
jwk_serializer_openssl.cc | 9 #include <openssl/ec_key.h> 29 crypto::ScopedEC_KEY ec_key(EVP_PKEY_get1_EC_KEY(pkey)); 30 if (!ec_key) 32 const EC_GROUP* ec_group = EC_KEY_get0_group(ec_key.get()); 50 const EC_POINT* ec_point = EC_KEY_get0_public_key(ec_key.get());
|
/external/openssl/crypto/ec/ |
ec_ameth.c | 68 static int eckey_param2type(int *pptype, void **ppval, EC_KEY *ec_key) 72 if (ec_key == NULL || (group = EC_KEY_get0_group(ec_key)) == NULL) 90 pstr->length = i2d_ECParameters(ec_key, &pstr->data); 105 EC_KEY *ec_key = pkey->pkey.ec; local 111 if (!eckey_param2type(&ptype, &pval, ec_key)) 116 penclen = i2o_ECPublicKey(ec_key, NULL); 123 penclen = i2o_ECPublicKey(ec_key, &p) 314 EC_KEY *ec_key; local [all...] |
ec_key.c | 1 /* crypto/ec/ec_key.c */ 71 EC_KEY *EC_KEY_new(void) 73 EC_KEY *ret; 75 ret=(EC_KEY *)OPENSSL_malloc(sizeof(EC_KEY)); 95 EC_KEY *EC_KEY_new_by_curve_name(int nid) 97 EC_KEY *ret = EC_KEY_new(); 109 void EC_KEY_free(EC_KEY *r) 117 REF_PRINT("EC_KEY",r); 137 OPENSSL_cleanse((void *)r, sizeof(EC_KEY)); [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/evp/ |
p_ec_asn1.c | 69 static int eckey_param2type(int *pptype, void **ppval, EC_KEY *ec_key) { 73 if (ec_key == NULL || (group = EC_KEY_get0_group(ec_key)) == NULL) { 90 EC_KEY *ec_key = pkey->pkey.ec; local 96 if (!eckey_param2type(&ptype, &pval, ec_key)) { 100 penclen = i2o_ECPublicKey(ec_key, NULL); 109 penclen = i2o_ECPublicKey(ec_key, &p); 130 static EC_KEY *eckey_type2param(int ptype, void *pval) 291 EC_KEY *ec_key; local [all...] |
p_ec.c | 63 #include <openssl/ec_key.h> 80 EC_KEY *co_key; 170 EC_KEY *ec = ctx->pkey->pkey.ec; 196 EC_KEY *ec = ctx->pkey->pkey.ec; 211 EC_KEY *eckey; 366 EC_KEY *ec = NULL; 388 EC_KEY *ec = NULL;
|
/external/chromium_org/third_party/boringssl/src/include/openssl/ |
ecdh.h | 72 #include <openssl/ec_key.h> 86 const EC_POINT *pub_key, EC_KEY *priv_key,
|
ecdsa.h | 58 #include <openssl/ec_key.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); 114 size_t digest_len, EC_KEY *key); 122 const ECDSA_SIG *sig, EC_KEY *key); 135 OPENSSL_EXPORT int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, 143 EC_KEY *eckey); 150 const BIGNUM *rp, EC_KEY *eckey);
|
ec.h | 295 /* Old code expects to get EC_KEY from ec.h. */ 297 #include <openssl/ec_key.h>
|
/external/chromium_org/net/ssl/ |
openssl_platform_key_mac.cc | 102 // ExDataDup is called when one of the RSA or EC_KEY objects is 114 // ExDataFree is called when one of the RSA or EC_KEY objects is freed. 349 const KeyExData* EcKeyGetExData(const EC_KEY* ec_key) { 351 ec_key, global_boringssl_engine.Get().ec_key_ex_index())); 354 size_t EcdsaMethodGroupOrderSize(const EC_KEY* ec_key) { 355 const KeyExData* ex_data = EcKeyGetExData(ec_key); 366 EC_KEY* ec_key) { [all...] |
/external/chromium_org/crypto/ |
ec_private_key_openssl.cc | 95 ScopedEC_KEY ec_key(EC_KEY_new_by_curve_name(NID_X9_62_prime256v1)); 96 if (!ec_key.get() || !EC_KEY_generate_key(ec_key.get())) 101 if (!result->key_ || !EVP_PKEY_set1_EC_KEY(result->key_, ec_key.get())) 215 ScopedEC_KEY ec_key(EVP_PKEY_get1_EC_KEY(key_)); 216 return ExportKey(ec_key.get(), 223 ScopedEC_KEY ec_key(EVP_PKEY_get1_EC_KEY(key_)); 224 return ExportKey(ec_key.get(),
|
/external/chromium_org/net/android/ |
keystore_openssl.cc | 86 // ExDataDup is called when one of the RSA, DSA or EC_KEY objects is 98 // ExDataFree is called when one of the RSA, DSA or EC_KEY object is freed. 442 jobject EcKeyGetKey(const EC_KEY* ec_key) { 444 ec_key, global_boringssl_engine.Get().ec_key_ex_index())); 448 size_t EcdsaMethodGroupOrderSize(const EC_KEY* ec_key) { 450 ec_key, global_boringssl_engine.Get().ec_key_ex_index())); 458 EC_KEY* ec_key) { [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/ecdsa/ |
ecdsa_asn1.c | 57 #include <openssl/ec_key.h> 71 size_t ECDSA_size(const EC_KEY *key) {
|
/external/chromium_org/third_party/boringssl/src/crypto/engine/ |
engine.c | 19 #include <openssl/ec_key.h>
|
/external/chromium_org/third_party/boringssl/src/crypto/ec/ |
ec_key.c | 68 #include <openssl/ec_key.h> 79 EC_KEY *EC_KEY_new(void) { return EC_KEY_new_method(NULL); } 81 EC_KEY *EC_KEY_new_method(const ENGINE *engine) { 82 EC_KEY *ret = (EC_KEY *)OPENSSL_malloc(sizeof(EC_KEY)); 88 memset(ret, 0, sizeof(EC_KEY)); 121 EC_KEY *EC_KEY_new_by_curve_name(int nid) { 122 EC_KEY *ret = EC_KEY_new(); 134 void EC_KEY_free(EC_KEY *r) [all...] |
/external/openssl/ |
Crypto-config-trusty.mk | 108 crypto/ec/ec_key.c \
|
/external/chromium_org/third_party/boringssl/ |
boringssl.target.darwin-arm.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|
boringssl.target.darwin-arm64.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|
boringssl.target.darwin-mips.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|
boringssl.target.darwin-mips64.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|
boringssl.target.darwin-x86.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|
boringssl.target.darwin-x86_64.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|
boringssl.target.linux-arm.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|
boringssl.target.linux-arm64.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|
boringssl.target.linux-mips.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|
boringssl.target.linux-mips64.mk | 139 third_party/boringssl/src/crypto/ec/ec_key.c \
|