/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
KeyFactorySpi.java | 43 String algorithm; field in class:KeyFactorySpi 47 String algorithm, 50 this.algorithm = algorithm; 188 return new BCECPrivateKey(algorithm, (ECPrivateKeySpec)keySpec, configuration); 192 return new BCECPrivateKey(algorithm, (java.security.spec.ECPrivateKeySpec)keySpec, configuration); 202 return new BCECPrivateKey(algorithm, new PrivateKeyInfo(new AlgorithmIdentifier(X9ObjectIdentifiers.id_ecPublicKey, ecKey.getParameters()), ecKey), configuration); 223 return new BCECPublicKey(algorithm, (ECPublicKeySpec)keySpec, configuration); 227 return new BCECPublicKey(algorithm, (java.security.spec.ECPublicKeySpec)keySpec, configuration); 265 return new BCECPrivateKey(algorithm, keyInfo, configuration) [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
KeyGeneratorImpl.java | 33 private final String algorithm; field in class:KeyGeneratorImpl 37 private KeyGeneratorImpl(String algorithm, int defaultKeySizeBits) { 38 this.algorithm = algorithm; 83 return new SecretKeySpec(doKeyGeneration((keySizeBits + 7) / 8), algorithm);
|
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/ |
Transformation.java | 38 Transformation(String algorithm, String mode, String padding, KeyGen keyGen) { 39 this.algorithm = algorithm; 45 final String algorithm; field in class:Transformation 51 return algorithm + "/" + mode + "/" + padding;
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
KeyGeneratorImpl.java | 36 private final String algorithm; field in class:KeyGeneratorImpl 40 private KeyGeneratorImpl(String algorithm, int defaultKeySizeBits) { 41 this.algorithm = algorithm; 86 return new SecretKeySpec(doKeyGeneration((keySizeBits + 7) / 8), algorithm);
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/ |
CTLogInfo.java | 122 String algorithm = sct.getSignature().getAlgorithm(); local 123 signature = Signature.getInstance(algorithm);
|
/external/grpc-grpc/include/grpc/impl/codegen/ |
compression_types.h | 29 * algorithm */ 37 /** Default compression algorithm for the channel. 48 * Unset bits disable support for the algorithm. By default all algorithms are 67 * encodings to request compression in an abstract way. The level-algorithm 94 /** The default message compression algorithm. It'll be used in the absence of 99 grpc_compression_algorithm algorithm; member in struct:grpc_compression_options::grpc_compression_options_default_algorithm
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
MessageDigestAlgorithmBenchmark.java | 36 * <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.). 44 @Param Algorithm algorithm; field in class:MessageDigestAlgorithmBenchmark 49 @Override public byte[] hash(Algorithm algorithm, byte[] input) { 50 MessageDigest md = algorithm.getMessageDigest(); 56 @Override public byte[] hash(Algorithm algorithm, byte[] input) { 57 return algorithm.getHashFunction().hashBytes(input).asBytes() 100 Algorithm algorithm = this.algorithm; local [all...] |
/external/nos/host/android/hals/keymaster/ |
buffer.cpp | 34 using ::android::hardware::keymaster::V4_0::Algorithm; 47 Operation(Algorithm algorithm) : _algorithm(algorithm), _buffer{} { 49 case Algorithm::AES: 52 case Algorithm::TRIPLE_DES: 55 case Algorithm::RSA: 56 case Algorithm::EC: 57 case Algorithm::HMAC: 112 Algorithm algorithm(void) function in class:android::hardware::keymaster::Operation [all...] |
import_key.cpp | 33 using ::android::hardware::keymaster::V4_0::Algorithm; 247 Algorithm algorithm, 251 if (algorithm != Algorithm::AES && algorithm != Algorithm::TRIPLE_DES && 252 algorithm != Algorithm::HMAC) { 253 LOG(ERROR) << "ImportKey request: unsupported algorithm"; 298 const enum Algorithm *algorithm; local [all...] |
/external/squashfs-tools/squashfs-tools/ |
lzo_wrapper.c | 43 /* default LZO compression algorithm and compression level */ 44 static int algorithm = SQUASHFS_LZO1X_999; variable 72 fprintf(stderr, "lzo: -Xalgorithm missing algorithm\n"); 73 fprintf(stderr, "lzo: -Xalgorithm <algorithm>\n"); 79 algorithm = i; 84 fprintf(stderr, "lzo: -Xalgorithm unrecognised algorithm\n"); 111 fprintf(stderr, "lzo: compression algorithm should be one of:\n"); 123 * In this case the LZO algorithm may not be known until after the 133 * LZO1X_999 algorithm 136 if(algorithm != SQUASHFS_LZO1X_999) [all...] |
lzo_wrapper.h | 39 (s)->algorithm = inswap_le32((s)->algorithm); \ 57 int algorithm; member in struct:lzo_comp_opts
|
/external/vboot_reference/firmware/lib/cryptolib/include/ |
sha.h | 100 int algorithm; /* Hashing algorithm to use. */ member in struct:DigestContext 105 * and stores the state of any digest algorithm (one at any given time). 108 /* Initialize a digest context for use with signature algorithm [algorithm]. */ 116 * based on the signature [algorithm]. 122 * [len] based on the signature [algorithm].
|
/external/vboot_reference/futility/ |
cmd_vbutil_key.c | 34 {"algorithm", 1, 0, OPT_ALGORITHM}, 53 " --algorithm <number> " 54 "Signing algorithm to use with key:\n", progname); 70 static int Pack(const char *infile, const char *outfile, uint64_t algorithm, 81 pubkey = PublicKeyReadKeyb(infile, algorithm, version); 91 privkey = PrivateKeyReadPem(infile, algorithm); 119 printf("Algorithm: %" PRIu64 " %s\n", pubkey->algorithm, 120 (pubkey->algorithm < kNumAlgorithms ? 121 algo_strings[pubkey->algorithm] : "(invalid)")) 172 uint64_t algorithm = kNumAlgorithms; local [all...] |
/cts/tests/tests/keystore/src/android/keystore/cts/ |
RSASignatureTest.java | 46 for (String algorithm : SignatureTest.EXPECTED_SIGNATURE_ALGORITHMS) { 47 String keyAlgorithm = TestUtils.getSignatureAlgorithmKeyAlgorithm(algorithm); 49 sigAlgs.add(algorithm); external variable declarations 110 for (String algorithm : SIGNATURE_ALGORITHMS) { 112 String digest = TestUtils.getSignatureAlgorithmDigest(algorithm); 128 TestUtils.getMinimalWorkingImportParametersForSigningingWith(algorithm)) 133 Signature signature = Signature.getInstance(algorithm, provider); 145 throw new RuntimeException("Failed for " + algorithm, e);
|
/external/boringssl/src/crypto/evp/ |
p_ec_asn1.c | 74 CBB spki, algorithm, oid, key_bitstring; local 76 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || 77 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 79 !EC_KEY_marshal_curve_name(&algorithm, group) || 174 CBB pkcs8, algorithm, oid, private_key; local 177 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || 178 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 180 !EC_KEY_marshal_curve_name(&algorithm, EC_KEY_get0_group(ec_key)) ||
|
/external/boringssl/src/crypto/pkcs8/ |
p5_pbev2.c | 177 CBB algorithm, oid, param, kdf, kdf_oid, kdf_param, salt_cbb, cipher_cbb, local 179 if (!CBB_add_asn1(out, &algorithm, CBS_ASN1_SEQUENCE) || 180 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 182 !CBB_add_asn1(&algorithm, ¶m, CBS_ASN1_SEQUENCE) || 229 // See if we recognise the encryption algorithm.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BCPBEKey.java | 17 String algorithm; field in class:BCPBEKey 31 String algorithm, 40 this.algorithm = algorithm; 53 this.algorithm = algName; 59 return algorithm;
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
BCPBEKey.java | 21 String algorithm; field in class:BCPBEKey 35 String algorithm, 44 this.algorithm = algorithm; 57 this.algorithm = algName; 63 return algorithm;
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/ |
KeyGeneratorTest.java | 84 // providing AndroidKeyStore-specific algorithm parameters. 91 String algorithm = service.getAlgorithm(); local 94 KeyGenerator kg1 = KeyGenerator.getInstance(algorithm); 95 assertEquals(algorithm, kg1.getAlgorithm()); 99 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider); 100 assertEquals(algorithm, kg2.getAlgorithm()); 105 KeyGenerator kg3 = KeyGenerator.getInstance(algorithm, provider.getName()); 106 assertEquals(algorithm, kg3.getAlgorithm()); 110 throw new Exception("Problem testing KeyPairGenerator." + algorithm, e); 118 private static void putKeySize(String algorithm, int keySize) 183 String algorithm = kg.getAlgorithm(); local [all...] |
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/ |
KeyGeneratorTest.java | 88 // providing AndroidKeyStore-specific algorithm parameters. 95 String algorithm = service.getAlgorithm(); local 98 KeyGenerator kg1 = KeyGenerator.getInstance(algorithm); 99 assertEquals(algorithm, kg1.getAlgorithm()); 103 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider); 104 assertEquals(algorithm, kg2.getAlgorithm()); 109 KeyGenerator kg3 = KeyGenerator.getInstance(algorithm, provider.getName()); 110 assertEquals(algorithm, kg3.getAlgorithm()); 114 throw new Exception("Problem testing KeyPairGenerator." + algorithm, e); 122 private static void putKeySize(String algorithm, int keySize) 187 String algorithm = kg.getAlgorithm(); local [all...] |
/external/ipsec-tools/src/racoon/ |
getcertsbyname.c | 70 getnewci(qtype, keytag, algorithm, flags, certlen, cert) 71 int qtype, keytag, algorithm, flags, certlen; 83 res->ci_algorithm = algorithm; 127 int type, keytag, algorithm; local 170 algorithm = *cp++; /* algorithm */ 175 type, keytag, algorithm, rdlength); 179 cur->ci_next = getnewci(type, keytag, algorithm, 214 int qtype, qclass, keytag, algorithm; local 303 algorithm = *cp++; /* algorithm * [all...] |
/external/nist-sip/java/gov/nist/core/net/ |
SslNetworkLayer.java | 72 String algorithm = KeyManagerFactory.getDefaultAlgorithm();
local 73 TrustManagerFactory tmFactory = TrustManagerFactory.getInstance(algorithm);
74 KeyManagerFactory kmFactory = KeyManagerFactory.getInstance(algorithm);
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
cudnn_conv_runner.cc | 72 se::dnn::AlgorithmConfig algorithm; member in struct:xla::gpu::__anon44396::CudnnConvParams 127 AlgorithmConfig algorithm = params.algorithm; local 129 VLOG(3) << "Convolution Algorithm: " << algorithm.algorithm()->algo_id(); 131 << algorithm.algorithm()->tensor_ops_enabled(); 248 scratch_allocator, algorithm, profile_result); 259 scratch_allocator, algorithm, profile_result) [all...] |
/external/tensorflow/tensorflow/python/ops/ |
stateful_random_ops.py | 129 raise ValueError("Unsupported algorithm id: %s" % alg) 137 def create_rng_state(seed, algorithm): 142 algorithm: an integer representing the RNG algorithm. 145 a 1-D tensor whose size depends on the algorithm. 147 return _make_state_from_seed(seed, algorithm) 166 def __init__(self, copy_from=None, seed=None, algorithm=None): 173 algorithm: (optional) the RNG algorithm. If None, it will be 177 if algorithm is None 206 def algorithm(self): member in class:Generator [all...] |
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
RsaSignatureTest.java | 1078 String algorithm = "SHA256WithRSA"; local 1192 String algorithm = ALGORITHM_KEY1; local [all...] |