Home
last modified time | relevance | path

Searched refs:rsa_d (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/openssh/
H A Dssh-rsa.c96 const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q; in ssh_rsa_serialize_private() local
101 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); in ssh_rsa_serialize_private()
111 if ((r = sshbuf_put_bignum2(b, rsa_d)) != 0 || in ssh_rsa_serialize_private()
238 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; in ssh_rsa_deserialize_private() local
264 if ((r = sshbuf_get_bignum2(b, &rsa_d)) != 0 || in ssh_rsa_deserialize_private()
269 if ((r = ssh_rsa_complete_crt_parameters(rsa_d, rsa_p, rsa_q, in ssh_rsa_deserialize_private()
272 if (!RSA_set0_key(rsa, NULL, NULL, rsa_d)) { in ssh_rsa_deserialize_private()
276 rsa_d = NULL; /* transferred */ in ssh_rsa_deserialize_private()
303 BN_clear_free(rsa_d); in ssh_rsa_deserialize_private()
364 ssh_rsa_complete_crt_parameters(const BIGNUM *rsa_d, const BIGNUM *rsa_p, in ssh_rsa_complete_crt_parameters() argument
[all …]
H A Dssh-keygen.c498 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; in do_convert_private_ssh2() local
586 (rsa_d = BN_new()) == NULL || in do_convert_private_ssh2()
591 buffer_get_bignum_bits(b, rsa_d); in do_convert_private_ssh2()
596 if ((r = ssh_rsa_complete_crt_parameters(rsa_d, rsa_p, rsa_q, in do_convert_private_ssh2()
603 if (!RSA_set0_key(rsa, rsa_n, rsa_e, rsa_d)) in do_convert_private_ssh2()
605 rsa_n = rsa_e = rsa_d = NULL; /* transferred */ in do_convert_private_ssh2()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_backend.c127 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; in DEFINE_SPECIAL_STACK_OF_CONST() local
135 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); in DEFINE_SPECIAL_STACK_OF_CONST()
143 if (include_private && rsa_d != NULL) { in DEFINE_SPECIAL_STACK_OF_CONST()
146 rsa_d) in DEFINE_SPECIAL_STACK_OF_CONST()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c635 const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL; in rsa_to_text() local
667 RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); in rsa_to_text()
688 if (!print_labeled_bignum(out, "privateExponent:", rsa_d)) in rsa_to_text()
/freebsd/crypto/openssl/doc/man3/
H A DEVP_PKEY_fromdata.pod118 unsigned long rsa_d = 0x7b133399;
122 OSSL_PARAM_ulong("d", &rsa_d),
/freebsd/crypto/openssl/providers/fips/
H A Dself_test_data.inc1144 static const unsigned char rsa_d[] = {
1272 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_RSA_D, rsa_d),
1290 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_RSA_D, rsa_d),