Searched refs:RSA (Results 1 - 25 of 92) sorted by relevance

1234

/external/openssh/
H A Drsa.h7 * RSA key generation, encryption and decryption.
22 void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *);
23 int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *);
24 void rsa_generate_additional_parameters(RSA *);
H A Drsa.c37 * Description of the RSA algorithm can be found e.g. from the following
54 * The RSA Frequently Asked Questions document by RSA Data Security,
57 * RSA in 3 lines of perl by Adam Back <aba@atlax.ex.ac.uk>, 1995, as
75 rsa_public_encrypt(BIGNUM *out, BIGNUM *in, RSA *key)
104 rsa_private_decrypt(BIGNUM *out, BIGNUM *in, RSA *key)
132 rsa_generate_additional_parameters(RSA *rsa)
/external/openssl/crypto/rsa/
H A Drsa_asn1.c75 RSA_free((RSA *)*pval);
83 ASN1_SIMPLE(RSA, version, LONG),
84 ASN1_SIMPLE(RSA, n, BIGNUM),
85 ASN1_SIMPLE(RSA, e, BIGNUM),
86 ASN1_SIMPLE(RSA, d, BIGNUM),
87 ASN1_SIMPLE(RSA, p, BIGNUM),
88 ASN1_SIMPLE(RSA, q, BIGNUM),
89 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
90 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
91 ASN1_SIMPLE(RSA, iqm
[all...]
H A Drsa_null.c65 /* This is a dummy RSA implementation that just returns errors when called.
66 * It is designed to allow some RSA functions to work while stopping those
67 * covered by the RSA patent. That is RSA, encryption, decryption, signing
68 * and verify is not allowed but RSA key generation, key checking and other
69 * operations (like storing RSA keys) are permitted.
73 unsigned char *to, RSA *rsa,int padding);
75 unsigned char *to, RSA *rsa,int padding);
77 unsigned char *to, RSA *rsa,int padding);
79 unsigned char *to, RSA *rs
[all...]
H A Drsa_locl.h4 RSA *rsa);
H A Drsa.h11 * apply to all code found in this distribution, be it the RC4, RSA,
74 #error RSA is disabled.
82 /* typedef struct rsa_st RSA; */
90 RSA *rsa,int padding);
93 RSA *rsa,int padding);
96 RSA *rsa,int padding);
99 RSA *rsa,int padding);
100 int (*rsa_mod_exp)(BIGNUM *r0,const BIGNUM *I,RSA *rsa,BN_CTX *ctx); /* Can be null */
104 int (*init)(RSA *rsa); /* called at new */
105 int (*finish)(RSA *rs
[all...]
H A Drsa_prn.c65 int RSA_print_fp(FILE *fp, const RSA *x, int off)
82 int RSA_print(BIO *bp, const RSA *x, int off)
87 if (!pk || !EVP_PKEY_set1_RSA(pk, (RSA *)x))
H A Drsa_lib.c11 * apply to all code found in this distribution, be it the RC4, RSA,
74 const char RSA_version[]="RSA" OPENSSL_VERSION_PTEXT;
78 RSA *RSA_new(void)
80 RSA *r=RSA_new_method(NULL);
111 const RSA_METHOD *RSA_get_method(const RSA *rsa)
116 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth)
135 RSA *RSA_new_method(ENGINE *engine)
137 RSA *ret;
139 ret=(RSA *)OPENSSL_malloc(sizeof(RSA));
[all...]
H A Drsa_depr.c71 RSA *RSA_generate_key(int bits, unsigned long e_value,
76 RSA *rsa = RSA_new();
H A Drsa_crpt.c11 * apply to all code found in this distribution, be it the RC4, RSA,
70 int RSA_size(const RSA *r)
76 RSA *rsa, int padding)
90 RSA *rsa, int padding)
104 RSA *rsa, int padding)
118 RSA *rsa, int padding)
131 int RSA_flags(const RSA *r)
136 void RSA_blinding_off(RSA *rsa)
147 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx)
190 BN_BLINDING *RSA_setup_blinding(RSA *rs
[all...]
H A Drsa_test.c15 printf("No RSA support\n");
33 static int key1(RSA *key, unsigned char *c)
82 static int key2(RSA *key, unsigned char *c)
127 static int key3(RSA *key, unsigned char *c)
214 RSA *key;
H A Drsa_saos.c11 * apply to all code found in this distribution, be it the RC4, RSA,
68 unsigned char *sigret, unsigned int *siglen, RSA *rsa)
107 RSA *rsa)
H A Drsa_pss.c73 int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash,
79 int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash,
187 int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
194 int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM,
/external/openssl/include/openssl/
H A Drsa.h11 * apply to all code found in this distribution, be it the RC4, RSA,
74 #error RSA is disabled.
82 /* typedef struct rsa_st RSA; */
90 RSA *rsa,int padding);
93 RSA *rsa,int padding);
96 RSA *rsa,int padding);
99 RSA *rsa,int padding);
100 int (*rsa_mod_exp)(BIGNUM *r0,const BIGNUM *I,RSA *rsa,BN_CTX *ctx); /* Can be null */
104 int (*init)(RSA *rsa); /* called at new */
105 int (*finish)(RSA *rs
[all...]
H A Dx509.h11 * apply to all code found in this distribution, be it the RC4, RSA,
691 RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa);
692 int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa);
693 RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa);
694 int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa);
695 RSA *d2i_RSA_PUBKEY_fp(FILE *fp,RSA **rsa);
696 int i2d_RSA_PUBKEY_fp(FILE *fp,RSA *rs
[all...]
/external/ipsec-tools/src/racoon/
H A Drsalist.h52 RSA *rsa;
55 int rsa_key_insert(struct genlist *list, struct netaddr *src, struct netaddr *dst, RSA *rsa);
59 RSA *rsa_try_check_rsasign(vchar_t *source, vchar_t *sig, struct genlist *list);
H A Dprsa_par.h96 RSA *rsa;
H A Dcrypto_openssl.h63 extern int eay_check_rsasign __P((vchar_t *, vchar_t *, RSA *));
64 extern vchar_t *eay_get_rsasign __P((vchar_t *, RSA *));
66 /* RSA */
67 extern vchar_t *eay_rsa_sign __P((vchar_t *, RSA *));
68 extern int eay_rsa_verify __P((vchar_t *, vchar_t *, RSA *));
220 RSA *base64_pubkey2rsa(char *in);
221 RSA *bignum_pubkey2rsa(BIGNUM *in);
H A Dprsa_tok.l36 /* This file contains a tokeniser for FreeS/WAN-style ipsec.secrets RSA keys. */
60 RSA { return TAG_RSA; }
/external/openssl/crypto/pem/
H A Dpem_all.c11 * apply to all code found in this distribution, be it the RC4, RSA,
130 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
154 /* We treat RSA or DSA private keys as a special case.
162 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa)
164 RSA *rtmp;
176 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb,
186 RSA *PEM_read_RSAPrivateKe
[all...]
/external/openssl/crypto/asn1/
H A Dn_pkey.c11 * apply to all code found in this distribution, be it the RC4, RSA,
109 static RSA *d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os,
114 int i2d_Netscape_RSA(const RSA *a, unsigned char **pp,
121 int i2d_RSA_NET(const RSA *a, unsigned char **pp,
238 RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length,
245 RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length,
249 RSA *re
[all...]
H A Dx_pubkey.c11 * apply to all code found in this distribution, be it the RC4, RSA,
227 /* The following are equivalents but which return RSA and DSA
231 RSA *d2i_RSA_PUBKEY(RSA **a, const unsigned char **pp,
235 RSA *key;
252 int i2d_RSA_PUBKEY(RSA *a, unsigned char **pp)
/external/openssl/crypto/x509/
H A Dx_all.c11 * apply to all code found in this distribution, be it the RC4, RSA,
227 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa)
232 int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa)
237 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa)
243 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa)
250 int i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa)
255 int i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rs
[all...]
H A Dx509.h11 * apply to all code found in this distribution, be it the RC4, RSA,
691 RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa);
692 int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa);
693 RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa);
694 int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa);
695 RSA *d2i_RSA_PUBKEY_fp(FILE *fp,RSA **rsa);
696 int i2d_RSA_PUBKEY_fp(FILE *fp,RSA *rs
[all...]
/external/openssh/openbsd-compat/
H A Dopenssl-compat.c83 RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *bn_e, void *cb)
85 RSA *new_rsa, tmp_rsa;

Completed in 203 milliseconds

1234