HomeSort by relevance Sort by last modified time
    Searched refs:rsa (Results 151 - 175 of 203) sorted by null

1 2 3 4 5 67 8 9

  /external/vboot_reference/host/lib21/
host_key.c 14 #include "2rsa.h"
133 /* Unpack RSA key */
252 /* Pack RSA key */
545 enum vb2_signature_algorithm vb2_rsa_sig_alg(struct rsa_st *rsa)
547 int bits = BN_num_bits(rsa->n);
host_signature.c 8 #include <openssl/rsa.h>
12 #include "2rsa.h"
166 /* RSA-encrypt the signature */
  /system/tpm/trunks/
tpm_utility_test.cc 497 public_area.public_area.unique.rsa.size = 0;
523 public_area.public_area.unique.rsa.size = 0;
566 public_area.public_area.unique.rsa.size = 0;
596 public_area.public_area.unique.rsa.size = 0;
626 public_area.public_area.unique.rsa.size = 0;
654 public_area.public_area.unique.rsa.size = 0;
711 public_area.public_area.unique.rsa.size = 0;
743 public_area.public_area.unique.rsa.size = 0;
775 public_area.public_area.unique.rsa.size = 0;
801 public_area.public_area.unique.rsa.size = 0
    [all...]
  /device/google/contexthub/firmware/
Makefile 25 BADWORDS += "rsaPrivOp=RSA private ops must never be compiled into firmware."
67 SRCS_bl += ../lib/nanohub/sha2.c ../lib/nanohub/rsa.c ../lib/nanohub/aes.c src/seos.c
  /device/google/contexthub/lib/nanohub/
rsa.c 20 #include <nanohub/rsa.h>
138 * Piecewise RSA:
139 * normal RSA public op with 65537 exponent does 34 operations. 17 muls and 17 mods, as follows:
150 * The initial non-iterative RSA logic looks as follows, shown here for clarity:
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
AlgorithmParametersSpi.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
BCRSAPrivateCrtKey.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
18 * A provider representation for a RSA private key, with CRT factors included.
88 * construct an RSA key from a private key info object.
98 * construct an RSA key from a ASN.1 RSA private key object.
230 buf.append("RSA Private CRT Key").append(nl);
DigestSignatureSpi.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
251 // For raw RSA, the DigestInfo must be prepared externally
  /external/conscrypt/src/main/java/org/conscrypt/
NativeCrypto.java 80 // --- DSA/RSA public/private key handling functions -----------------------
136 public static native byte[][] get_RSA_public_params(NativeRef.EVP_PKEY rsa);
141 public static native byte[][] get_RSA_private_params(NativeRef.EVP_PKEY rsa);
143 public static native byte[] i2d_RSAPublicKey(NativeRef.EVP_PKEY rsa);
145 public static native byte[] i2d_RSAPrivateKey(NativeRef.EVP_PKEY rsa);
664 add("DHE-RSA-AES128-GCM-SHA256", "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256");
665 add("DHE-RSA-AES128-SHA256", "TLS_DHE_RSA_WITH_AES_128_CBC_SHA256");
666 add("DHE-RSA-AES128-SHA", "TLS_DHE_RSA_WITH_AES_128_CBC_SHA");
667 add("DHE-RSA-AES256-GCM-SHA384", "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384");
668 add("DHE-RSA-AES256-SHA256", "TLS_DHE_RSA_WITH_AES_256_CBC_SHA256")
    [all...]
  /external/ipsec-tools/src/racoon/
crypto_openssl.h 40 #include <openssl/rsa.h>
63 extern int eay_check_rsasign __P((vchar_t *, vchar_t *, RSA *));
64 extern vchar_t *eay_get_rsasign __P((vchar_t *, RSA *));
66 /* RSA */
67 extern vchar_t *eay_rsa_sign __P((vchar_t *, RSA *));
68 extern int eay_rsa_verify __P((vchar_t *, vchar_t *, RSA *));
220 RSA *base64_pubkey2rsa(char *in);
221 RSA *bignum_pubkey2rsa(BIGNUM *in);
  /external/vboot_reference/host/lib/
host_signature.c 10 #include <openssl/rsa.h>
  /system/keymaster/
