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

1 2 3 4 5 6 7

  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherRSATest.java 25 CipherRSAThread rsa = new CipherRSAThread("RSA", new int[] {512}, local
30 rsa.launcher();
32 assertEquals(rsa.getFailureMessages(), 0, rsa.getTotalFailuresNumber());
37 CipherRSAThread rsa = new CipherRSAThread("RSA", new int[] {1024}, local
42 rsa.launcher();
44 assertEquals(rsa.getFailureMessages(), 0, rsa.getTotalFailuresNumber())
49 CipherRSAThread rsa = new CipherRSAThread("RSA", new int[] {2048}, local
60 CipherRSAThread rsa = new CipherRSAThread("RSA", new int[] {1024}, local
    [all...]
  /external/openssl/crypto/rsa/
rsa_gen.c 1 /* crypto/rsa/rsa_gen.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
69 #include <openssl/rsa.h>
74 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
81 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
84 if (FIPS_mode() && !(rsa->meth->flags & RSA_FLAG_FIPS_METHOD)
85 && !(rsa->flags & RSA_FLAG_NON_FIPS_ALLOW))
91 if(rsa->meth->rsa_keygen
    [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_crpt.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 int RSA_size(const RSA *r)
76 RSA *rsa, int padding)
79 if (FIPS_mode() && !(rsa->meth->flags & RSA_FLAG_FIPS_METHOD)
80 && !(rsa->flags & RSA_FLAG_NON_FIPS_ALLOW))
86 return(rsa->meth->rsa_pub_enc(flen, from, to, rsa, padding))
    [all...]
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_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_locl.h 4 RSA *rsa);
rsa_sign.c 1 /* crypto/rsa/rsa_sign.c */
11 * apply to all code found in this distribution, be it the RC4, RSA,
62 #include <openssl/rsa.h>
71 unsigned char *sigret, unsigned int *siglen, RSA *rsa)
81 if (FIPS_mode() && !(rsa->meth->flags & RSA_FLAG_FIPS_METHOD)
82 && !(rsa->flags & RSA_FLAG_NON_FIPS_ALLOW))
88 if((rsa->flags & RSA_FLAG_SIGN_VER) && rsa->meth->rsa_sign)
90 return rsa->meth->rsa_sign(type, m, m_len
    [all...]
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.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_asn1.c 62 #include <openssl/rsa.h>
75 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)
    [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);
  /external/openssh/regress/
ssh2putty.sh 14 if grep "BEGIN RSA PRIVATE KEY" $KEYFILE >/dev/null 2>&1 ; then
22 openssl rsa -noout -text -in $KEYFILE | grep ^publicExponent |
28 openssl rsa -noout -modulus -in $KEYFILE | grep ^Modulus= |
keyscan.sh 11 for t in rsa1 rsa dsa; do
  /external/openssh/
rsa.h 1 /* $OpenBSD: rsa.h,v 1.16 2006/03/25 22:22:43 djm Exp $ */
7 * RSA key generation, encryption and decryption.
20 #include <openssl/rsa.h>
22 void rsa_public_encrypt(BIGNUM *, BIGNUM *, RSA *);
23 int rsa_private_decrypt(BIGNUM *, BIGNUM *, RSA *);
24 void rsa_generate_additional_parameters(RSA *);
rsa.c 1 /* $OpenBSD: rsa.c,v 1.29 2006/11/06 21:25:28 markus Exp $ */
37 * 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
71 #include "rsa.h"
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)
    [all...]
sshconnect1.c 34 #include "rsa.h"
86 debug("Trying RSA authentication via agent with '%.100s'", comment);
91 packet_put_bignum(key->rsa->n);
99 does not support RSA authentication. */
107 packet_disconnect("Protocol error during RSA authentication: %d",
113 debug("Received RSA challenge from server.");
126 debug("Sending response to RSA challenge.");
142 debug("RSA authentication accepted by server.");
147 packet_disconnect("Protocol error waiting RSA auth response: %d",
152 debug("RSA authentication using agent refused.")
    [all...]
  /external/openssl/crypto/asn1/
i2d_pu.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
65 #include <openssl/rsa.h>
80 return(i2d_RSAPublicKey(a->pkey.rsa,pp));
  /external/openssl/crypto/evp/
p_dec.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
63 #include <openssl/rsa.h>
83 ret=RSA_private_decrypt(ekl,ek,key,priv->pkey.rsa,RSA_PKCS1_PADDING);
p_enc.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
63 #include <openssl/rsa.h>
82 ret=RSA_public_encrypt(key_len,key,ek,pubk->pkey.rsa,RSA_PKCS1_PADDING);
  /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...]
  /system/core/libmincrypt/
Android.mk 7 LOCAL_SRC_FILES := rsa.c sha.c
13 LOCAL_SRC_FILES := rsa.c sha.c
  /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/apps/
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...]

Completed in 1938 milliseconds

1 2 3 4 5 6 7