HomeSort by relevance Sort by last modified time
    Searched defs:algorithm (Results 76 - 100 of 370) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
BCECPublicKey.java 39 private String algorithm = "EC"; field in class:BCECPublicKey
47 String algorithm,
50 this.algorithm = algorithm;
58 String algorithm,
62 this.algorithm = algorithm;
69 String algorithm,
73 this.algorithm = algorithm;
    [all...]
KeyPairGeneratorSpi.java 52 String algorithm; field in class:KeyPairGeneratorSpi.EC
72 this.algorithm = "EC";
77 String algorithm,
80 super(algorithm);
81 this.algorithm = algorithm;
177 BCECPublicKey pubKey = new BCECPublicKey(algorithm, pub, p, configuration);
179 new BCECPrivateKey(algorithm, priv, pubKey, p, configuration));
183 return new KeyPair(new BCECPublicKey(algorithm, pub, configuration),
184 new BCECPrivateKey(algorithm, priv, configuration))
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCEECPrivateKey.java 47 private String algorithm = "EC"; field in class:JCEECPrivateKey
64 this.algorithm = key.getAlgorithm();
69 String algorithm,
72 this.algorithm = algorithm;
92 String algorithm,
95 this.algorithm = algorithm;
101 String algorithm,
104 this.algorithm = algorithm
    [all...]
JCEECPublicKey.java 54 private String algorithm = "EC"; field in class:JCEECPublicKey
63 String algorithm,
66 this.algorithm = algorithm;
76 String algorithm,
79 this.algorithm = algorithm;
85 String algorithm,
88 this.algorithm = algorithm;
    [all...]
  /external/curl/lib/vauth/
