Home
last modified time | relevance | path

Searched refs:priv_key (Results 76 - 100 of 111) sorted by relevance

12345

/third_party/node/deps/openssl/openssl/include/openssl/
H A Ddsa.h205 const BIGNUM **priv_key);
207 BIGNUM *priv_key);
H A Ddh.h261 const BIGNUM **priv_key);
262 OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_kmeth.c206 const BIGNUM *priv_key), in EC_KEY_METHOD_set_init()
273 const BIGNUM *priv_key), in EC_KEY_METHOD_get_init()
200 EC_KEY_METHOD_set_init(EC_KEY_METHOD *meth, int (*init)(EC_KEY *key), void (*finish)(EC_KEY *key), int (*copy)(EC_KEY *dest, const EC_KEY *src), int (*set_group)(EC_KEY *key, const EC_GROUP *grp), int (*set_private)(EC_KEY *key, const BIGNUM *priv_key), int (*set_public)(EC_KEY *key, const EC_POINT *pub_key)) EC_KEY_METHOD_set_init() argument
266 EC_KEY_METHOD_get_init(const EC_KEY_METHOD *meth, int (**pinit)(EC_KEY *key), void (**pfinish)(EC_KEY *key), int (**pcopy)(EC_KEY *dest, const EC_KEY *src), int (**pset_group)(EC_KEY *key, const EC_GROUP *grp), int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key), int (**pset_public)(EC_KEY *key, const EC_POINT *pub_key)) EC_KEY_METHOD_get_init() argument
H A Dec_local.h169 int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
293 BIGNUM *priv_key; member
643 int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
/third_party/openssl/crypto/ec/
H A Dec_kmeth.c206 const BIGNUM *priv_key), in EC_KEY_METHOD_set_init()
273 const BIGNUM *priv_key), in EC_KEY_METHOD_get_init()
200 EC_KEY_METHOD_set_init(EC_KEY_METHOD *meth, int (*init)(EC_KEY *key), void (*finish)(EC_KEY *key), int (*copy)(EC_KEY *dest, const EC_KEY *src), int (*set_group)(EC_KEY *key, const EC_GROUP *grp), int (*set_private)(EC_KEY *key, const BIGNUM *priv_key), int (*set_public)(EC_KEY *key, const EC_POINT *pub_key)) EC_KEY_METHOD_set_init() argument
266 EC_KEY_METHOD_get_init(const EC_KEY_METHOD *meth, int (**pinit)(EC_KEY *key), void (**pfinish)(EC_KEY *key), int (**pcopy)(EC_KEY *dest, const EC_KEY *src), int (**pset_group)(EC_KEY *key, const EC_GROUP *grp), int (**pset_private)(EC_KEY *key, const BIGNUM *priv_key), int (**pset_public)(EC_KEY *key, const EC_POINT *pub_key)) EC_KEY_METHOD_get_init() argument
H A Dec_local.h169 int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
293 BIGNUM *priv_key; member
643 int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
/third_party/openssl/include/openssl/
H A Ddsa.h205 const BIGNUM **priv_key);
207 BIGNUM *priv_key);
H A Ddh.h261 const BIGNUM **priv_key);
262 OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
/third_party/openssl/ohos_lite/include/openssl/
H A Ddsa.h180 const BIGNUM **pub_key, const BIGNUM **priv_key);
181 int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
H A Ddh.h184 const BIGNUM **pub_key, const BIGNUM **priv_key);
185 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
H A Ddh_kmgmt.c401 const BIGNUM *priv_key = NULL; in dh_validate_private() local
403 DH_get0_key(dh, NULL, &priv_key); in dh_validate_private()
404 if (priv_key == NULL) in dh_validate_private()
406 return ossl_dh_check_priv_key(dh, priv_key, &status);; in dh_validate_private()
H A Dec_kmgmt.c116 const BIGNUM *priv_key = NULL; in key_to_params() local
127 priv_key = EC_KEY_get0_private_key(eckey); in key_to_params()
185 if (priv_key != NULL && include_private) { in key_to_params()
229 priv_key, sz)) in key_to_params()
/third_party/openssl/providers/implementations/keymgmt/
H A Ddh_kmgmt.c398 const BIGNUM *priv_key = NULL; in dh_validate_private() local
400 DH_get0_key(dh, NULL, &priv_key); in dh_validate_private()
401 if (priv_key == NULL) in dh_validate_private()
403 return ossl_dh_check_priv_key(dh, priv_key, &status);; in dh_validate_private()
H A Dec_kmgmt.c116 const BIGNUM *priv_key = NULL; in key_to_params() local
127 priv_key = EC_KEY_get0_private_key(eckey); in key_to_params()
185 if (priv_key != NULL && include_private) { in key_to_params()
229 priv_key, sz)) in key_to_params()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dcrypto_openssl.c856 privlen = BN_num_bytes(dh->priv_key); in dh5_init()
862 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); in dh5_init()
878 const BIGNUM *priv_key = NULL, *pub_key = NULL; in dh5_init()
901 DH_get0_key(dh, &pub_key, &priv_key); in dh5_init()
906 privlen = BN_num_bytes(priv_key); in dh5_init()
912 BN_bn2bin(priv_key, wpabuf_put(privkey, privlen)); in dh5_init()
949 dh->priv_key = BN_bin2bn(wpabuf_head(priv), wpabuf_len(priv), NULL); in dh5_init_fixed()
950 if (dh->priv_key == NULL) in dh5_init_fixed()
967 BIGNUM *p = NULL, *g, *priv_key = NULL, *pub_key = NULL; in dh5_init_fixed()
981 priv_key in dh5_init_fixed()
[all...]
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dcipher_ctx.rs260 priv_key: Option<&PKeyRef<T>>, in open_init()
265 if priv_key.is_some() { in open_init()
278 priv_key.map_or(ptr::null_mut(), ForeignTypeRef::as_ptr), in open_init()
/third_party/libcoap/examples/lwip/config/
H A Dlwippools.h34 coap_binary_t *priv_key; member
/third_party/node/src/crypto/
H A Dcrypto_dh.cc381 const BIGNUM* priv_key; in GetPrivateKey()
382 DH_get0_key(dh, nullptr, &priv_key); in GetPrivateKey()
383 return priv_key; in GetPrivateKey()
/third_party/openssl/ohos_lite/crypto/ec/
H A Dec_local.h173 int (*set_private)(EC_KEY *eckey, const BIGNUM *priv_key);
286 BIGNUM *priv_key; member
611 int (*set_private)(EC_KEY *key, const BIGNUM *priv_key);
/third_party/curl/lib/vtls/
H A Dopenssl.c1542 EVP_PKEY *priv_key = NULL; in cert_stuff() local
1566 priv_key = ENGINE_load_private_key(data->state.engine, key_file, in cert_stuff()
1570 if(!priv_key) { in cert_stuff()
1574 if(SSL_CTX_use_PrivateKey(ctx, priv_key) != 1) { in cert_stuff()
1576 EVP_PKEY_free(priv_key); in cert_stuff()
1579 EVP_PKEY_free(priv_key); /* we don't need the handle any more... */ in cert_stuff()
1623 EVP_PKEY *priv_key = SSL_get_privatekey(ssl); in cert_stuff() local
1626 pktype = EVP_PKEY_id(priv_key); in cert_stuff()
1628 pktype = priv_key->type; in cert_stuff()
1631 RSA *rsa = EVP_PKEY_get1_RSA(priv_key); in cert_stuff()
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c135 if (!EVP_MAC_init(pmacctx->macctx, pmacctx->key->priv_key, in mac_digest_sign_init()
/third_party/node/deps/openssl/openssl/include/internal/
H A Dffc.h198 int ossl_ffc_validate_private_key(const BIGNUM *upper, const BIGNUM *priv_key,
/third_party/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c135 if (!EVP_MAC_init(pmacctx->macctx, pmacctx->key->priv_key, in mac_digest_sign_init()
/third_party/openssl/include/internal/
H A Dffc.h193 int ossl_ffc_validate_private_key(const BIGNUM *upper, const BIGNUM *priv_key,
/third_party/openssl/test/
H A Dec_internal_test.c329 if (!TEST_int_eq(EC_KEY_set_private_key(key, aux_key->priv_key), 1)) in set_private_key()
334 || !TEST_ptr_null(key->priv_key)) in set_private_key()

Completed in 30 milliseconds

12345