Lines Matching defs:rsa_n
287 const BIGNUM *rsa_n, *dsa_p;
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;
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;
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;
2001 RSA_get0_key(rsa, &rsa_n, NULL, NULL);
2002 if (BN_num_bits(rsa_n) < SSH_RSA_MINIMUM_MODULUS_SIZE)
2019 BIGNUM *rsa_n = NULL, *rsa_e = NULL;
2060 (rsa_n = BN_new()) == NULL) {
2065 sshbuf_get_bignum2(b, rsa_n) != 0) {
2069 if (!RSA_set0_key(key->rsa, rsa_n, rsa_e, NULL)) {
2073 rsa_n = rsa_e = NULL; /* transferred */
2250 BN_clear_free(rsa_n);
2520 const BIGNUM *rsa_n, *rsa_e, *dsa_p, *dsa_q, *dsa_g, *dsa_pub_key;
2577 RSA_get0_key(k->rsa, &rsa_n, &rsa_e, NULL);
2579 (ret = sshbuf_put_bignum2(cert, rsa_n)) != 0)
2773 const BIGNUM *rsa_n, *rsa_e, *rsa_d, *rsa_iqmp, *rsa_p, *rsa_q;
2782 RSA_get0_key(key->rsa, &rsa_n, &rsa_e, &rsa_d);
2785 if ((r = sshbuf_put_bignum2(b, rsa_n)) != 0 ||
2926 BIGNUM *rsa_n = NULL, *rsa_e = NULL, *rsa_d = NULL;
3039 if ((rsa_n = BN_new()) == NULL ||
3048 if ((r = sshbuf_get_bignum2(buf, rsa_n)) != 0 ||
3055 if (!RSA_set0_key(k->rsa, rsa_n, rsa_e, rsa_d)) {
3059 rsa_n = rsa_e = rsa_d = NULL; /* transferred */
3207 BN_clear_free(rsa_n);