Home
last modified time | relevance | path

Searched refs:RSA (Results 1 – 25 of 106) sorted by relevance

12345

/external/openssl/crypto/rsa/
Drsa.h74 #error RSA is disabled.
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 *rsa); /* called at free */
117 unsigned char *sigret, unsigned int *siglen, const RSA *rsa);
120 unsigned char *sigbuf, unsigned int siglen, const RSA *rsa);
[all …]
Drsa_asn1.c84 RSA_free((RSA *)*pval); in rsa_cb()
92 ASN1_SIMPLE(RSA, version, LONG),
93 ASN1_SIMPLE(RSA, n, BIGNUM),
94 ASN1_SIMPLE(RSA, e, BIGNUM),
95 ASN1_SIMPLE(RSA, d, BIGNUM),
96 ASN1_SIMPLE(RSA, p, BIGNUM),
97 ASN1_SIMPLE(RSA, q, BIGNUM),
98 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
99 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
100 ASN1_SIMPLE(RSA, iqmp, BIGNUM)
[all …]
Drsa_null.c73 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 *rsa,int padding);
81 static int RSA_null_mod_exp(const BIGNUM *r0, const BIGNUM *i, RSA *rsa);
83 static int RSA_null_init(RSA *rsa);
84 static int RSA_null_finish(RSA *rsa);
108 unsigned char *to, RSA *rsa, int padding) in RSA_null_public_encrypt()
115 unsigned char *to, RSA *rsa, int padding) in RSA_null_private_encrypt()
122 unsigned char *to, RSA *rsa, int padding) in RSA_null_private_decrypt()
[all …]
Drsa_lib.c74 RSA *RSA_new(void) in RSA_new()
76 RSA *r=RSA_new_method(NULL); in RSA_new()
104 const RSA_METHOD *RSA_get_method(const RSA *rsa) in RSA_get_method()
109 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) in RSA_set_method()
128 RSA *RSA_new_method(ENGINE *engine) in RSA_new_method()
130 RSA *ret; in RSA_new_method()
132 ret=(RSA *)OPENSSL_malloc(sizeof(RSA)); in RSA_new_method()
199 void RSA_free(RSA *r) in RSA_free()
241 int RSA_up_ref(RSA *r) in RSA_up_ref()
264 int RSA_set_ex_data(RSA *r, int idx, void *arg) in RSA_set_ex_data()
[all …]
Drsa_eay.c121 unsigned char *to, RSA *rsa,int padding);
123 unsigned char *to, RSA *rsa,int padding);
125 unsigned char *to, RSA *rsa,int padding);
127 unsigned char *to, RSA *rsa,int padding);
128 static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx);
129 static int RSA_eay_init(RSA *rsa);
130 static int RSA_eay_finish(RSA *rsa);
164 unsigned char *to, RSA *rsa, int padding) in RSA_eay_public_encrypt()
263 static BN_BLINDING *rsa_get_blinding(RSA *rsa, int *local, BN_CTX *ctx) in rsa_get_blinding()
355 unsigned char *to, RSA *rsa, int padding) in RSA_eay_private_encrypt()
[all …]
Drsa_test.c33 static int key1(RSA *key, unsigned char *c) in key1()
82 static int key2(RSA *key, unsigned char *c) in key2()
127 static int key3(RSA *key, unsigned char *c) in key3()
214 RSA *key; in main()
Drsa_depr.c71 RSA *RSA_generate_key(int bits, unsigned long e_value, in RSA_generate_key()
76 RSA *rsa = RSA_new(); in RSA_generate_key()
/external/openssl/include/openssl/
Drsa.h74 #error RSA is disabled.
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 *rsa); /* called at free */
117 unsigned char *sigret, unsigned int *siglen, const RSA *rsa);
120 unsigned char *sigbuf, unsigned int siglen, const RSA *rsa);
[all …]
Dx509.h653 #define RSAPublicKey_dup(rsa) (RSA *)ASN1_dup((int (*)())i2d_RSAPublicKey, \
655 #define RSAPrivateKey_dup(rsa) (RSA *)ASN1_dup((int (*)())i2d_RSAPrivateKey, \
658 #define d2i_RSAPrivateKey_fp(fp,rsa) (RSA *)ASN1_d2i_fp((char *(*)())\
663 #define d2i_RSAPrivateKey_bio(bp,rsa) (RSA *)ASN1_d2i_bio((char *(*)())\
669 #define d2i_RSAPublicKey_fp(fp,rsa) (RSA *)ASN1_d2i_fp((char *(*)())\
674 #define d2i_RSAPublicKey_bio(bp,rsa) (RSA *)ASN1_d2i_bio((char *(*)())\
792 RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa);
793 int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa);
794 RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa);
795 int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa);
[all …]
/external/openssl/crypto/pem/
Dpem_all.c131 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
163 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in IMPLEMENT_PEM_rw()
165 RSA *rtmp; in IMPLEMENT_PEM_rw()
177 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, in PEM_read_bio_RSAPrivateKey()
187 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, in PEM_read_RSAPrivateKey()
197 IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA, RSAPrivateKey) in IMPLEMENT_PEM_write_cb_const() argument
198 IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, RSAPublicKey) in IMPLEMENT_PEM_write_cb_const()
199 IMPLEMENT_PEM_rw(RSA_PUBKEY, RSA, PEM_STRING_PUBLIC, RSA_PUBKEY) in IMPLEMENT_PEM_write_cb_const()
Dmessage11 MIC-Info: RSA-MD5,RSA,
/external/openssl/crypto/x509/
Dx_all.c214 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp()
219 int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa) in i2d_RSAPrivateKey_fp()
224 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPublicKey_fp()
230 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) in d2i_RSA_PUBKEY_fp()
237 int i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa) in i2d_RSAPublicKey_fp()
242 int i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa) in i2d_RSA_PUBKEY_fp()
248 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPrivateKey_bio()
253 int i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa) in i2d_RSAPrivateKey_bio()
258 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPublicKey_bio()
264 RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) in d2i_RSA_PUBKEY_bio()
[all …]
Dx509.h653 #define RSAPublicKey_dup(rsa) (RSA *)ASN1_dup((int (*)())i2d_RSAPublicKey, \
655 #define RSAPrivateKey_dup(rsa) (RSA *)ASN1_dup((int (*)())i2d_RSAPrivateKey, \
658 #define d2i_RSAPrivateKey_fp(fp,rsa) (RSA *)ASN1_d2i_fp((char *(*)())\
663 #define d2i_RSAPrivateKey_bio(bp,rsa) (RSA *)ASN1_d2i_bio((char *(*)())\
669 #define d2i_RSAPublicKey_fp(fp,rsa) (RSA *)ASN1_d2i_fp((char *(*)())\
674 #define d2i_RSAPublicKey_bio(bp,rsa) (RSA *)ASN1_d2i_bio((char *(*)())\
792 RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa);
793 int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa);
794 RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa);
795 int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa);
[all …]
/external/openssl/crypto/asn1/
Dn_pkey.c109 static RSA *d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os,
114 int i2d_Netscape_RSA(const RSA *a, unsigned char **pp, in i2d_Netscape_RSA()
121 int i2d_RSA_NET(const RSA *a, unsigned char **pp, in i2d_RSA_NET()
233 RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, in d2i_Netscape_RSA()
240 RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length, in d2i_RSA_NET()
244 RSA *ret=NULL; in d2i_RSA_NET()
281 static RSA *d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os, in d2i_RSA_NET_2()
286 RSA *ret=NULL; in d2i_RSA_NET_2()
/external/ipsec-tools/src/racoon/
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);
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 *));
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);
/external/openssl/apps/
Dserver.pem16 -----BEGIN RSA PRIVATE KEY-----
24 -----END RSA PRIVATE KEY-----
59 -----BEGIN RSA PRIVATE KEY-----
73 -----END RSA PRIVATE KEY-----
164 -----BEGIN RSA PRIVATE KEY-----
178 -----END RSA PRIVATE KEY-----
179 subject=/C=US/O=RSA Data Security, Inc./OU=Commercial Certification Authority
180 issuer= /C=US/O=RSA Data Security, Inc./OU=Commercial Certification Authority
198 subject=/C=US/O=RSA Data Security, Inc./OU=Secure Server Certification Authority
199 issuer= /C=US/O=RSA Data Security, Inc./OU=Secure Server Certification Authority
Dserver2.pem17 -----BEGIN RSA PRIVATE KEY-----
31 -----END RSA PRIVATE KEY-----
66 -----BEGIN RSA PRIVATE KEY-----
80 -----END RSA PRIVATE KEY-----
171 -----BEGIN RSA PRIVATE KEY-----
185 -----END RSA PRIVATE KEY-----
186 subject=/C=US/O=RSA Data Security, Inc./OU=Commercial Certification Authority
187 issuer= /C=US/O=RSA Data Security, Inc./OU=Commercial Certification Authority
205 subject=/C=US/O=RSA Data Security, Inc./OU=Secure Server Certification Authority
206 issuer= /C=US/O=RSA Data Security, Inc./OU=Secure Server Certification Authority
Ds512-key.pem1 -----BEGIN RSA PRIVATE KEY-----
9 -----END RSA PRIVATE KEY-----
Dca-key.pem1 -----BEGIN RSA PRIVATE KEY-----
15 -----END RSA PRIVATE KEY-----
Dpca-key.pem1 -----BEGIN RSA PRIVATE KEY-----
15 -----END RSA PRIVATE KEY-----
Ds1024key.pem1 -----BEGIN RSA PRIVATE KEY-----
15 -----END RSA PRIVATE KEY-----
/external/openssl/crypto/engine/
DREADME60 Already there is a problem with the way ENGINE supports RSA, DSA, etc whereby
65 RSA functions (eg. "RSA_free(RSA_new());") will result in large quantities of
72 hooking to ENGINE works from RSA, DSA, DH, RAND, as well as adding new hooking
76 work prior to ENGINE :-). Ie. RSA now has a "RSA_METHOD" pointer again - this
77 was previously replaced by an "ENGINE" pointer and all RSA code that required
79 temporarily get and use the ENGINE's RSA implementation. Apart from being more
80 efficient, switching back to each RSA having an RSA_METHOD pointer also allows
83 have our RSA structure pointing its RSA_METHOD pointer to the software
86 A look at the EVP_CIPHER hooking is most explanatory, the RSA, DSA (etc) cases
127 class-specific ENGINE code for digests, RSA, etc nor will it bleed over into
[all …]
/external/openssl/crypto/pkcs7/
Dinfokey.pem1 -----BEGIN RSA PRIVATE KEY-----
9 -----END RSA PRIVATE KEY-----
/external/dropbear/libtomcrypt/testprof/
Dtest.key1 -----BEGIN RSA PRIVATE KEY-----
15 -----END RSA PRIVATE KEY-----

12345