Lines Matching refs:rsa
1 /* $OpenBSD: auth-rsa.c,v 1.86 2014/01/27 19:18:54 markus Exp $ */
22 #include <openssl/rsa.h>
30 #include "rsa.h"
84 if (BN_mod(challenge, challenge, key->rsa->n, ctx) == 0)
99 if (BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) {
102 BN_num_bits(key->rsa->n), SSH_RSA_MINIMUM_MODULUS_SIZE);
147 rsa_public_encrypt(encrypted_challenge, challenge, key->rsa);
228 if (BN_cmp(key->rsa->n, client_n) != 0)
232 keybits = BN_num_bits(key->rsa->n);
236 file, linenum, BN_num_bits(key->rsa->n), bits);