rsa_operation.h 23 #include <openssl/rsa.h>
30 * Base class for all RSA operations.
32 * This class provides RSA key management, plus buffering of data for non-digesting modes.
68 * Base class for all digesting RSA operations.
86 * RSA private key signing operation.
108 * RSA public key verification operation.
130 * Base class for RSA crypting operations.
147 * RSA public key encryption operation.
159 * RSA private key decryption operation.
171 * Abstract base for all RSA operation factories. This class exists mainly to centralize some cod
    [all...]
  /system/webservd/webservd/
utils.cc 22 #include <openssl/rsa.h>
84 std::unique_ptr<RSA, void(*)(RSA*)> GenerateRSAKeyPair(int key_length_bits) {
85 // Create RSA key pair.
86 auto rsa_key_pair = std::unique_ptr<RSA, void(*)(RSA*)>{RSA_new(), RSA_free};
96 brillo::SecureBlob StoreRSAPrivateKey(RSA* rsa_key_pair) {
114 std::unique_ptr<RSA, void(*)(RSA*)> rsa_key{
  /external/tpm2/
CryptUtil.c 768 // 10.2.5 RSA Functions
772 // Function to set the cryptographic elements of an RSA key into a structure to simplify the interface to
773 // _cpri__ RSA function. This can/should be eliminated by building this structure into the object structure.
785 key->publicKey = &rsaKey->publicArea.unique.rsa.b;
836 // This function is called to generate an RSA key from a provided seed. It calls _cpri__GenerateKeyRSA()
873 retVal = _cpri__GenerateKeyRSA(&publicArea->unique.rsa.b
    [all...]
tpm_types.h 1368 BYTE rsa[MAX_RSA_KEY_BYTES]; member in union:__anon23460
1398 TPM2B_PUBLIC_KEY_RSA rsa; member in union:__anon23463
1486 TPM2B_PRIVATE_KEY_RSA rsa; member in union:__anon23475
    [all...]
  /external/boringssl/src/ssl/test/
bssl_shim.cc 230 RSA *rsa = EVP_PKEY_get0_RSA(test_state->private_key.get()); local
231 if (rsa == NULL) {
236 test_state->private_key_result.resize(RSA_size(rsa));
237 if (!RSA_decrypt(rsa, out_len, test_state->private_key_result.data(),
238 RSA_size(rsa), in, in_len, RSA_NO_PADDING)) {
    [all...]
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/offline-m2/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 
  /external/vboot_reference/
Android.mk 42 firmware/lib/cryptolib/rsa.c \
  /external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
_version133.py 0 """RSA module
4 Module for calculating large primes, and RSA encryption, decryption,
7 WARNING: this code implements the mathematics of RSA. It is not suitable for
30 from rsa._compat import byte
34 warnings.warn('Insecure version of the RSA module is imported as %s, be careful'
302 """Generate RSA keys of nbits bits. Returns (p, q, e, d).
  /device/google/contexthub/firmware/src/platform/stm32f4xx/
bl.c 27 #include <nanohub/rsa.h>
739 struct RsaState rsa; local
782 rsaResult = rsaPubOpIterative(&rsa, osSigHash, osSigPubkey, &rsaStateVar1, &rsaStateVar2, &rsaStep);
    [all...]
  /external/tlsdate/src/
tlsdate-helper-plan9.c 270 key_bits = BN_num_bits(public_key->pkey.rsa->n);
274 key_bits = BN_num_bits(public_key->pkey.rsa->n);
705 public_key = &certificate->rsa;
    [all...]
  /external/boringssl/src/ssl/
s3_clnt.c 10 * apply to all code found in this distribution, be it the RC4, RSA,
673 * although locked to a version, reuse the value. When using the plain RSA
1643 RSA *rsa = EVP_PKEY_get0_RSA(pkey); local
    [all...]
  /external/boringssl/src/include/openssl/
evp.h 10 * apply to all code found in this distribution, be it the RC4, RSA,
122 * |pkey|. For an RSA key, this returns the number of bytes needed to represent
127 /* EVP_PKEY_bits returns the "size", in bits, of |pkey|. For an RSA key, this
151 OPENSSL_EXPORT int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key);
152 OPENSSL_EXPORT int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key);
153 OPENSSL_EXPORT RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey);
154 OPENSSL_EXPORT RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
217 * RSA keys are serialized as a DER-encoded RSAPublicKey (RFC 3447) structure.
564 /* RSA specific control functions. */
594 /* EVP_PKEY_CTX_set_rsa_keygen_bits sets the size of the desired RSA modulus
687 RSA *rsa; member in union:evp_pkey_st::__anon5859
    [all...]

Completed in 598 milliseconds

1 2 3 4 5 67 8 9