Searched refs:rsa (Results 51 - 75 of 217) sorted by relevance

123456789

/freebsd-9.3-release/crypto/openssh/
H A Dauth-rsa.c1 /* $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
[all...]
H A Dssh-pkcs11-client.c104 pkcs11_rsa_private_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa, argument
116 key.rsa = rsa;
130 if (slen <= (u_int)RSA_size(rsa)) {
142 wrap_key(RSA *rsa) argument
149 RSA_set_method(rsa, &helper_rsa);
210 wrap_key(k->rsa);
H A Dauth-rh-rsa.c1 /* $OpenBSD: auth-rh-rsa.c,v 1.43 2010/03/04 10:36:03 djm Exp $ */
75 client_host_key->rsa == NULL)
/freebsd-9.3-release/crypto/openssh/contrib/caldera/
H A Dssh-host-keygen27 $keygen -t rsa -f $keydir/ssh_host_rsa_key -C '' -N ''
/freebsd-9.3-release/crypto/openssh/regress/
H A Dagent-timeout.sh15 for t in rsa rsa1; do
H A Dconch-ciphers.sh19 ${CONCH} --identity $OBJ/rsa --port $PORT --user $USER -e none \
H A Dkeygen-change.sh9 for t in rsa dsa rsa1; do
/freebsd-9.3-release/etc/rc.d/
H A Dsshd43 rsa|dsa|ecdsa|ed25519)
68 sshd_keygen_alg rsa
/freebsd-9.3-release/usr.sbin/pc-sysinstall/backend-query/
H A Dsetup-ssh-keys.sh51 ssh-keygen -q -t rsa -N '' -f .ssh/id_rsa
/freebsd-9.3-release/crypto/openssl/crypto/evp/
H A Dp_open.c67 # include <openssl/rsa.h>
90 size = RSA_size(priv->pkey.rsa);
H A Dm_ripemd.c69 # include <openssl/rsa.h>
H A Dm_sha.c69 # include <openssl/rsa.h>
H A Dm_md2.c70 # include <openssl/rsa.h>
H A Dm_md5.c70 # include <openssl/rsa.h>
H A Dm_mdc2.c69 # include <openssl/rsa.h>
/freebsd-9.3-release/crypto/openssl/crypto/asn1/
H A Dd2i_pu.c66 # include <openssl/rsa.h>
94 if ((ret->pkey.rsa = d2i_RSAPublicKey(NULL,
/freebsd-9.3-release/crypto/openssl/engines/
H A De_chil.c70 # include <openssl/rsa.h>
116 static int hwcrhk_rsa_mod_exp(BIGNUM *r, const BIGNUM *I, RSA *rsa,
122 static int hwcrhk_rsa_finish(RSA *rsa);
875 RSA *rsa = NULL; local
878 rsa = res->pkey.rsa;
879 res->pkey.rsa = RSA_new();
880 res->pkey.rsa->n = rsa->n;
881 res->pkey.rsa
958 hwcrhk_rsa_mod_exp(BIGNUM *r, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) argument
1080 hwcrhk_rsa_finish(RSA *rsa) argument
[all...]
H A De_4758cca.c65 # include <openssl/rsa.h>
86 /* rsa functions */
90 unsigned char *to, RSA *rsa, int padding);
92 unsigned char *to, RSA *rsa, int padding);
95 const RSA *rsa);
98 unsigned int siglen, const RSA *rsa);
561 unsigned char *to, RSA *rsa, int padding)
572 long outputLength = RSA_size(rsa);
574 unsigned char *keyToken = (unsigned char *)RSA_get_ex_data(rsa, hndidx);
590 unsigned char *to, RSA *rsa, in
560 cca_rsa_pub_enc(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding) argument
589 cca_rsa_priv_dec(int flen, const unsigned char *from, unsigned char *to, RSA *rsa, int padding) argument
618 cca_rsa_verify(int type, const unsigned char *m, unsigned int m_len, unsigned char *sigbuf, unsigned int siglen, const RSA *rsa) argument
730 cca_rsa_sign(int type, const unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, const RSA *rsa) argument
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Dcrypto.c94 RSA *rsa; member in union:hx509_private_key::__anon4600
204 RSA *rsa; local
212 rsa = RSA_new();
213 if (rsa == NULL) {
225 rsa->n = heim_int2BN(&pk.modulus);
226 rsa->e = heim_int2BN(&pk.publicExponent);
230 if (rsa->n == NULL || rsa->e == NULL) {
236 tosize = RSA_size(rsa);
245 to, rsa, RSA_PKCS1_PADDIN
1166 RSA *rsa; local
2476 RSA *rsa; local
[all...]
/freebsd-9.3-release/crypto/openssl/demos/x509/
H A Dmkcert.c30 RSA_print_fp(stdout, pkey->pkey.rsa, 0);
68 RSA *rsa; local
85 rsa = RSA_generate_key(bits, RSA_F4, callback, NULL);
86 if (!EVP_PKEY_assign_RSA(pk, rsa)) {
90 rsa = NULL;
/freebsd-9.3-release/crypto/openssl/demos/
H A Dselfsign.c25 RSA_print_fp(stdout, pkey->pkey.rsa, 0);
80 RSA *rsa; local
99 rsa = RSA_generate_key(bits, RSA_F4, callback, NULL);
100 if (!EVP_PKEY_assign_RSA(pk, rsa)) {
104 rsa = NULL;
/freebsd-9.3-release/crypto/openssl/crypto/pem/
H A Dpem_all.c121 # include <openssl/rsa.h>
131 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
156 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) argument
165 if (rsa) {
166 RSA_free(*rsa);
167 *rsa = rtmp;
172 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, argument
177 return pkey_get_rsa(pktmp, rsa);
182 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u) argument
186 return pkey_get_rsa(pktmp, rsa);
[all...]
H A Dpem_seal.c68 # include <openssl/rsa.h>
84 j = RSA_size(pubk[i]->pkey.rsa);
107 RSA_size(pubk[i]->pkey.rsa));
155 i = RSA_size(priv->pkey.rsa);
/freebsd-9.3-release/contrib/wpa/src/tls/
H A DMakefile21 rsa.o \
/freebsd-9.3-release/crypto/openssl/util/
H A Dspeed.sh23 apps/ssleay speed rc4 rsa md2 >speed.2l
32 apps/ssleay speed rsa rc4 idea des >speed.4l

Completed in 286 milliseconds

123456789