/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
H A D | dh.rs | 47 pub fn DH_set0_key(dh: *mut DH, pub_key: *mut BIGNUM, priv_key: *mut BIGNUM) -> c_int; in DH_set0_key() 50 pub fn DH_get0_key(dh: *const DH, pub_key: *mut *const BIGNUM, priv_key: *mut *const BIGNUM); in DH_get0_key()
|
H A D | dsa.rs | 67 pub fn DSA_get0_key(d: *const DSA, pub_key: *mut *const BIGNUM, priv_key: *mut *const BIGNUM); in DSA_get0_key() 69 pub fn DSA_set0_key(d: *mut DSA, pub_key: *mut BIGNUM, priv_key: *mut BIGNUM) -> c_int; in DSA_set0_key()
|
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ec_ameth.c | 428 if (eckey->priv_key == NULL) { in ec_pkey_check() 482 const BIGNUM *priv_key = NULL; in ec_pkey_export_to() local 511 priv_key = EC_KEY_get0_private_key(eckey); in ec_pkey_export_to() 529 if (priv_key != NULL) { in ec_pkey_export_to() 574 priv_key, sz)) in ec_pkey_export_to()
|
/third_party/openssl/crypto/ec/ |
H A D | ec_ameth.c | 428 if (eckey->priv_key == NULL) { in ec_pkey_check() 482 const BIGNUM *priv_key = NULL; in ec_pkey_export_to() local 511 priv_key = EC_KEY_get0_private_key(eckey); in ec_pkey_export_to() 529 if (priv_key != NULL) { in ec_pkey_export_to() 574 priv_key, sz)) in ec_pkey_export_to()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | envelope.rs | 106 priv_key: &PKeyRef<T>, in new() 118 Some(priv_key), in new()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_openssl.c | 783 privlen = BN_num_bytes(dh->priv_key); in dh5_init() 789 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); in dh5_init() 805 const BIGNUM *priv_key = NULL, *pub_key = NULL; in dh5_init() 828 DH_get0_key(dh, &pub_key, &priv_key); in dh5_init() 833 privlen = BN_num_bytes(priv_key); in dh5_init() 839 BN_bn2bin(priv_key, wpabuf_put(privkey, privlen)); in dh5_init() 876 dh->priv_key = BN_bin2bn(wpabuf_head(priv), wpabuf_len(priv), NULL); in dh5_init_fixed() 877 if (dh->priv_key == NULL) in dh5_init_fixed() 894 BIGNUM *p = NULL, *g, *priv_key = NULL, *pub_key = NULL; in dh5_init_fixed() 908 priv_key in dh5_init_fixed() [all...] |
/third_party/node/deps/openssl/openssl/crypto/dsa/ |
H A D | dsa_ossl.c | 89 if (dsa->priv_key == NULL) { in ossl_dsa_do_sign_int() 129 * s := k^-1 * (m + r * priv_key) mod q in ossl_dsa_do_sign_int() 133 * s := blind^-1 * k^-1 * (blind * m + blind * r * priv_key) mod q in ossl_dsa_do_sign_int() 149 /* tmp := blind * priv_key * r mod q */ in ossl_dsa_do_sign_int() 150 if (!BN_mod_mul(tmp, blind, dsa->priv_key, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 159 /* s : = (blind * priv_key * r) + (blind * m) mod q */ in ossl_dsa_do_sign_int() 234 if (dsa->priv_key == NULL) { in dsa_sign_setup() 265 if (!BN_generate_dsa_nonce(k, dsa->params.q, dsa->priv_key, dgst, in dsa_sign_setup()
|
H A D | dsa_local.h | 23 BIGNUM *priv_key; /* x private key */ member
|
H A D | dsa_asn1.c | 47 ASN1_SIMPLE(DSA, priv_key, CBIGNUM)
|
/third_party/openssl/crypto/dsa/ |
H A D | dsa_ossl.c | 89 if (dsa->priv_key == NULL) { in ossl_dsa_do_sign_int() 129 * s := k^-1 * (m + r * priv_key) mod q in ossl_dsa_do_sign_int() 133 * s := blind^-1 * k^-1 * (blind * m + blind * r * priv_key) mod q in ossl_dsa_do_sign_int() 149 /* tmp := blind * priv_key * r mod q */ in ossl_dsa_do_sign_int() 150 if (!BN_mod_mul(tmp, blind, dsa->priv_key, dsa->params.q, ctx)) in ossl_dsa_do_sign_int() 159 /* s : = (blind * priv_key * r) + (blind * m) mod q */ in ossl_dsa_do_sign_int() 234 if (dsa->priv_key == NULL) { in dsa_sign_setup() 265 if (!BN_generate_dsa_nonce(k, dsa->params.q, dsa->priv_key, dgst, in dsa_sign_setup()
|
H A D | dsa_local.h | 23 BIGNUM *priv_key; /* x private key */ member
|
H A D | dsa_asn1.c | 47 ASN1_SIMPLE(DSA, priv_key, CBIGNUM)
|
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/ |
H A D | macsignature.h | 19 unsigned char *priv_key; member
|
/third_party/openssl/providers/implementations/include/prov/ |
H A D | macsignature.h | 19 unsigned char *priv_key; member
|
/third_party/openssl/test/ |
H A D | dhtest.c | 42 BIGNUM *priv_key = NULL; in dh_test() local 61 || !TEST_ptr(priv_key = BN_new())) in dh_test() 105 if (!TEST_true(BN_set_word(priv_key, 1234L)) in dh_test() 106 || !TEST_true(DH_set0_key(dh, NULL, priv_key))) in dh_test() 109 /* test the combined getter for pub_key and priv_key */ in dh_test() 112 || !TEST_ptr_eq(priv_key2, priv_key)) in dh_test() 115 /* test the simple getters for pub_key and priv_key */ in dh_test() 215 /* an error occurred before priv_key was assigned to dh */ in dh_test() 216 BN_free(priv_key); in dh_test() 563 BIGNUM *priv_key in rfc5114_test() local [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 494 ASN1_INTEGER *priv_key = NULL; in dh_pki_priv_to_der() local 501 if ((priv_key = BN_to_ASN1_INTEGER(bn, NULL)) == NULL) { in dh_pki_priv_to_der() 506 ret = i2d_ASN1_INTEGER(priv_key, pder); in dh_pki_priv_to_der() 508 ASN1_STRING_clear_free(priv_key); in dh_pki_priv_to_der() 609 ASN1_INTEGER *priv_key = NULL; in dsa_pki_priv_to_der() local 616 if ((priv_key = BN_to_ASN1_INTEGER(bn, NULL)) == NULL) { in dsa_pki_priv_to_der() 621 ret = i2d_ASN1_INTEGER(priv_key, pder); in dsa_pki_priv_to_der() 623 ASN1_STRING_clear_free(priv_key); in dsa_pki_priv_to_der()
|
/third_party/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 494 ASN1_INTEGER *priv_key = NULL; in dh_pki_priv_to_der() local 501 if ((priv_key = BN_to_ASN1_INTEGER(bn, NULL)) == NULL) { in dh_pki_priv_to_der() 506 ret = i2d_ASN1_INTEGER(priv_key, pder); in dh_pki_priv_to_der() 508 ASN1_STRING_clear_free(priv_key); in dh_pki_priv_to_der() 609 ASN1_INTEGER *priv_key = NULL; in dsa_pki_priv_to_der() local 616 if ((priv_key = BN_to_ASN1_INTEGER(bn, NULL)) == NULL) { in dsa_pki_priv_to_der() 621 ret = i2d_ASN1_INTEGER(priv_key, pder); in dsa_pki_priv_to_der() 623 ASN1_STRING_clear_free(priv_key); in dsa_pki_priv_to_der()
|
/third_party/ffmpeg/libavformat/ |
H A D | rtmpdh.h | 54 FFBigNum priv_key; member
|
/third_party/node/deps/openssl/openssl/crypto/dh/ |
H A D | dh_local.h | 27 BIGNUM *priv_key; /* x */ member
|
/third_party/openssl/crypto/dh/ |
H A D | dh_local.h | 27 BIGNUM *priv_key; /* x */ member
|
/third_party/lwip/src/include/lwip/apps/ |
H A D | snmpv3.h | 84 err_t snmpv3_get_user(const char* username, snmpv3_auth_algo_t *auth_algo, u8_t *auth_key, snmpv3_priv_algo_t *priv_algo, u8_t *priv_key);
|
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 370 const BIGNUM *priv_key = NULL; in dsa_validate_private() local 372 DSA_get0_key(dsa, NULL, &priv_key); in dsa_validate_private() 373 if (priv_key == NULL) in dsa_validate_private() 375 return ossl_dsa_check_priv_key(dsa, priv_key, &status); in dsa_validate_private()
|
/third_party/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 367 const BIGNUM *priv_key = NULL; in dsa_validate_private() local 369 DSA_get0_key(dsa, NULL, &priv_key); in dsa_validate_private() 370 if (priv_key == NULL) in dsa_validate_private() 372 return ossl_dsa_check_priv_key(dsa, priv_key, &status); in dsa_validate_private()
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | testdsa.h | 219 BIGNUM *priv_key, *pub_key, *p, *q, *g; in get_dsa() local 242 priv_key = BN_bin2bn(dsa_t.priv, dsa_t.priv_l, NULL); in get_dsa() 247 if (priv_key == NULL || pub_key == NULL || p == NULL || q == NULL in get_dsa() 259 priv_key) in get_dsa() 272 BN_free(priv_key); in get_dsa()
|
/third_party/openssl/apps/ |
H A D | testdsa.h | 219 BIGNUM *priv_key, *pub_key, *p, *q, *g; in get_dsa() local 242 priv_key = BN_bin2bn(dsa_t.priv, dsa_t.priv_l, NULL); in get_dsa() 247 if (priv_key == NULL || pub_key == NULL || p == NULL || q == NULL in get_dsa() 259 priv_key) in get_dsa() 272 BN_free(priv_key); in get_dsa()
|