Searched refs:dsa_priv_key (Results 1 - 6 of 6) sorted by relevance
/freebsd-13-stable/crypto/openssh/regress/unittests/sshkey/ |
H A D | common.h | 24 const BIGNUM *dsa_priv_key(struct sshkey *k);
|
H A D | common.c | 154 dsa_priv_key(struct sshkey *k) function
|
H A D | test_sshkey.c | 274 ASSERT_PTR_NE(dsa_priv_key(kd), NULL); 318 ASSERT_PTR_EQ(dsa_priv_key(k1), NULL);
|
H A D | test_file.c | 173 ASSERT_BIGNUM_EQ(dsa_priv_key(k1), b);
|
/freebsd-13-stable/crypto/openssh/ |
H A D | sshkey.c | 2774 const BIGNUM *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key, *dsa_priv_key; local 2810 DSA_get0_key(key->dsa, &dsa_pub_key, &dsa_priv_key); 2815 (r = sshbuf_put_bignum2(b, dsa_priv_key)) != 0) 2823 DSA_get0_key(key->dsa, NULL, &dsa_priv_key); 2825 (r = sshbuf_put_bignum2(b, dsa_priv_key)) != 0) 2929 BIGNUM *dsa_pub_key = NULL, *dsa_priv_key = NULL; local 2948 (dsa_priv_key = BN_new()) == NULL) { 2956 (r = sshbuf_get_bignum2(buf, dsa_priv_key)) != 0) 2963 if (!DSA_set0_key(k->dsa, dsa_pub_key, dsa_priv_key)) { 2967 dsa_pub_key = dsa_priv_key [all...] |
H A D | ssh-keygen.c | 454 BIGNUM *dsa_pub_key = NULL, *dsa_priv_key = NULL; local 504 (dsa_priv_key = BN_new()) == NULL) 510 buffer_get_bignum_bits(b, dsa_priv_key); 514 if (!DSA_set0_key(key->dsa, dsa_pub_key, dsa_priv_key)) 516 dsa_pub_key = dsa_priv_key = NULL; /* transferred */
|
Completed in 82 milliseconds