HomeSort by relevance Sort by last modified time
    Searched refs:RSA (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /external/openssl/crypto/rsa/
rsa_asn1.c 62 #include <openssl/rsa.h>
74 RSA_free((RSA *)*pval);
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)
    [all...]
rsa_null.c 62 #include <openssl/rsa.h>
65 /* 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)
    [all...]
rsa.h 1 /* crypto/rsa/rsa.h */
11 * 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)
    [all...]
rsa_locl.h 4 RSA *rsa);
rsa_prn.c 1 /* crypto/rsa/rsa_prn.c */
61 #include <openssl/rsa.h>
65 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))
rsa_depr.c 1 /* crypto/rsa/rsa_depr.c */
63 #include <openssl/rsa.h>
71 RSA *RSA_generate_key(int bits, unsigned long e_value,
76 RSA *rsa = RSA_new(); local
79 if(!rsa || !e) goto err;
92 if(RSA_generate_key_ex(rsa, bits, e, &cb)) {
94 return rsa;
98 if(rsa) RSA_free(rsa);
    [all...]
rsa_lib.c 1 /* crypto/rsa/rsa_lib.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
64 #include <openssl/rsa.h>
70 const char RSA_version[]="RSA" OPENSSL_VERSION_PTEXT;
74 RSA *RSA_new(void)
76 RSA *r=RSA_new_method(NULL);
104 const RSA_METHOD *RSA_get_method(const RSA *rsa)
106 return rsa->meth;
109 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth
    [all...]
rsa_test.c 15 printf("No RSA support\n");
19 #include <openssl/rsa.h>
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;
rsa_saos.c 1 /* crypto/rsa/rsa_saos.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
62 #include <openssl/rsa.h>
68 unsigned char *sigret, unsigned int *siglen, RSA *rsa)
79 j=RSA_size(rsa);
93 i=RSA_private_encrypt(i,s,sigret,rsa,RSA_PKCS1_PADDING);
107 RSA *rsa)
114 if (siglen != (unsigned int)RSA_size(rsa))
    [all...]
rsa_eay.c 1 /* crypto/rsa/rsa_eay.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
115 #include <openssl/rsa.h>
121 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)
    [all...]
rsa_pss.c 62 #include <openssl/rsa.h>
73 int RSA_verify_PKCS1_PSS(RSA *rsa, const unsigned char *mHash,
101 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7;
102 emLen = RSA_size(rsa);
172 int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
199 MSBits = (BN_num_bits(rsa->n) - 1) & 0x7;
200 emLen = RSA_size(rsa);
  /external/openssl/include/openssl/
rsa.h 1 /* crypto/rsa/rsa.h */
11 * 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)
    [all...]
x509.h 11 * apply to all code found in this distribution, be it the RC4, RSA,
96 #include <openssl/rsa.h>
687 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);
    [all...]
  /external/ipsec-tools/src/racoon/
rsalist.h 38 #include <openssl/rsa.h>
52 RSA *rsa; member in struct:rsa_key
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);
prsa_par.h 99 RSA *rsa; member in union:YYSTYPE
crypto_openssl.h 38 #include <openssl/rsa.h>
62 extern int eay_check_rsasign __P((vchar_t *, vchar_t *, RSA *));
63 extern vchar_t *eay_get_rsasign __P((vchar_t *, RSA *));
65 /* 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);
plainrsa-gen.c 34 /* This file contains a generator for FreeS/WAN-style ipsec.secrets RSA keys. */
53 #include <openssl/rsa.h>
69 fprintf(stderr, "Plain RSA key generator, part of %s\n", TOP_PACKAGE_STRING);
74 fprintf(stderr, " -b bits Generate <bits> long RSA key (default=1024)\n");
88 mix_b64_pubkey(const RSA *key)
122 print_rsa_key(FILE *fp, const RSA *key)
133 fprintf(fp, ": RSA\t{\n");
134 fprintf(fp, "\t# RSA %d bits\n", BN_num_bits(key->n));
151 print_public_rsa_key(FILE *fp, const RSA *key)
171 RSA *key = NULL
    [all...]
prsa_tok.l 36 /* This file contains a tokeniser for FreeS/WAN-style ipsec.secrets RSA keys. */
40 #include <openssl/rsa.h>
60 RSA { return TAG_RSA; }
  /external/openssl/crypto/pem/
pem_all.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
120 #include <openssl/rsa.h>
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
    [all...]
  /external/openssl/crypto/asn1/
n_pkey.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
62 #include <openssl/rsa.h>
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,
233 RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length,
240 RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length
    [all...]
x_pubkey.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
65 #include <openssl/rsa.h>
218 /* The following are equivalents but which return RSA and DSA
222 RSA *d2i_RSA_PUBKEY(RSA **a, const unsigned char **pp,
226 RSA *key;
243 int i2d_RSA_PUBKEY(RSA *a, unsigned char **pp)
  /external/openssl/crypto/x509/
x_all.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
67 #include <openssl/rsa.h>
208 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa)
210 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa);
213 int i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa)
215 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa);
218 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa
    [all...]
x509.h 11 * apply to all code found in this distribution, be it the RC4, RSA,
96 #include <openssl/rsa.h>
687 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);
    [all...]
  /external/openssl/android.testssl/
testssl 143 if [ `adb shell /system/bin/openssl no-rsa` = no-dh ]; then
144 echo skipping RSA tests
146 echo test tls1 with 1024bit RSA, no DHE, multiple handshakes
150 echo skipping RSA+DHE tests
152 echo test tls1 with 1024bit RSA, 1024bit DHE, multiple handshakes
  /external/openssl/crypto/bn/
bn_prime.pl 43 * apply to all code found in this distribution, be it the RC4, RSA,

Completed in 1102 milliseconds

1 2 3 4