Searched refs:rsa_n (Results 1 - 10 of 10) sorted by relevance

/freebsd-12-stable/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.h18 const BIGNUM *rsa_n(struct sshkey *k);
H A Dcommon.c88 rsa_n(struct sshkey *k) function
H A Dtest_sshkey.c262 ASSERT_PTR_NE(rsa_n(kr), NULL);
265 ASSERT_INT_EQ(BN_num_bits(rsa_n(kr)), 1024);
300 ASSERT_PTR_NE(rsa_n(k1), NULL);
H A Dmktestdata.sh75 rm -f rsa_n dsa_n ecdsa_n # new-format keys
90 cp rsa_1 rsa_n
H A Dtest_file.c63 ASSERT_BIGNUM_EQ(rsa_n(k1), a);
82 buf = load_file("rsa_n");
/freebsd-12-stable/crypto/openssh/
H A Dssh-pkcs11.c457 const BIGNUM *rsa_n, *rsa_e; local
459 RSA_get0_key(rsa, &rsa_n, &rsa_e, NULL);
460 return rsa_n != NULL && rsa_e != NULL;
531 BIGNUM *rsa_n, *rsa_e; local
533 rsa_n = BN_bin2bn(attribs[1].pValue,
537 if (rsa_n != NULL && rsa_e != NULL) {
539 rsa_n, rsa_e, NULL))
541 rsa_n = rsa_e = NULL; /* transferred */
543 BN_free(rsa_n);
H A Dssh-rsa.c167 const BIGNUM *rsa_n; local
186 RSA_get0_key(key->rsa, &rsa_n, NULL, NULL);
187 if (BN_num_bits(rsa_n) < SSH_RSA_MINIMUM_MODULUS_SIZE)
249 const BIGNUM *rsa_n; local
260 RSA_get0_key(key->rsa, &rsa_n, NULL, NULL);
261 if (BN_num_bits(rsa_n) < SSH_RSA_MINIMUM_MODULUS_SIZE)
H A Dsshkey.c287 const BIGNUM *rsa_n, *dsa_p; local
296 RSA_get0_key(k->rsa, &rsa_n, NULL, NULL);
297 return BN_num_bits(rsa_n);
723 const BIGNUM *rsa_n, *rsa_e, *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key; local
780 RSA_get0_key(key->rsa, &rsa_n, &rsa_e, NULL);
783 (ret = sshbuf_put_bignum2(b, rsa_n)) != 0)
1732 const BIGNUM *rsa_n, *rsa_e; local
1796 RSA_get0_key(k->rsa, &rsa_n, &rsa_e, NULL);
1797 if ((rsa_n_dup = BN_dup(rsa_n)) == NULL ||
1999 const BIGNUM *rsa_n; local
2019 BIGNUM *rsa_n = NULL, *rsa_e = NULL; local
2520 const BIGNUM *rsa_n, *rsa_e, *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key; local
2773 const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q; local
2926 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; local
[all...]
H A Dssh-keygen.c455 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL; local
541 if ((rsa_n = BN_new()) == NULL ||
548 buffer_get_bignum_bits(b, rsa_n);
552 if (!RSA_set0_key(key->rsa, rsa_n, rsa_e, rsa_d))
554 rsa_n = rsa_e = rsa_d = NULL; /* transferred */
/freebsd-12-stable/contrib/bearssl/test/
H A Dtest_crypto.c5851 unsigned char rsa_n[128], rsa_e[3], rsa_p[64], rsa_q[64]; local
5912 rsa_pk.n = rsa_n;
5913 rsa_pk.nlen = hextobin(rsa_n, "E65DAEF196D22C300B3DAE1CE5157EDF821BB6038E419D8D363A8B2DA84A1321042330E6F87A8BD8FE6BA1D2A17031955ED2315CC5FD2397197E238A5E0D2D0AFD25717E814EC4D2BBA887327A3C5B3A450FD8D547BDFCBB0F73B997CA13DD5E7572C4D5BAA764A349BAB2F868ACF4574AE2C7AEC94B77D2EE00A21B6CB175BB");

Completed in 90 milliseconds