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

12 3 4

  /external/openssl/crypto/rsa/
rsa_ameth.c 1 /* crypto/rsa/rsa_ameth.c */
63 #include <openssl/rsa.h>
74 penclen = i2d_RSAPublicKey(pkey->pkey.rsa, &penc);
89 RSA *rsa = NULL; local
92 if (!(rsa = d2i_RSAPublicKey(NULL, &p, pklen)))
97 EVP_PKEY_assign_RSA (pkey, rsa);
103 if (BN_cmp(b->pkey.rsa->n,a->pkey.rsa->n) != 0
104 || BN_cmp(b->pkey.rsa->e,a->pkey.rsa->e) != 0
112 RSA *rsa; local
    [all...]
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>
71 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
78 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb)
80 if(rsa->meth->rsa_keygen)
81 return rsa->meth->rsa_keygen(rsa, bits, e_value, cb)
    [all...]
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)
80 if((rsa->flags & RSA_FLAG_SIGN_VER) && rsa->meth->rsa_sign)
82 return rsa->meth->rsa_sign(type, m, m_len,
83 sigret, siglen, rsa);
116 j=RSA_size(rsa);
    [all...]
rsa_pmeth.c 1 /* crypto/rsa/rsa_pmeth.c */
63 #include <openssl/rsa.h>
69 /* RSA pkey context structure */
78 /* RSA padding mode */
156 RSA *rsa = ctx->pkey->pkey.rsa; local
174 sig, rsa, RSA_X931_PADDING);
180 tbs, tbslen, sig, &sltmp, rsa);
189 if (!RSA_padding_add_PKCS1_PSS(rsa, rctx->tbuf, tbs
270 RSA *rsa = ctx->pkey->pkey.rsa; local
522 RSA *rsa = NULL; local
    [all...]
rsa_chk.c 1 /* crypto/rsa/rsa_chk.c -*- Mode: C; c-file-style: "eay" -*- */
53 #include <openssl/rsa.h>
56 int RSA_check_key(const RSA *key)
  /external/openssl/ssl/
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/chromium/crypto/
rsa_private_key_openssl.cc 9 #include <openssl/rsa.h>
54 ScopedOpenSSL<RSA, RSA_free> rsa_key(RSA_new());
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JDKKeyPairGenerator.java 68 public static class RSA
77 public RSA()
79 super("RSA");
JDKKeyFactory.java 358 public static class RSA
361 public RSA()
  /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/ipsec-tools/src/racoon/
handler.h 38 #include <openssl/rsa.h>
171 RSA *rsa; /* my RSA key */ member in struct:ph1handle
172 RSA *rsa_p; /* peer's RSA key */
173 struct genlist *rsa_candidates; /* possible candidates for peer's RSA key */
rsalist.c 46 #include <openssl/rsa.h>
69 struct netaddr *dst, RSA *rsa)
74 rsa_key->rsa = rsa;
100 if (key->rsa) {
101 new->rsa = key->rsa->d != NULL ? RSAPrivateKey_dup(key->rsa) : RSAPublicKey_dup(key->rsa);
    [all...]
prsa_par.y 36 /* This file contains a parser for FreeS/WAN-style ipsec.secrets RSA keys. */
62 #include <openssl/rsa.h>
88 static RSA *rsa_cur;
132 RSA *rsa;
149 %type <rsa> rsa_statement
  /external/openssl/crypto/conf/
keysets.pl 65 * apply to all code found in this distribution, be it the RC4, RSA,
  /external/openssl/crypto/
ossl_typ.h 138 typedef struct rsa_st RSA;
  /external/openssl/include/openssl/
ossl_typ.h 138 typedef struct rsa_st RSA;
pem.h 11 * apply to all code found in this distribution, be it the RC4, RSA,
123 #define PEM_STRING_RSA "RSA PRIVATE KEY"
124 #define PEM_STRING_RSA_PUBLIC "RSA PUBLIC KEY"
480 DECLARE_PEM_rw_cb(RSAPrivateKey, RSA)
482 DECLARE_PEM_rw_const(RSAPublicKey, RSA)
483 DECLARE_PEM_rw(RSA_PUBKEY, RSA)
  /external/openssl/crypto/evp/
p_lib.c 11 * apply to all code found in this distribution, be it the RC4, RSA,
68 #include <openssl/rsa.h>
277 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key)
285 RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey)
291 RSA_up_ref(pkey->pkey.rsa);
292 return pkey->pkey.rsa;
  /external/openssl/crypto/pem/
pvkfmt.c 68 #include <openssl/rsa.h>
114 /* Convert private key blob to EVP_PKEY: RSA and DSA keys supported */
375 RSA *rsa = NULL; local
379 rsa = RSA_new();
381 if (!rsa || !ret)
383 rsa->e = BN_new();
384 if (!rsa->e)
386 if (!BN_set_word(rsa->e, read_ledword(&p)))
388 if (!read_lebn(&p, nbyte, &rsa->n)
    [all...]
pem.h 11 * apply to all code found in this distribution, be it the RC4, RSA,
123 #define PEM_STRING_RSA "RSA PRIVATE KEY"
124 #define PEM_STRING_RSA_PUBLIC "RSA PUBLIC KEY"
480 DECLARE_PEM_rw_cb(RSAPrivateKey, RSA)
482 DECLARE_PEM_rw_const(RSAPublicKey, RSA)
483 DECLARE_PEM_rw(RSA_PUBKEY, RSA)
  /external/clang/lib/Index/
Analyzer.cpp 448 RefSelectorAnalyzer RSA(MD, Prog, Handler);
450 Idxer.GetTranslationUnitsFor(Sel, RSA);
  /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...]
rsautl.c 66 #include <openssl/rsa.h>
100 RSA *rsa = NULL; local
224 rsa = EVP_PKEY_get1_RSA(pkey);
227 if(!rsa) {
228 BIO_printf(bio_err, "Error getting RSA key\n");
258 keysize = RSA_size(rsa);
281 rsa_outlen = RSA_public_decrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
285 rsa_outlen = RSA_private_encrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad);
289 rsa_outlen = RSA_public_encrypt(rsa_inlen, rsa_in, rsa_out, rsa, pad)
    [all...]
  /external/openssl/crypto/objects/
obj_dat.pl 187 * apply to all code found in this distribution, be it the RC4, RSA,
objects.pl 138 * apply to all code found in this distribution, be it the RC4, RSA,

Completed in 354 milliseconds

12 3 4