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

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/openssl/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/openssh/regress/
keyscan.sh 11 for t in rsa1 rsa dsa; do
  /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/chromium_org/third_party/openssl/openssl/crypto/rsa/
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/chromium_org/third_party/openssl/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...]
  /external/openssh/
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/rsa/
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/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...]
  /external/chromium_org/net/data/ssl/scripts/
generate-weak-test-chains.sh 8 # certificates with (weak, strong), (RSA, DSA, ECDSA) key pairs.
10 key_types="768-rsa 1024-rsa 2048-rsa prime256v1-ecdsa"
25 rsa)
37 try echo 1 > out/2048-rsa-root-serial
44 try openssl genrsa -out out/2048-rsa-root.key 2048
46 CA_COMMON_NAME="2048 RSA Test Root CA" \
50 ALGO=rsa \
54 -key out/2048-rsa-root.key
    [all...]
  /system/security/keystore-engine/
rsa_meth.cpp 29 #define LOG_TAG "OpenSSL-keystore-rsa"
35 #include <openssl/rsa.h>
44 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa,
46 ALOGV("keystore_rsa_priv_enc(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
48 int num = RSA_size(rsa);
76 uint8_t* key_id = reinterpret_cast<uint8_t*>(RSA_get_ex_data(rsa, rsa_key_handle));
111 ALOGV("rsa=%p keystore_rsa_priv_enc => returning %p len %llu", rsa, to,
116 int keystore_rsa_priv_dec(int flen, const unsigned char* from, unsigned char* to, RSA* rsa
    [all...]
  /libcore/support/src/test/java/tests/resources/x509/
create.sh 21 openssl req -config ${DIR}/default.cnf -new -nodes -batch > /tmp/cert-rsa-req.pem
22 openssl req -in /tmp/cert-rsa-req.pem -pubkey -noout | openssl rsa -pubin -pubout -outform der > ${DIR}/cert-rsa-pubkey.der
23 openssl x509 -extfile ${DIR}/default.cnf -days 3650 -extensions usr_cert -req -signkey /tmp/privkey.pem -outform d < /tmp/cert-rsa-req.pem > ${DIR}/cert-rsa.der
24 rm /tmp/cert-rsa-req.pem
26 openssl asn1parse -in ${DIR}/cert-rsa.der -inform d -out ${DIR}/cert-rsa-tbs.der -noout -strparse 4
27 SIG_OFFSET=$(openssl asn1parse -in ${DIR}/cert-rsa.der -inform d | tail -1 | cut -f1 -d:
    [all...]
  /external/chromium_org/third_party/openssl/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...]
  /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...]
  /external/openssh/openbsd-compat/
openssl-compat.c 30 # include <openssl/rsa.h>
83 RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *bn_e, void *cb)
85 RSA *new_rsa, tmp_rsa;
96 /* swap rsa/new_rsa then free new_rsa */
97 tmp_rsa = *rsa;
98 *rsa = *new_rsa;
  /system/core/adb/
adb_auth_host.c 37 #include "mincrypt/rsa.h"
45 #include <openssl/rsa.h>
56 RSA *rsa; member in struct:adb_private_key
62 /* Convert OpenSSL RSA private key to android pre-computed RSAPublicKey format */
63 static int RSA_to_RSAPublicKey(RSA *rsa, RSAPublicKey *pkey)
76 if (RSA_size(rsa) != RSANUMBYTES) {
82 BN_copy(n, rsa->n);
96 pkey->exponent = BN_get_word(rsa->e)
178 RSA* rsa = RSA_new(); local
    [all...]
  /hardware/samsung_slsi/exynos5/libkeymaster/
keymaster_mobicore.cpp 27 #include <openssl/rsa.h>
63 void operator()(RSA* p) const {
67 typedef UniquePtr<RSA, RSA_Delete> Unique_RSA;
168 Unique_RSA rsa(EVP_PKEY_get1_RSA(pkey.get()));
169 if (rsa.get() == NULL) {
170 logOpenSSLError("get rsa key format");
176 metadata.lenpubmod = BN_bn2bin(rsa->n, kbuf + key_len);
189 metadata.lenpubexp = BN_bn2bin(rsa->e, kbuf + key_len);
192 if ((rsa->p != NULL) && (rsa->q != NULL) && (rsa->dmp1 != NULL) &
    [all...]
  /external/chromium_org/third_party/openssl/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/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...]

Completed in 613 milliseconds

12 3 4 5 6 7 8 91011>>