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

/freebsd-13-stable/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.h19 const BIGNUM *rsa_e(struct sshkey *k);
H A Dcommon.c99 rsa_e(struct sshkey *k) function
H A Dtest_sshkey.c264 ASSERT_PTR_NE(rsa_e(kr), NULL);
302 ASSERT_PTR_NE(rsa_e(k1), NULL);
/freebsd-13-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
535 rsa_e = BN_bin2bn(attribs[2].pValue,
537 if (rsa_n != NULL && rsa_e != NULL) {
539 rsa_n, rsa_e, NULL))
541 rsa_n = rsa_e = NULL; /* transferred */
544 BN_free(rsa_e);
H A Dsshkey.c723 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);
782 (ret = sshbuf_put_bignum2(b, rsa_e)) != 0 ||
1732 const BIGNUM *rsa_n, *rsa_e; local
1796 RSA_get0_key(k->rsa, &rsa_n, &rsa_e, NULL);
1798 (rsa_e_dup = BN_dup(rsa_e)) == NULL) {
2019 BIGNUM *rsa_n = NULL, *rsa_e = NULL; local
2059 if ((rsa_e = BN_new()) == NULL ||
2064 if (sshbuf_get_bignum2(b, rsa_e) != 0 ||
2069 if (!RSA_set0_key(key->rsa, rsa_n, rsa_e, NUL
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
533 if ((rsa_e = BN_new()) == NULL)
535 if (!BN_set_word(rsa_e, e)) {
536 BN_clear_free(rsa_e);
552 if (!RSA_set0_key(key->rsa, rsa_n, rsa_e, rsa_d))
554 rsa_n = rsa_e = rsa_d = 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
5914 rsa_pk.e = rsa_e;
5915 rsa_pk.elen = hextobin(rsa_e, "010001");

Completed in 199 milliseconds