Searched refs:rsa_q (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.h21 const BIGNUM *rsa_q(struct sshkey *k);
H A Dcommon.c121 rsa_q(struct sshkey *k) function
H A Dtest_file.c65 ASSERT_BIGNUM_EQ(rsa_q(k1), c);
/freebsd-13-stable/crypto/openssh/
H A Dssh-rsa.c111 const BIGNUM *rsa_p, *rsa_q, *rsa_d; local
122 RSA_get0_factors(key->rsa, &rsa_p, &rsa_q);
138 if ((BN_sub(aux, rsa_q, BN_value_one()) == 0) ||
H A Dsshkey.c2773 const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q; local
2783 RSA_get0_factors(key->rsa, &rsa_p, &rsa_q);
2790 (r = sshbuf_put_bignum2(b, rsa_q)) != 0)
2799 RSA_get0_factors(key->rsa, &rsa_p, &rsa_q);
2805 (r = sshbuf_put_bignum2(b, rsa_q)) != 0)
2927 BIGNUM *rsa_iqmp = NULL, *rsa_p = NULL, *rsa_q = NULL; local
3044 (rsa_q = BN_new()) == NULL) {
3053 (r = sshbuf_get_bignum2(buf, rsa_q)) != 0)
3060 if (!RSA_set0_factors(k->rsa, rsa_p, rsa_q)) {
3064 rsa_p = rsa_q
[all...]
H A Dssh-keygen.c456 BIGNUM *rsa_p = NULL, *rsa_q = NULL, *rsa_iqmp = NULL; local
544 (rsa_q = BN_new()) == NULL ||
550 buffer_get_bignum_bits(b, rsa_q);
555 if (!RSA_set0_factors(key->rsa, rsa_p, rsa_q))
557 rsa_p = rsa_q = NULL; /* transferred */
/freebsd-13-stable/contrib/bearssl/test/
H A Dtest_crypto.c5851 unsigned char rsa_n[128], rsa_e[3], rsa_p[64], rsa_q[64]; local
5920 rsa_sk.q = rsa_q;
5921 rsa_sk.qlen = hextobin(rsa_q, "E6F4F66818B7442297DDEB45E9B3D438E5B57BB5EF86EFF2462AD6B9C10F383517CDD2E7E36EAD4BEBCC57CFE8AA985F7E7B38B96D30FFBE9ED9FE21B1CFB63D");

Completed in 230 milliseconds