/third_party/openssl/crypto/ec/ |
D | ec_ameth.c | 29 static int eckey_param2type(int *pptype, void **ppval, const EC_KEY *ec_key) in eckey_param2type() argument 34 if (ec_key == NULL || (group = EC_KEY_get0_group(ec_key)) == NULL) { in eckey_param2type() 56 pstr->length = i2d_ECParameters(ec_key, &pstr->data); in eckey_param2type() 70 const EC_KEY *ec_key = pkey->pkey.ec; in eckey_pub_encode() local 76 if (!eckey_param2type(&ptype, &pval, ec_key)) { in eckey_pub_encode() 80 penclen = i2o_ECPublicKey(ec_key, NULL); in eckey_pub_encode() 87 penclen = i2o_ECPublicKey(ec_key, &p); in eckey_pub_encode() 164 EC_KEY ec_key = *(pkey->pkey.ec); in eckey_priv_encode() local 170 if (!eckey_param2type(&ptype, &pval, &ec_key)) { in eckey_priv_encode() 181 old_flags = EC_KEY_get_enc_flags(&ec_key); in eckey_priv_encode() [all …]
|
D | ec_pmeth.c | 280 const EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_ctrl() local 281 return EC_KEY_get_flags(ec_key) & EC_FLAG_COFACTOR_ECDH ? 1 : 0; in pkey_ec_ctrl() 287 EC_KEY *ec_key = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_ctrl() local 297 if (!ec_key->group) in pkey_ec_ctrl() 300 if (BN_is_one(ec_key->group->cofactor)) in pkey_ec_ctrl() 303 dctx->co_key = EC_KEY_dup(ec_key); in pkey_ec_ctrl()
|
D | build.info | 52 ec_curve.c ec_check.c ec_key.c ec_kmeth.c ecx_key.c ec_asn1.c \
|
D | ec_key.c | 187 EC_KEY *EC_KEY_dup(const EC_KEY *ec_key) in EC_KEY_dup() argument 189 return ossl_ec_key_dup(ec_key, OSSL_KEYMGMT_SELECT_ALL); in EC_KEY_dup()
|
/third_party/node/deps/openssl/openssl/crypto/ec/ |
D | ec_ameth.c | 29 static int eckey_param2type(int *pptype, void **ppval, const EC_KEY *ec_key) in eckey_param2type() argument 34 if (ec_key == NULL || (group = EC_KEY_get0_group(ec_key)) == NULL) { in eckey_param2type() 56 pstr->length = i2d_ECParameters(ec_key, &pstr->data); in eckey_param2type() 70 const EC_KEY *ec_key = pkey->pkey.ec; in eckey_pub_encode() local 76 if (!eckey_param2type(&ptype, &pval, ec_key)) { in eckey_pub_encode() 80 penclen = i2o_ECPublicKey(ec_key, NULL); in eckey_pub_encode() 87 penclen = i2o_ECPublicKey(ec_key, &p); in eckey_pub_encode() 164 EC_KEY ec_key = *(pkey->pkey.ec); in eckey_priv_encode() local 170 if (!eckey_param2type(&ptype, &pval, &ec_key)) { in eckey_priv_encode() 181 old_flags = EC_KEY_get_enc_flags(&ec_key); in eckey_priv_encode() [all …]
|
D | ec_pmeth.c | 280 const EC_KEY *ec_key = EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_ctrl() local 281 return EC_KEY_get_flags(ec_key) & EC_FLAG_COFACTOR_ECDH ? 1 : 0; in pkey_ec_ctrl() 287 EC_KEY *ec_key = (EC_KEY *)EVP_PKEY_get0_EC_KEY(ctx->pkey); in pkey_ec_ctrl() local 297 if (!ec_key->group) in pkey_ec_ctrl() 300 if (BN_is_one(ec_key->group->cofactor)) in pkey_ec_ctrl() 303 dctx->co_key = EC_KEY_dup(ec_key); in pkey_ec_ctrl()
|
D | build.info | 52 ec_curve.c ec_check.c ec_key.c ec_kmeth.c ecx_key.c ec_asn1.c \
|
D | ec_key.c | 187 EC_KEY *EC_KEY_dup(const EC_KEY *ec_key) in EC_KEY_dup() argument 189 return ossl_ec_key_dup(ec_key, OSSL_KEYMGMT_SELECT_ALL); in EC_KEY_dup()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | derive.rs | 185 let ec_key = EcKey::generate(&group).unwrap(); in derive_without_peer() localVariable 186 let pkey = PKey::from_ec_key(ec_key).unwrap(); in derive_without_peer() 194 let ec_key = EcKey::generate(&group).unwrap(); in test_ec_key_derive() localVariable 196 let pkey = PKey::from_ec_key(ec_key).unwrap(); in test_ec_key_derive() 208 let ec_key = EcKey::generate(&group).unwrap(); in test_ec_key_derive_ex() localVariable 210 let pkey = PKey::from_ec_key(ec_key).unwrap(); in test_ec_key_derive_ex()
|
D | pkey.rs | 187 pub fn ec_key(&self) -> Result<EcKey<T>, ErrorStack> { in ec_key() method 189 let ec_key = cvt_p(ffi::EVP_PKEY_get1_EC_KEY(self.as_ptr()))?; in ec_key() localVariable 190 Ok(EcKey::from_ptr(ec_key)) in ec_key() 444 pub fn from_ec_key(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in from_ec_key() 448 cvt(ffi::EVP_PKEY_assign_EC_KEY(pkey.0, ec_key.as_ptr()))?; in from_ec_key() 449 mem::forget(ec_key); in from_ec_key() 806 fn try_from(ec_key: EcKey<T>) -> Result<PKey<T>, ErrorStack> { in try_from() 807 PKey::from_ec_key(ec_key) in try_from() 815 pkey.ec_key() in try_from() 1009 let ec_key = EcKey::from_curve_name(Nid::X9_62_PRIME256V1).unwrap(); in test_ec_key_accessor() localVariable [all …]
|
D | ec.rs | 1232 let ec_key = EcKey::from_public_key(&group, &public_key).unwrap(); in key_from_public_key() localVariable 1233 assert!(ec_key.check_key().is_ok()); in key_from_public_key() 1259 let ec_key = EcKey::from_public_key_affine_coordinates(&group, &xbn, &ybn).unwrap(); in key_from_affine_coordinates() localVariable 1260 assert!(ec_key.check_key().is_ok()); in key_from_affine_coordinates() 1275 let ec_key = EcKey::from_public_key_affine_coordinates(&group, &xbn, &ybn).unwrap(); in get_affine_coordinates() localVariable 1280 let ec_key_pk = ec_key.public_key(); in get_affine_coordinates() 1299 let ec_key = EcKey::from_public_key_affine_coordinates(&group, &xbn, &ybn).unwrap(); in get_affine_coordinates_gfp() localVariable 1304 let ec_key_pk = ec_key.public_key(); in get_affine_coordinates_gfp()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
D | callbacks.rs | 253 Ok(ec_key) => { in raw_tmp_ecdh() 254 let ptr = ec_key.as_ptr(); in raw_tmp_ecdh() 255 mem::forget(ec_key); in raw_tmp_ecdh() 308 Ok(ec_key) => { in raw_tmp_ecdh_ssl() 309 let ptr = ec_key.as_ptr(); in raw_tmp_ecdh_ssl() 310 mem::forget(ec_key); in raw_tmp_ecdh_ssl()
|
/third_party/node/src/crypto/ |
D | crypto_ec.cc | 635 const EC_KEY* ec_key = EVP_PKEY_get0_EC_KEY(m_pkey.get()); in EC_Raw_Export() local 639 if (ec_key == nullptr) { in EC_Raw_Export() 663 const EC_GROUP* group = EC_KEY_get0_group(ec_key); in EC_Raw_Export() 664 const EC_POINT* point = EC_KEY_get0_public_key(ec_key); in EC_Raw_Export() 720 const EC_KEY* ec_key = EVP_PKEY_get0_EC_KEY(m_pkey.get()); in DoExport() local 721 const EC_GROUP* group = EC_KEY_get0_group(ec_key); in DoExport() 722 const EC_POINT* point = EC_KEY_get0_public_key(ec_key); in DoExport()
|
D | crypto_sig.cc | 125 const EC_KEY* ec_key = EVP_PKEY_get0_EC_KEY(pkey.get()); in ValidateDSAParameters() local 126 const EC_GROUP* ec_group = EC_KEY_get0_group(ec_key); in ValidateDSAParameters()
|
D | crypto_keys.cc | 370 ECKeyPointer ec_key(EVP_PKEY_get1_EC_KEY(pkey)); in WritePrivateKey() local 374 bio.get(), ec_key.get(), in WritePrivateKey() 383 err = i2d_ECPrivateKey_bio(bio.get(), ec_key.get()) != 1; in WritePrivateKey()
|
/third_party/rust/crates/rust-openssl/openssl-sys/src/ |
D | evp.rs | 320 pub unsafe fn EVP_PKEY_assign_EC_KEY(pkey: *mut EVP_PKEY, ec_key: *mut EC_KEY) -> c_int { in EVP_PKEY_assign_EC_KEY() 321 EVP_PKEY_assign(pkey, EVP_PKEY_EC, ec_key as *mut c_void) in EVP_PKEY_assign_EC_KEY()
|
/third_party/openssl/doc/man1/ |
D | openssl-ecparam.pod.in | 153 openssl ecparam -out ec_key.pem -name prime192v1 -genkey
|
/third_party/openssl/doc/man3/ |
D | EC_KEY_new.pod | 112 EC_KEY_dup() creates a new EC_KEY object and copies I<ec_key> into it.
|
/third_party/node/deps/openssl/config/archs/linux-armv4/no-asm/ |
D | openssl-fips.gypi | 72 'openssl/crypto/ec/ec_key.c',
|
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/ |
D | openssl-fips.gypi | 72 'openssl/crypto/ec/ec_key.c',
|
/third_party/node/deps/openssl/config/archs/linux64-s390x/no-asm/ |
D | openssl-fips.gypi | 72 'openssl/crypto/ec/ec_key.c',
|
/third_party/node/deps/openssl/config/archs/BSD-x86/no-asm/ |
D | openssl-fips.gypi | 72 'openssl/crypto/ec/ec_key.c',
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/ |
D | openssl-fips.gypi | 72 'openssl/crypto/ec/ec_key.c',
|
/third_party/node/deps/openssl/config/archs/aix64-gcc-as/no-asm/ |
D | openssl-fips.gypi | 72 'openssl/crypto/ec/ec_key.c',
|
/third_party/node/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/ |
D | openssl-fips.gypi | 72 'openssl/crypto/ec/ec_key.c',
|