Home
last modified time | relevance | path

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

123456

/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);
121 const RSA *rsa);
[all …]
Drsa_asn1.c74 RSA_free((RSA *)*pval); in rsa_cb()
82 ASN1_SIMPLE(RSA, version, LONG),
83 ASN1_SIMPLE(RSA, n, BIGNUM),
84 ASN1_SIMPLE(RSA, e, BIGNUM),
85 ASN1_SIMPLE(RSA, d, BIGNUM),
86 ASN1_SIMPLE(RSA, p, BIGNUM),
87 ASN1_SIMPLE(RSA, q, BIGNUM),
88 ASN1_SIMPLE(RSA, dmp1, BIGNUM),
89 ASN1_SIMPLE(RSA, dmq1, BIGNUM),
90 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()
208 void RSA_free(RSA *r) in RSA_free()
250 int RSA_up_ref(RSA *r) in RSA_up_ref()
273 int RSA_set_ex_data(RSA *r, int idx, void *arg) in RSA_set_ex_data()
[all …]
Drsa_prn.c65 int RSA_print_fp(FILE *fp, const RSA *x, int off) in RSA_print_fp()
82 int RSA_print(BIO *bp, const RSA *x, int off) in RSA_print()
87 if (!pk || !EVP_PKEY_set1_RSA(pk, (RSA *)x)) in RSA_print()
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);
154 unsigned char *to, RSA *rsa, int padding) in RSA_eay_public_encrypt()
255 static BN_BLINDING *rsa_get_blinding(RSA *rsa, int *local, BN_CTX *ctx) in rsa_get_blinding()
349 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()
/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);
121 const RSA *rsa);
[all …]
Dx509.h687 RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa);
688 int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa);
689 RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa);
690 int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa);
691 RSA *d2i_RSA_PUBKEY_fp(FILE *fp,RSA **rsa);
692 int i2d_RSA_PUBKEY_fp(FILE *fp,RSA *rsa);
726 RSA *d2i_RSAPrivateKey_bio(BIO *bp,RSA **rsa);
727 int i2d_RSAPrivateKey_bio(BIO *bp,RSA *rsa);
728 RSA *d2i_RSAPublicKey_bio(BIO *bp,RSA **rsa);
729 int i2d_RSAPublicKey_bio(BIO *bp,RSA *rsa);
[all …]
/external/openssl/crypto/pem/
Dpem_all.c130 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa);
162 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in IMPLEMENT_PEM_rw()
164 RSA *rtmp; in IMPLEMENT_PEM_rw()
176 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, in PEM_read_bio_RSAPrivateKey()
186 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, in PEM_read_RSAPrivateKey()
196 IMPLEMENT_PEM_write_cb_const(RSAPrivateKey, RSA, PEM_STRING_RSA, RSAPrivateKey) in IMPLEMENT_PEM_write_cb_const() argument
197 IMPLEMENT_PEM_rw_const(RSAPublicKey, RSA, PEM_STRING_RSA_PUBLIC, RSAPublicKey) in IMPLEMENT_PEM_write_cb_const()
198 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.c208 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp()
213 int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa) in i2d_RSAPrivateKey_fp()
218 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPublicKey_fp()
224 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) in d2i_RSA_PUBKEY_fp()
231 int i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa) in i2d_RSAPublicKey_fp()
236 int i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa) in i2d_RSA_PUBKEY_fp()
242 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPrivateKey_bio()
247 int i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa) in i2d_RSAPrivateKey_bio()
252 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPublicKey_bio()
258 RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) in d2i_RSA_PUBKEY_bio()
[all …]
Dx509.h687 RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa);
688 int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa);
689 RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa);
690 int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa);
691 RSA *d2i_RSA_PUBKEY_fp(FILE *fp,RSA **rsa);
692 int i2d_RSA_PUBKEY_fp(FILE *fp,RSA *rsa);
726 RSA *d2i_RSAPrivateKey_bio(BIO *bp,RSA **rsa);
727 int i2d_RSAPrivateKey_bio(BIO *bp,RSA *rsa);
728 RSA *d2i_RSAPublicKey_bio(BIO *bp,RSA **rsa);
729 int i2d_RSAPublicKey_bio(BIO *bp,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()
280 static RSA *d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os, in d2i_RSA_NET_2()
285 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);
61 RSA *rsa_try_check_rsasign(vchar_t *source, vchar_t *sig, struct genlist *list);
Dcrypto_openssl.h62 extern int eay_check_rsasign __P((vchar_t *, vchar_t *, RSA *));
63 extern vchar_t *eay_get_rsasign __P((vchar_t *, RSA *));
66 extern vchar_t *eay_rsa_sign __P((vchar_t *, RSA *));
67 extern int eay_rsa_verify __P((vchar_t *, vchar_t *, RSA *));
219 RSA *base64_pubkey2rsa(char *in);
220 RSA *bignum_pubkey2rsa(BIGNUM *in);
Dplainrsa-gen.c88 mix_b64_pubkey(const RSA *key) in mix_b64_pubkey()
122 print_rsa_key(FILE *fp, const RSA *key) in print_rsa_key()
151 print_public_rsa_key(FILE *fp, const RSA *key) in print_public_rsa_key()
171 RSA *key = NULL; in convert_rsa_key()
206 RSA *key; in gen_rsa_key()
/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/android.testssl/
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
/external/openssl/crypto/pkcs7/
Dinfokey.pem1 -----BEGIN RSA PRIVATE KEY-----
9 -----END RSA PRIVATE KEY-----

123456