HomeSort by relevance Sort by last modified time
    Searched refs:rsa (Results 176 - 200 of 390) sorted by null

1 2 3 4 5 6 78 91011>>

  /prebuilts/go/darwin-x86/src/crypto/rsa/
rsa.go 5 // Package rsa implements RSA encryption as specified in PKCS#1.
7 // RSA is a single, fundamental operation that is used in this package to
10 // The original specification for encryption and signatures with RSA is PKCS#1
11 // and the terms "RSA encryption" and "RSA signatures" by default refer to
22 // The RSA operations in this package are not implemented using constant-time algorithms.
23 package rsa package
39 // A PublicKey represents the public part of an RSA key.
56 errPublicModulus = errors.New("crypto/rsa: missing public modulus"
    [all...]
  /prebuilts/go/linux-x86/src/crypto/rsa/
rsa.go 5 // Package rsa implements RSA encryption as specified in PKCS#1.
7 // RSA is a single, fundamental operation that is used in this package to
10 // The original specification for encryption and signatures with RSA is PKCS#1
11 // and the terms "RSA encryption" and "RSA signatures" by default refer to
22 // The RSA operations in this package are not implemented using constant-time algorithms.
23 package rsa package
39 // A PublicKey represents the public part of an RSA key.
56 errPublicModulus = errors.New("crypto/rsa: missing public modulus"
    [all...]
  /external/boringssl/src/include/openssl/
x509.h 10 * apply to all code found in this distribution, be it the RC4, RSA,
82 #include <openssl/rsa.h>
614 OPENSSL_EXPORT RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa);
615 OPENSSL_EXPORT int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa);
616 OPENSSL_EXPORT RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa);
    [all...]
  /external/wpa_supplicant_8/src/crypto/
tls_openssl.c 108 static int RSA_bits(const RSA *r)
342 unsigned char *to, RSA *rsa, int padding)
350 unsigned char *to, RSA *rsa, int padding)
358 unsigned char *to, RSA *rsa, int padding)
361 (struct cryptoapi_rsa_data *) rsa->meth->app_data;
412 len = RSA_size(rsa);
437 unsigned char *to, RSA *rsa, int padding
514 RSA *rsa = NULL, *pub_rsa; local
2061 RSA *rsa; local
    [all...]
  /bootable/recovery/
