Searched refs:rsa_d (Results 1 – 3 of 3) sorted by relevance
/dragonfly/crypto/openssh/ |
H A D | ssh-rsa.c | 111 const BIGNUM *rsa_p, *rsa_q, *rsa_d; in ssh_rsa_complete_crt_parameters() local 121 RSA_get0_key(key->rsa, NULL, NULL, &rsa_d); in ssh_rsa_complete_crt_parameters() 130 if ((d_consttime = BN_dup(rsa_d)) == NULL || in ssh_rsa_complete_crt_parameters()
|
H A D | sshkey.c | 3260 const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q; in sshkey_private_serialize_opt() local 3273 RSA_get0_key(key->rsa, &rsa_n, &rsa_e, &rsa_d); in sshkey_private_serialize_opt() 3278 (r = sshbuf_put_bignum2(b, rsa_d)) != 0 || in sshkey_private_serialize_opt() 3289 RSA_get0_key(key->rsa, NULL, NULL, &rsa_d); in sshkey_private_serialize_opt() 3293 (r = sshbuf_put_bignum2(b, rsa_d)) != 0 || in sshkey_private_serialize_opt() 3473 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; in sshkey_private_deserialize() local 3636 if ((r = sshbuf_get_bignum2(buf, &rsa_d)) != 0 || in sshkey_private_deserialize() 3641 if (!RSA_set0_key(k->rsa, NULL, NULL, rsa_d)) { in sshkey_private_deserialize() 3645 rsa_d = NULL; /* transferred */ in sshkey_private_deserialize() 3756 BN_clear_free(rsa_d); in sshkey_private_deserialize()
|
H A D | ssh-keygen.c | 486 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; in do_convert_private_ssh2() local 568 (rsa_d = BN_new()) == NULL || in do_convert_private_ssh2() 573 buffer_get_bignum_bits(b, rsa_d); in do_convert_private_ssh2() 578 if (!RSA_set0_key(key->rsa, rsa_n, rsa_e, rsa_d)) in do_convert_private_ssh2() 580 rsa_n = rsa_e = rsa_d = NULL; /* transferred */ in do_convert_private_ssh2()
|