digest.c 248 * alg [in/out] - The buffer where the algorithm will be stored.
249 * alen [in] - The length of the algorithm buffer.
291 /* Retrieve algorithm string from the challenge */
292 if(!auth_digest_get_key_value((char *) chlg, "algorithm=", alg, alen, ',')) {
344 char algorithm[64]; local
357 algorithm, sizeof(algorithm),
363 if(strcmp(algorithm, "md5-sess") != 0)
586 else if(Curl_raw_equal(value, "algorithm")) {
587 free(digest->algorithm);
    [all...]
  /external/vboot_reference/firmware/lib20/include/
vb2_struct.h 30 /* Signature algorithm used by the key (enum vb2_crypto_algorithm) */
31 uint32_t algorithm; member in struct:vb2_packed_key
  /external/wycheproof/java/com/google/security/wycheproof/testcases/
CipherInputStreamTest.java 43 static SecretKeySpec randomKey(String algorithm, int keySizeInBytes) {
48 String algorithm, int ivSizeInBytes, int tagSizeInBytes) {
49 if ("AES/GCM/NoPadding".equals(algorithm) || "AES/EAX/NoPadding".equals(algorithm)) {
57 public String algorithm; field in class:CipherInputStreamTest.TestVector
66 String algorithm, int keySize, int ivSize, int tagSize, int ptSize, int aadSize)
68 this.algorithm = algorithm;
69 this.key = randomKey(algorithm, keySize);
70 this.params = randomParameters(algorithm, ivSize, tagSize)
261 final String algorithm = "AES\/EAX\/NoPadding"; local
    [all...]
CipherOutputStreamTest.java 42 static SecretKeySpec randomKey(String algorithm, int keySizeInBytes) {
47 String algorithm, int ivSizeInBytes, int tagSizeInBytes) {
48 if ("AES/GCM/NoPadding".equals(algorithm) || "AES/EAX/NoPadding".equals(algorithm)) {
57 public String algorithm; field in class:CipherOutputStreamTest.TestVector
65 String algorithm, int keySize, int ivSize, int tagSize, int ptSize, int aadSize)
67 this.algorithm = algorithm;
68 this.key = randomKey(algorithm, keySize);
69 this.params = randomParameters(algorithm, ivSize, tagSize)
221 final String algorithm = "AES\/EAX\/NoPadding"; local
    [all...]
EcdsaTest.java 554 * Determines the Hash name from the ECDSA algorithm. There is a small inconsistency in the naming
676 String algorithm = "SHA256WithECDSA"; local
    [all...]
  /frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
HTTPRequest.java 96 String algorithm = itemMap.remove("algorithm"); local
97 if (algorithm != null && !algorithm.equalsIgnoreCase("md5")) {
98 throw new IOException("Unsupported algorithm: '" + algorithm + "'");
  /hardware/interfaces/keymaster/3.0/vts/functional/
attestation_record.cpp 62 ASN1_INTEGER* algorithm; member in struct:android::hardware::keymaster::V3_0::km_auth_list
89 ASN1_EXP_OPT(KM_AUTH_LIST, algorithm, ASN1_INTEGER, TAG_ALGORITHM.maskedTag()),
228 copyAuthTag(record->algorithm, TAG_ALGORITHM, auth_list);
  /libcore/benchmarks/src/benchmarks/regression/
CipherBenchmark.java 51 @Param private Algorithm algorithm; field in class:CipherBenchmark
53 public enum Algorithm {
100 cipherAlgorithm = algorithm.toString() + "/" + mode.toString() + "/"
103 String keyAlgorithm = algorithm.toString();
MessageDigestBenchmark.java 56 @Param private Algorithm algorithm; field in class:MessageDigestBenchmark
58 public enum Algorithm { MD5, SHA1, SHA256, SHA384, SHA512 };
66 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(),
75 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(),
84 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(),
93 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(),
104 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(),
115 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(),
126 MessageDigest digest = MessageDigest.getInstance(algorithm.toString()
    [all...]
SignatureBenchmark.java 41 @Param private Algorithm algorithm; field in class:SignatureBenchmark
43 public enum Algorithm {
68 this.signatureAlgorithm = algorithm.toString();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/
OldSHA1PRNGSecureRandomTest.java 36 private static final String algorithm = "SHA1PRNG"; // algorithm's name field in class:OldSHA1PRNGSecureRandomTest
47 sr = SecureRandom.getInstance(algorithm);
48 sr2 = SecureRandom.getInstance(algorithm);
188 sr1 = SecureRandom.getInstance(algorithm);
189 sr2 = SecureRandom.getInstance(algorithm);
244 sr1 = SecureRandom.getInstance(algorithm);
245 sr2 = SecureRandom.getInstance(algorithm);
285 sr1 = SecureRandom.getInstance(algorithm);
286 sr2 = SecureRandom.getInstance(algorithm);
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/
MessageDigestTest.java 63 String algorithm = service.getAlgorithm(); local
66 MessageDigest md1 = MessageDigest.getInstance(algorithm);
67 assertEquals(algorithm, md1.getAlgorithm());
71 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider);
72 assertEquals(algorithm, md2.getAlgorithm());
77 MessageDigest md3 = MessageDigest.getInstance(algorithm, provider.getName());
78 assertEquals(algorithm, md3.getAlgorithm());
82 throw new Exception("Problem testing MessageDigest." + algorithm, e);
90 private static void putExpectation(String algorithm, String inputName, byte[] expected) {
91 algorithm = algorithm.toUpperCase()
216 String algorithm = md.getAlgorithm(); local
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
KeyManagerFactoryTest.java 58 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); local
59 assertEquals(StandardNames.KEY_MANAGER_FACTORY_DEFAULT, algorithm);
60 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm);
66 private static boolean supportsManagerFactoryParameters(String algorithm) {
68 return algorithm.equals("NewSunX509");
71 private static String[] keyTypes(String algorithm) {
74 return (algorithm.equals("NewSunX509")
160 private void test_X509KeyManager(X509KeyManager km, boolean empty, String algorithm)
162 String[] keyTypes = keyTypes(algorithm);
199 test_X509ExtendedKeyManager((X509ExtendedKeyManager) km, empty, algorithm);
271 String algorithm = service.getAlgorithm(); local
    [all...]
TrustManagerFactoryTest.java 57 private static boolean supportsManagerFactoryParameters(String algorithm) {
58 return (StandardNames.IS_RI && algorithm.equals("PKIX"));
62 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); local
63 assertEquals(StandardNames.TRUST_MANAGER_FACTORY_DEFAULT, algorithm);
64 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
185 String algorithm = service.getAlgorithm(); local
187 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
188 assertEquals(algorithm, tmf.getAlgorithm());
193 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm,
195 assertEquals(algorithm, tmf.getAlgorithm())
231 String algorithm = service.getAlgorithm(); local
254 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); local
284 String algorithm = "RSA"; local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SealedObjectTest.java 145 assertEquals("The algorithm which was used to seal the object "
146 + "should be the same as the algorithm used to seal the "
156 String algorithm = "DES"; local
157 KeyGenerator kg = KeyGenerator.getInstance(algorithm);
160 Cipher cipher = Cipher.getInstance(algorithm);
164 assertEquals("The algorithm name should be the same as used "
165 + "in cipher.", algorithm, so.getAlgorithm());
171 String algorithm = "DES"; local
172 KeyGenerator kg = KeyGenerator.getInstance(algorithm);
175 Cipher cipher = Cipher.getInstance(algorithm);
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
ProviderServiceTest.java 47 new Provider.Service(null, "type", "algorithm", "className", null,
53 new Provider.Service(p, null, "algorithm", "className", null, null);
59 fail("algorithm is null: No expected NullPointerException");
63 new Provider.Service(p, "type", "algorithm", null, null, null);
68 Provider.Service s = new Provider.Service(p, "type", "algorithm",
74 if (!s.getAlgorithm().equals("algorithm")) {
90 Provider.Service s = new Provider.Service(p, "type", "algorithm",
107 s = new Provider.Service(p, "type", "algorithm", "className", null, hm);
121 String algorithm = "algorithm"; local
138 String algorithm = "algorithm"; local
    [all...]
  /libcore/ojluni/src/main/java/java/security/
MessageDigest.java 44 * message digest algorithm, such as SHA-1 or SHA-256.
92 * <th>Algorithm</th>
127 * Java Cryptography Architecture Standard Algorithm Name Documentation.
145 private String algorithm; field in class:MessageDigest
156 * Creates a message digest with the specified algorithm name.
158 * @param algorithm the standard name of the digest algorithm.
161 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
162 * for information about standard algorithm names.
164 protected MessageDigest(String algorithm) {
    [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/pkcs/
PKCS8Key.java 57 /* The algorithm information (name, parameters, etc). */
60 /* The key bytes, without the algorithm information */
71 * and algorithm initialized before it may be used, for example
79 * about this particular algorithm is available.
109 * information. Also, when a key (or algorithm) needs some special
117 AlgorithmId algorithm; local
131 algorithm = AlgorithmId.parse (in.data.getDerValue ());
134 privKey = buildPKCS8Key (algorithm, in.data.getOctetString ());
165 * specific algorithm ID or else returning this generic base class.
182 // Instantiate the key factory of the appropriate algorithm
    [all...]
  /libcore/ojluni/src/main/java/sun/security/util/
DisabledAlgorithmConstraints.java 43 * Algorithm constraints for disabled algorithms property
46 * for the syntax of the disabled algorithm string.
67 * Initialize algorithm constraints with the specified security property.
70 * algorithm constraints
77 * Initialize algorithm constraints with the specified security property
81 * algorithm constraints
92 * This only checks if the algorithm has been completely disabled. If
93 * there are keysize or other limit, this method allow the algorithm.
97 String algorithm, AlgorithmParameters parameters) {
103 return checkAlgorithm(disabledAlgorithms, algorithm, decomposer)
195 String algorithm = cert.getSigAlgName(); local
254 String algorithm; local
375 String algorithm; field in class:DisabledAlgorithmConstraints.Constraint
    [all...]
  /libcore/ojluni/src/main/java/sun/security/x509/
X509Key.java 47 * certificate. Includes a description of the algorithm to be used
65 /* The algorithm information (name, parameters, etc). */
69 * The key bytes, without the algorithm information.
93 * and algorithm initialized before it may be used, for example
101 * about this particular algorithm is available.
154 * information. Also, when a key (or algorithm) needs some special
162 AlgorithmId algorithm; local
168 algorithm = AlgorithmId.parse(in.data.getDerValue());
170 subjectKey = buildX509Key(algorithm,
202 * specific algorithm ID or else returning this generic base class
    [all...]

Completed in 947 milliseconds

1 2 34 5 6 7 8 91011>>