verifier.cpp 116 * Looks for an RSA signature embedded in the .ZIP file comment given the path to the zip. Verifies
275 key.rsa.get())) {
276 LOG(INFO) << "failed to verify against RSA key " << i;
280 LOG(INFO) << "whole-file signature verified against RSA key " << i;
306 std::unique_ptr<RSA, RSADeleter> parse_rsa_key(FILE* file, uint32_t exponent) {
359 std::unique_ptr<RSA, RSADeleter> key(RSA_new());
467 // 1: 2048-bit RSA key with e=3 and SHA-1 hash
468 // 2: 2048-bit RSA key with e=65537 and SHA-1 hash
469 // 3: 2048-bit RSA key with e=3 and SHA-256 hash
470 // 4: 2048-bit RSA key with e=65537 and SHA-256 has
    [all...]
  /external/conscrypt/common/src/jni/main/cpp/conscrypt/
native_crypto.cc 44 #include <openssl/rsa.h>
616 // KeyExData contains the data that is contained in the EX_DATA of the RSA
622 // modulus (in bytes) for RSA, or the group order size for ECDSA. This
627 // ExDataDup is called when one of the RSA or EC_KEY objects is duplicated. We
638 // ExDataFree is called when one of the RSA or EC_KEY objects is freed.
655 KeyExData* RsaGetExData(const RSA* rsa) {
656 return reinterpret_cast<KeyExData*>(RSA_get_ex_data(rsa, g_rsa_exdata_index));
659 size_t RsaMethodSize(const RSA* rsa) {
    [all...]
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.56/
bcprov-jdk15on-1.56.jar 
  /device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
platform.mk 110 $(Q)openssl rsa -in $< -pubout -outform DER 2>/dev/null |\
  /device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
CryptRsaBasic.c 2 RSA Asymmetric Cipher Wrapper Implementation over OpenSSL.
4 This file implements following APIs which provide basic capabilities for RSA:
24 #include <openssl/rsa.h>
28 Allocates and initializes one RSA context for subsequent use.
30 @return Pointer to the RSA context that has been initialized.
41 // Allocates & Initializes RSA Context by OpenSSL RSA_new()
47 Release the specified RSA context.
49 @param[in] RsaContext Pointer to the RSA context to be released.
59 // Free OpenSSL RSA Context
61 RSA_free ((RSA *) RsaContext);
    [all...]
CryptRsaExt.c 2 RSA Asymmetric Cipher Wrapper Implementation over OpenSSL.
4 This file implements following APIs which provide more capabilities for RSA:
24 #include <openssl/rsa.h>
29 Gets the tag-designated RSA key component from the established RSA context.
31 This function retrieves the tag-designated RSA key component from the
32 established RSA context as a non-negative integer (octet string format
33 represented in RSA PKCS#1).
43 @param[in, out] RsaContext Pointer to RSA context being set.
44 @param[in] KeyTag Tag of RSA key component being set.
    [all...]
  /device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/
Install.sh 36 cp crypto/rsa/rsa.h include/openssl
  /external/boringssl/src/crypto/evp/
internal.h 10 * apply to all code found in this distribution, be it the RC4, RSA,
62 #include <openssl/rsa.h>
  /external/boringssl/src/crypto/fipsmodule/rsa/
blinding.c 62 * apply to all code found in this distribution, be it the RC4, RSA,
109 #include <openssl/rsa.h>
135 OPENSSL_PUT_ERROR(RSA, ERR_R_MALLOC_FAILURE);
222 OPENSSL_PUT_ERROR(RSA, ERR_R_INTERNAL_ERROR);
229 OPENSSL_PUT_ERROR(RSA, ERR_R_INTERNAL_ERROR);
239 OPENSSL_PUT_ERROR(RSA, ERR_R_INTERNAL_ERROR);
243 // For reasonably-sized RSA keys, it should almost never be the case that a
246 OPENSSL_PUT_ERROR(RSA, RSA_R_TOO_MANY_ITERATIONS);
253 OPENSSL_PUT_ERROR(RSA, ERR_R_INTERNAL_ERROR);
258 OPENSSL_PUT_ERROR(RSA, ERR_R_INTERNAL_ERROR)
    [all...]
  /external/boringssl/src/fipstools/
cavp_rsa2_siggen_test.cc 23 #include <openssl/rsa.h>
32 bssl::UniquePtr<RSA> key;
52 ctx->key = bssl::UniquePtr<RSA>(RSA_new());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
RSA.java 13 import org.bouncycastle.jcajce.provider.asymmetric.rsa.KeyFactorySpi;
18 public class RSA
20 private static final String PREFIX = "org.bouncycastle.jcajce.provider.asymmetric" + ".rsa.";
68 provider.addAttributes("Cipher.RSA", generalRsaAttributes);
69 provider.addAlgorithm("Cipher.RSA", PREFIX + "CipherSpi$NoPadding");
70 // Android-changed: Use an alias for RSA/RAW instead of a concrete implementation
71 provider.addAlgorithm("Alg.Alias.Cipher.RSA/RAW", "RSA");
74 provider.addAlgorithm("Cipher.RSA/PKCS1", PREFIX + "CipherSpi$PKCS1v1_5Padding");
77 provider.addAlgorithm("Cipher.RSA/1", PREFIX + "CipherSpi$PKCS1v1_5Padding_PrivateOnly")
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPublicKey.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
73 throw new IllegalArgumentException("invalid info structure in RSA public key");
99 return "RSA";
140 buf.append("RSA Public Key").append(nl);
KeyFactorySpi.java 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
  /external/ipsec-tools/src/racoon/
plainrsa-gen.c 34 /* This file contains a generator for FreeS/WAN-style ipsec.secrets RSA keys. */
51 #include <openssl/rsa.h>
67 fprintf(stderr, "Plain RSA key generator, part of %s\n", TOP_PACKAGE_STRING);
72 fprintf(stderr, " -b bits Generate <bits> long RSA key (default=1024)\n");
85 mix_b64_pubkey(RSA *key)
121 RSA *key;
137 fprintf(fp, ": RSA\t{\n");
138 fprintf(fp, "\t# RSA %zu bits\n", bits);
  /external/libchrome/crypto/
nss_key_util.cc 49 // See pk11_MakeIDFromPublicKey from NSS. For now, only RSA keys are
54 return ScopedSECItem(PK11_MakeIDFromPubKey(&result->u.rsa.modulus));
  /external/libmtp/src/
mtpz.c 194 /* MTPZ RSA */
204 int mtpz_rsa_decrypt(int flen, unsigned char *from, int tlen, unsigned char *to, mtpz_rsa_t *rsa);
205 int mtpz_rsa_sign(int flen, unsigned char *from, int tlen, unsigned char *to, mtpz_rsa_t *rsa);
270 /* MTPZ RSA implementation */
273 mtpz_rsa_t *rsa = calloc(1, sizeof(mtpz_rsa_t)); local
274 if (rsa == NULL)
283 gcry_sexp_build(&rsa->privkey, NULL, "(private-key (rsa (n %m) (e %m) (d %m)))", mpi_modulus, mpi_pubexp, mpi_privkey);
284 gcry_sexp_build(&rsa->pubkey, NULL, "(public-key (rsa (n %m) (e %m)))", mpi_modulus, mpi_pubexp)
1549 mtpz_rsa_t *rsa = mtpz_rsa_init(MTPZ_MODULUS, MTPZ_PRIVATE_KEY, MTPZ_PUBLIC_EXPONENT); local
1734 mtpz_rsa_t *rsa = mtpz_rsa_init(MTPZ_MODULUS, MTPZ_PRIVATE_KEY, MTPZ_PUBLIC_EXPONENT); local
    [all...]
  /external/nos/host/android/hals/keymaster/
buffer.cpp 24 #include <openssl/rsa.h>
54 case Algorithm::RSA:
  /external/nos/test/system-test-harness/src/
keymaster-import-key-tests.cc 13 #include "src/test-data/test-keys/rsa.h"
128 // RSA
134 initRSARequest(&request, Algorithm::RSA, 256, 3);
145 initRSARequest(&request, Algorithm::RSA, 512, 2, 2,
158 initRSARequest(&request, Algorithm::RSA, 512, 3, 3,
170 initRSARequest(&request, Algorithm::RSA, 512, 3, 3,
182 initRSARequest(&request, Algorithm::RSA, 512, 3, 2,
196 initRSARequest(&request, Algorithm::RSA, 1024, 3, 3, d, N);
209 initRSARequest(&request, Algorithm::RSA, 1024, 65537, 65537, d, N);
222 initRSARequest(&request, Algorithm::RSA, 1024, 65537, 65537, d, N)
    [all...]
  /external/vboot_reference/host/lib/
util_misc.c 9 #include <openssl/rsa.h>
48 /* Size of RSA key in 32-bit words */
  /prebuilts/go/darwin-x86/src/cmd/fix/
import_test.go 277 "crypto/rsa"
290 "crypto/rsa"
  /prebuilts/go/linux-x86/src/cmd/fix/
import_test.go 277 "crypto/rsa"
290 "crypto/rsa"

Completed in 2410 milliseconds

1 2 3 4 5 6 78 91011>>