HomeSort by relevance Sort by last modified time
    Searched defs:algorithm (Results 51 - 75 of 469) sorted by null

1 23 4 5 6 7 8 91011>>

  /libcore/ojluni/src/main/java/javax/crypto/
SecretKeyFactory.java 65 * <th>Algorithm</th>
256 * Java Cryptography Architecture Standard Algorithm Name Documentation.
272 // The algorithm associated with this factory
273 private final String algorithm; field in class:SecretKeyFactory
290 * @param algorithm the secret-key algorithm
293 Provider provider, String algorithm) {
296 this.algorithm = algorithm;
299 private SecretKeyFactory(String algorithm) throws NoSuchAlgorithmException
    [all...]
KeyAgreement.java 61 * <th>Algorithm</th>
77 * This algorithm is described in the <a href=
80 * Java Cryptography Architecture Standard Algorithm Name Documentation.
108 // The name of the key agreement algorithm.
109 private final String algorithm; field in class:KeyAgreement
112 // When only the algorithm is specified, we want to allow the KeyAgreement provider for that
113 // algorithm to change if multiple providers exist and they support different subsets of
135 * @param algorithm the algorithm
138 String algorithm) {
    [all...]
KeyGenerator.java 47 * <p>There are two ways to generate a key: in an algorithm-independent
48 * manner, and in an algorithm-specific manner.
52 * <li><b>Algorithm-Independent Initialization</b>
66 * algorithm-independent <code>init</code> methods, it is up to the
67 * provider what to do about the algorithm-specific parameters (if any) to be
70 * <li><b>Algorithm-Specific Initialization</b>
71 * <p>For situations where a set of algorithm-specific parameters already
90 * <th>Algorithm</th>
161 * Java Cryptography Architecture Standard Algorithm Name Documentation.
192 // The algorithm
193 private final String algorithm; field in class:KeyGenerator
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 90 private String algorithm; field in class:KeyStoreTestSupport.MyPrivateKey
96 public MyPrivateKey(String algorithm, String format, byte[] encoded) {
97 this.algorithm = algorithm;
103 return algorithm;
MyKeyPairGenerator1.java 95 private String algorithm; field in class:MyKeyPairGenerator1.PubKey
102 this.algorithm = "MyKeyPairGenerator1";
108 return algorithm;
121 private String algorithm; field in class:MyKeyPairGenerator1.PrivKey
128 this.algorithm = "MyKeyPairGenerator1";
134 return algorithm;
  /system/keymaster/contexts/
keymaster2_passthrough_context.cpp 43 KeyFactory* Keymaster2PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const {
44 auto& result = factories_[algorithm];
46 result.reset(new KeymasterPassthroughKeyFactory(engine_.get(), algorithm));
50 OperationFactory* Keymaster2PassthroughContext::GetOperationFactory(keymaster_algorithm_t algorithm,
52 auto keyfactory = GetKeyFactory(algorithm);
97 keymaster_algorithm_t algorithm; local
98 if (!hw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm) &&
99 !sw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm)) {
104 auto factory = GetKeyFactory(algorithm);
keymaster1_passthrough_context.cpp 55 KeyFactory* Keymaster1PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const {
56 auto& result = factories_[algorithm];
58 switch(algorithm) {
82 OperationFactory* Keymaster1PassthroughContext::GetOperationFactory(keymaster_algorithm_t algorithm,
84 auto keyfactory = GetKeyFactory(algorithm);
165 keymaster_algorithm_t algorithm; local
166 if (!hw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm) &&
167 !sw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm)) {
170 auto factory = GetKeyFactory(algorithm);
243 // We have established that the given key has the correct algorithm, and because this is th
    [all...]
  /system/keymaster/include/keymaster/
operation.h 43 : algorithm(alg), purpose(purp) {}
45 keymaster_algorithm_t algorithm; member in struct:keymaster::OperationFactory::KeyType
49 return algorithm == rhs.algorithm && purpose == rhs.purpose;
  /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, &param, 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 15 String algorithm; field in class:BCPBEKey
29 String algorithm,
38 this.algorithm = algorithm;
50 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/dhcpcd-6.8.2/
auth.c 110 uint8_t protocol, algorithm, rdm, *mm, type; local
132 algorithm = *d++;
142 algorithm != auth->algorithm ||
328 switch (algorithm) {
516 switch(auth->algorithm) {
572 *data++ = auth->algorithm;
654 switch(auth->algorithm) {
auth.h 63 uint8_t algorithm; member in struct:auth
  /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/wycheproof/java/com/google/security/wycheproof/testcases/
RsaSignatureTest.java 1078 String algorithm = "SHA256WithRSA"; local
1192 String algorithm = ALGORITHM_KEY1; local
    [all...]
  /frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
KeyChainSnapshotDeserializer.java 274 int algorithm = -1; local
290 algorithm = readIntTag(parser, TAG_ALGORITHM);
312 switch (algorithm) {
324 "Unknown algorithm in keyDerivationParams");
  /libcore/luni/src/test/java/libcore/java/security/
SecureRandomTest.java 45 String algorithm = service.getAlgorithm(); local
47 SecureRandom sr1 = SecureRandom.getInstance(algorithm);
48 assertEquals(algorithm, sr1.getAlgorithm());
52 SecureRandom sr2 = SecureRandom.getInstance(algorithm, provider);
53 assertEquals(algorithm, sr2.getAlgorithm());
58 SecureRandom sr3 = SecureRandom.getInstance(algorithm, provider.getName());
59 assertEquals(algorithm, sr3.getAlgorithm());
63 System.out.println("SecureRandomTest " + algorithm + " and provider "
66 throw new Exception("Problem testing SecureRandom." + algorithm
  /libcore/ojluni/src/main/java/java/security/
KeyPairGenerator.java 43 * <p>A Key pair generator for a particular algorithm creates a public/private
44 * key pair that can be used with this algorithm. It also associates
45 * algorithm-specific parameters with each of the generated keys.
47 * <p>There are two ways to generate a key pair: in an algorithm-independent
48 * manner, and in an algorithm-specific manner.
52 * <li><b>Algorithm-Independent Initialization</b>
55 * algorithms (e.g., in the case of the <i>DSA</i> algorithm, the keysize
68 * algorithm-independent {@code initialize} methods, it is up to the
69 * provider what to do about the algorithm-specific parameters (if any) to be
72 * <p>If the algorithm is the <i>DSA</i> algorithm, and the keysize (modulu
155 private final String algorithm; field in class:KeyPairGenerator
    [all...]
SecureRandom.java 62 * number generator (PRNG), which means they use a deterministic algorithm
88 * The SHA1PRNG algorithm from the Crypto provider has been deprecated as it was insecure, and also
128 * The algorithm name of null if unknown.
133 private String algorithm; field in class:SecureRandom
140 * default random number algorithm.
146 * Provider that supports a SecureRandom (RNG) algorithm is returned.
147 * If none of the Providers support a RNG algorithm,
155 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
156 * for information about standard RNG algorithm names.
177 * default random number algorithm
    [all...]
  /libcore/ojluni/src/main/java/sun/security/util/
ManifestEntryVerifier.java 128 String algorithm = key.substring(0, key.length()-7); local
130 MessageDigest digest = createdDigests.get(algorithm);
136 (algorithm, SunProviderHolder.instance);
137 createdDigests.put(algorithm, digest);
  /system/keymaster/android_keymaster/
keymaster_enforcement.cpp 76 keymaster_algorithm_t algorithm; local
77 return auth_set.GetTagValue(TAG_ALGORITHM, &algorithm) &&
78 (algorithm == KM_ALGORITHM_RSA || algorithm == KM_ALGORITHM_EC);
317 /* Algorithm specific parameters not used for access control. */
  /system/keymaster/legacy_support/
keymaster1_legacy_support.cpp 24 #include <algorithm>
56 static keymaster_error_t add_digests(const keymaster1_device_t* dev, keymaster_algorithm_t algorithm,
59 auto key = std::make_pair(algorithm, purpose);
64 dev->get_supported_digests(dev, algorithm, purpose, &digests, &digests_length);
85 for (auto algorithm : sig_algorithms)
89 add_digests(dev, algorithm, purpose, map, &alg_purpose_supports_all);
97 for (auto algorithm : crypt_algorithms)
101 add_digests(dev, algorithm, purpose, map, &alg_purpose_supports_all);
119 static bool findUnsupportedDigest(keymaster_algorithm_t algorithm,
123 auto supported_digests = digest_map.find(std::make_pair(algorithm, purpose))
162 keymaster_algorithm_t algorithm; local
183 keymaster_algorithm_t algorithm; local
    [all...]

Completed in 667 milliseconds

1 23 4 5 6 7 8 91011>>