HomeSort by relevance Sort by last modified time
    Searched defs:rsa (Results 1 - 25 of 67) sorted by null

1 2 3

  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherRSATest.java 23 CipherRSAThread rsa = new CipherRSAThread("RSA", new int[] {512}, local
28 rsa.launcher();
30 assertEquals(rsa.getFailureMessages(), 0, rsa.getTotalFailuresNumber());
35 CipherRSAThread rsa = new CipherRSAThread("RSA", new int[] {1024}, local
40 rsa.launcher();
42 assertEquals(rsa.getFailureMessages(), 0, rsa.getTotalFailuresNumber())
47 CipherRSAThread rsa = new CipherRSAThread("RSA", new int[] {2048}, local
57 CipherRSAThread rsa = new CipherRSAThread("RSA", new int[] {1024}, local
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/rsa/
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_pmeth.c 1 /* crypto/rsa/rsa_pmeth.c */
63 #include <openssl/rsa.h>
75 /* RSA pkey context structure */
84 /* RSA padding mode */
169 RSA *rsa = ctx->pkey->pkey.rsa; local
173 if (rsa->flags & RSA_FLAG_NON_FIPS_ALLOW)
175 if (!(rsa->meth->flags & RSA_FLAG_FIPS_METHOD) && rv)
190 RSA *rsa = ctx->pkey->pkey.rsa local
344 RSA *rsa = ctx->pkey->pkey.rsa; local
658 RSA *rsa = NULL; local
    [all...]
  /external/openssl/crypto/rsa/
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_pmeth.c 1 /* crypto/rsa/rsa_pmeth.c */
63 #include <openssl/rsa.h>
75 /* RSA pkey context structure */
84 /* RSA padding mode */
169 RSA *rsa = ctx->pkey->pkey.rsa; local
173 if (rsa->flags & RSA_FLAG_NON_FIPS_ALLOW)
175 if (!(rsa->meth->flags & RSA_FLAG_FIPS_METHOD) && rv)
190 RSA *rsa = ctx->pkey->pkey.rsa local
344 RSA *rsa = ctx->pkey->pkey.rsa; local
658 RSA *rsa = NULL; local
    [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);
59 RSA *rsa_try_check_rsasign(vchar_t *source, vchar_t *sig, struct genlist *list);
prsa_par.h 96 RSA *rsa; member in union:YYSTYPE
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
KeyFactorySpi.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
RSAUtil.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
14 * utility class for converting java.security RSA objects into their
KeyPairGeneratorSpi.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
33 super("RSA");
AlgorithmParametersSpi.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
BCRSAPublicKey.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
56 throw new IllegalArgumentException("invalid info structure in RSA public key");
82 return "RSA";
123 buf.append("RSA Public Key").append(nl);
BCRSAPrivateCrtKey.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
17 * A provider representation for a RSA private key, with CRT factors included.
87 * construct an RSA key from a private key info object.
97 * construct an RSA key from a ASN.1 RSA private key object.
229 buf.append("RSA Private CRT Key").append(nl);
BCRSAPrivateKey.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
70 return "RSA";
  /external/chromium_org/crypto/
rsa_private_key_openssl.cc 9 #include <openssl/rsa.h>
53 ScopedOpenSSL<RSA, RSA_free> rsa_key(RSA_new());
109 RSA* rsa = EVP_PKEY_get1_RSA(key_); local
110 if (!rsa)
113 if (!EVP_PKEY_set1_RSA(copy->key_, rsa))
  /external/chromium_org/third_party/openssl/openssl/apps/
genrsa.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
75 #include <openssl/rsa.h>
108 RSA *rsa = NULL; local
266 BIO_printf(bio_err,"Generating RSA private key, %d bit long modulus\n",
269 rsa = RSA_new();
271 rsa = RSA_new_method(e);
273 if (!rsa)
276 if(!BN_set_word(bn, f4) || !RSA_generate_key_ex(rsa, num, bn, &cb))
284 for (i=0; i<rsa->e->top; i++
    [all...]
rsa.c 1 /* apps/rsa.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
68 #include <openssl/rsa.h>
92 * -modulus - print the RSA key modulus
104 RSA *rsa=NULL; local
240 BIO_printf(bio_err," -modulus print the RSA key modulus\n");
296 rsa = EVP_PKEY_get1_RSA(pkey);
300 if (rsa == NULL)
326 if (!RSA_print(out,rsa,0)
    [all...]
  /external/openssl/apps/
genrsa.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
75 #include <openssl/rsa.h>
108 RSA *rsa = NULL; local
266 BIO_printf(bio_err,"Generating RSA private key, %d bit long modulus\n",
269 rsa = RSA_new();
271 rsa = RSA_new_method(e);
273 if (!rsa)
276 if(!BN_set_word(bn, f4) || !RSA_generate_key_ex(rsa, num, bn, &cb))
284 for (i=0; i<rsa->e->top; i++
    [all...]
rsa.c 1 /* apps/rsa.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
68 #include <openssl/rsa.h>
92 * -modulus - print the RSA key modulus
104 RSA *rsa=NULL; local
240 BIO_printf(bio_err," -modulus print the RSA key modulus\n");
296 rsa = EVP_PKEY_get1_RSA(pkey);
300 if (rsa == NULL)
326 if (!RSA_print(out,rsa,0)
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
opensslidentity.cc 35 #include <openssl/rsa.h>
46 // Strength of generated keys. Those are RSA.
61 RSA* rsa = RSA_generate_key(KEY_LENGTH, 0x10001, NULL, NULL); local
62 if (!EVP_PKEY_assign_RSA(pkey, rsa)) {
64 RSA_free(rsa);
70 RSA* rsa = RSA_new(); local
71 if (!pkey || !exponent || !rsa ||
72 !BN_set_word(exponent, 0x10001) || // 65537 RSA exponen
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/base/
opensslidentity.cc 40 #include <openssl/rsa.h>
52 // Strength of generated keys. Those are RSA.
70 RSA* rsa = RSA_generate_key(KEY_LENGTH, 0x10001, NULL, NULL); local
71 if (!EVP_PKEY_assign_RSA(pkey, rsa)) {
73 RSA_free(rsa);
79 RSA* rsa = RSA_new(); local
80 if (!pkey || !exponent || !rsa ||
81 !BN_set_word(exponent, 0x10001) || // 65537 RSA exponen
    [all...]
  /external/chromium_org/third_party/openssl/openssl/ssl/
s2_srvr.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
1121 RSA *rsa; local
1134 rsa=c->pkeys[SSL_PKEY_RSA_ENC].privatekey->pkey.rsa;
1137 i=RSA_private_decrypt(len,from,to,rsa,padding);
ssl_rsa.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
152 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa)
157 if (rsa == NULL)
173 RSA_up_ref(rsa);
174 EVP_PKEY_assign_RSA(pkey,rsa);
205 (RSA_flags(pkey->pkey.rsa) & RSA_METHOD_FLAG_NO_CHECK))
233 RSA *rsa=NULL; local
250 rsa=d2i_RSAPrivateKey_bio(in,NULL)
280 RSA *rsa; local
555 RSA *rsa=NULL; local
602 RSA *rsa; local
    [all...]
  /external/openssh/
key.h 30 #include <openssl/rsa.h>
79 RSA *rsa; member in struct:Key
  /external/openssl/ssl/
s2_srvr.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
1121 RSA *rsa; local
1134 rsa=c->pkeys[SSL_PKEY_RSA_ENC].privatekey->pkey.rsa;
1137 i=RSA_private_decrypt(len,from,to,rsa,padding);

Completed in 351 milliseconds

1 2 3