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

1 2 34 5 6 7 8

  /libcore/luni/src/main/java/java/security/
MessageDigest.java 59 // The algorithm.
60 private String algorithm; field in class:MessageDigest
64 * the algorithm to use.
66 * @param algorithm
67 * the name of algorithm to use
69 protected MessageDigest(String algorithm) {
70 this.algorithm = algorithm;
75 * specified algorithm.
77 * @param algorithm
    [all...]
SecureRandom.java 39 * <p>The default algorithm is defined by the first {@code SecureRandomSpi}
53 * algorithm must be secure.
79 private final String algorithm; field in class:SecureRandom
85 * Constructs a new {@code SecureRandom} that uses the default algorithm.
93 this.algorithm = "SHA1PRNG";
98 this.algorithm = service.getAlgorithm();
107 * algorithm. <a href="#insecure_seed">Seeding {@code SecureRandom} may be
132 String algorithm) {
135 this.algorithm = algorithm;
    [all...]
Signature.java 47 // The algorithm.
48 private String algorithm; field in class:Signature
77 * the algorithm to use.
79 * @param algorithm
80 * the name of algorithm to use.
82 protected Signature(String algorithm) {
83 this.algorithm = algorithm;
88 * algorithm.
90 * @param algorithm
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
Mac.java 47 // Store used algorithm name
48 private final String algorithm; field in class:Mac
60 * @param algorithm
61 * the name of the MAC algorithm.
63 protected Mac(MacSpi macSpi, Provider provider, String algorithm) {
65 this.algorithm = algorithm;
71 * Returns the name of the MAC algorithm.
73 * @return the name of the MAC algorithm.
76 return algorithm;
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/
MessageDigestTest.java 53 String algorithm = service.getAlgorithm(); local
56 MessageDigest md1 = MessageDigest.getInstance(algorithm);
57 assertEquals(algorithm, md1.getAlgorithm());
61 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider);
62 assertEquals(algorithm, md2.getAlgorithm());
67 MessageDigest md3 = MessageDigest.getInstance(algorithm, provider.getName());
68 assertEquals(algorithm, md3.getAlgorithm());
72 throw new Exception("Problem testing MessageDigest." + algorithm, e);
80 private static void putExpectation(String algorithm, String inputName, byte[] expected) {
81 algorithm = algorithm.toUpperCase()
194 String algorithm = md.getAlgorithm(); local
    [all...]
ProviderTest.java 71 String algorithm = service.getAlgorithm().toUpperCase(); local
76 + " " + algorithm
82 if (algorithms == null || !algorithms.remove(algorithm)) {
84 // algorithm is available from multiple providers
89 && StandardNames.PROVIDER_ALGORITHMS.get(type).contains(algorithm))) {
90 extra.add("Unknown " + type + " " + algorithm + " " + providerName + "\n");
  /libcore/luni/src/test/java/libcore/javax/crypto/
KeyGeneratorTest.java 47 String algorithm = service.getAlgorithm(); local
50 KeyGenerator kg1 = KeyGenerator.getInstance(algorithm);
51 assertEquals(algorithm, kg1.getAlgorithm());
55 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider);
56 assertEquals(algorithm, kg2.getAlgorithm());
61 KeyGenerator kg3 = KeyGenerator.getInstance(algorithm, provider.getName());
62 assertEquals(algorithm, kg3.getAlgorithm());
66 throw new Exception("Problem testing KeyPairGenerator." + algorithm, e);
74 private static void putKeySize(String algorithm, int keySize) {
75 algorithm = algorithm.toUpperCase()
136 String algorithm = kg.getAlgorithm(); local
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/
finder.hpp 14 #include <boost/algorithm/string/config.hpp>
15 #include <boost/algorithm/string/constants.hpp>
25 namespace algorithm { namespace in namespace:boost
385 return ::boost::algorithm::detail::find_head_impl( Begin, End, N, category() );
459 return ::boost::algorithm::detail::find_tail_impl( Begin, End, N, category() );
487 return ::boost::algorithm::detail::find_head_impl( Begin, End, m_N );
492 ::boost::algorithm::detail::find_tail_impl( Begin, End, -m_N );
525 return ::boost::algorithm::detail::find_tail_impl( Begin, End, m_N );
530 ::boost::algorithm::detail::find_head_impl( Begin, End, -m_N );
545 in a sequence. It is equivalent of std::find algorithm,
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
MessageDigest2Test.java 79 assertTrue("cloned hash differs from original for algorithm "
85 fail("getInstance did not find algorithm " + digestAlgs[i]);
220 fail("getInstance did not find algorithm");
268 fail("getInstance did not find algorithm " + digestAlgs[i]);
288 fail("getInstance did not find algorithm " + digestAlgs[i]);
292 fail("digest caused exception for algorithm " + digestAlgs[i]
330 fail("getInstance did not find algorithm " + digestAlgs[i]);
348 fail("getInstance did not find algorithm " + digestAlgs[i]);
363 fail("getInstance did not find algorithm " + digestAlgs[i]);
377 fail("getInstance did not find algorithm " + digestAlgs[i])
447 String algorithm = (String) e.nextElement(); local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 98 "algorithm name");
99 assertEquals("algorithm name", kf.getAlgorithm());
125 assertEquals("generatePrivate generated different key for algorithm " + keyfactAlgs[i],
129 assertEquals("generatePrivate generated different key for algorithm " + keyfactAlgs[i],
155 "generatePublic generated different key for algorithm "
169 assertTrue("getAlgorithm ok for algorithm " + keyfactAlgs[i],
250 "generatePrivate generated different key for algorithm "
256 "generatePublic generated different key for algorithm "
279 assertNotNull("provider is null for algorithm " + keyfactAlgs[i], p);
330 String algorithm = (String) e.nextElement() local
    [all...]
MessageDigest2Test.java 67 for (String algorithm : algorithms) {
68 MessageDigestStub md = new MessageDigestStub(algorithm);
69 assertEquals(algorithm, md.getAlgorithm());
81 for (String algorithm : e.getValue()) {
82 MessageDigest d1 = MessageDigest.getInstance(algorithm, e.getKey().getName());
91 assertTrue("cloned hash differs from original for algorithm " + algorithm,
243 for (String algorithm : e.getValue()) {
244 MessageDigest digest = MessageDigest.getInstance(algorithm, e.getKey().getName());
256 for (String algorithm : e.getValue())
445 String algorithm = (String) key; local
    [all...]
  /bionic/libc/netbsd/nameser/
ns_print.c 464 u_int keyflags, protocol, algorithm, key_id; local
471 /* Key flags, Protocol, Algorithm. */
479 algorithm = *rdata++;
481 keyflags, protocol, algorithm));
510 u_int typ, algorithm, labels, footprint; local
518 /* Type covered, Algorithm, Label count, Original TTL. */
520 algorithm = *rdata++;
524 p_type((int)typ), algorithm, labels, t));
633 /* Algorithm name. */
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java 36 private static final String algorithm = "SHA1PRNG"; // algorithm's name field in class:SHA1PRNG_SecureRandomTest
47 sr = SecureRandom.getInstance(algorithm, provider);
48 sr2 = SecureRandom.getInstance(algorithm, provider);
202 sr1 = SecureRandom.getInstance(algorithm, provider);
203 sr2 = SecureRandom.getInstance(algorithm, provider);
257 sr1 = SecureRandom.getInstance(algorithm, provider);
258 sr2 = SecureRandom.getInstance(algorithm, provider);
295 sr1 = SecureRandom.getInstance(algorithm, provider);
296 sr2 = SecureRandom.getInstance(algorithm, provider)
    [all...]
SHA1withDSA_SignatureTest.java 55 private static final String algorithm = "SHA1withDSA"; field in class:SHA1withDSA_SignatureTest
154 signs = new Signature[] { Signature.getInstance(algorithm, provider),
155 Signature.getInstance(algorithm, provider),
156 Signature.getInstance(algorithm, provider),
157 Signature.getInstance(algorithm, provider),
158 Signature.getInstance(algorithm, provider) };
709 signingSign = Signature.getInstance(algorithm, provider);
710 verifyingSign = Signature.getInstance(algorithm, provider1);
724 signingSign = Signature.getInstance(algorithm, provider1);
725 verifyingSign = Signature.getInstance(algorithm, provider)
    [all...]
  /external/apache-http/src/org/apache/http/impl/auth/
DigestScheme.java 248 "Unsupported algorithm in HTTP Digest authentication: "
258 * @throws AuthenticationException when MD5 is an unsupported algorithm
266 String algorithm = getParameter("algorithm"); local
276 // If an algorithm is not specified, default to MD5.
277 if (algorithm == null) {
278 algorithm = "MD5";
306 //a1 is suitable for MD5 algorithm
307 if(algorithm.equalsIgnoreCase("MD5-sess")) { // android-changed: ignore case
322 } else if (!algorithm.equalsIgnoreCase("MD5")) { // android-changed: ignore cas
398 String algorithm = getParameter("algorithm"); local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
BCECPrivateKey.java 49 private String algorithm = "EC"; field in class:BCECPrivateKey
68 this.algorithm = key.getAlgorithm();
74 String algorithm,
78 this.algorithm = algorithm;
100 String algorithm,
104 this.algorithm = algorithm;
111 String algorithm,
114 this.algorithm = algorithm
    [all...]
BCECPublicKey.java 43 private String algorithm = "EC"; field in class:BCECPublicKey
51 String algorithm,
54 this.algorithm = algorithm;
62 String algorithm,
66 this.algorithm = algorithm;
73 String algorithm,
77 this.algorithm = algorithm;
    [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 51 private String algorithm = "EC"; field in class:JCEECPublicKey
60 String algorithm,
63 this.algorithm = algorithm;
73 String algorithm,
76 this.algorithm = algorithm;
82 String algorithm,
85 this.algorithm = algorithm;
    [all...]
  /external/chromium/net/base/
dnssec_keyset.cc 19 // These are encoded AlgorithmIdentifiers for the given signature algorithm.
57 // algorithm uint8
70 uint8 algorithm = sigdata[0]; local
137 if (algorithm == kDNSSEC_RSA_SHA1 ||
138 algorithm == kDNSSEC_RSA_SHA1_NSEC3) {
142 } else if (algorithm == kDNSSEC_RSA_SHA256) {
147 // Unknown algorithm.
321 // algorithm AlgorithmIdentifier,
329 const uint8 algorithm = data[3]; local
330 if (algorithm != kDNSSEC_RSA_SHA1 &
    [all...]
  /external/libppp/src/
ccp.c 147 static const struct ccp_algorithm * const algorithm[] = { variable
156 #define NALGORITHMS (sizeof algorithm/sizeof algorithm[0])
179 if (ccp->in.algorithm != -1)
181 (*algorithm[ccp->in.algorithm]->Disp)(&ccp->in.opt));
183 if (ccp->out.algorithm != -1) {
185 for (f = 0; f < ccp->out.algorithm; f++)
186 if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg]))
189 (*algorithm[ccp->out.algorithm]->Disp)(&(*o)->val))
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
CipherBenchmark.java 55 @Param private Algorithm algorithm; field in class:CipherBenchmark
57 public enum Algorithm {
103 cipherAlgorithm = algorithm.toString() + "/" + mode.toString() + "/"
106 String keyAlgorithm = algorithm.toString();
SignatureBenchmark.java 42 @Param private Algorithm algorithm; field in class:SignatureBenchmark
44 public enum Algorithm {
68 this.signatureAlgorithm = algorithm.toString();
  /libcore/crypto/src/main/java/org/conscrypt/
SSLParametersImpl.java 361 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); local
362 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm);
398 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); local
399 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
  /libcore/crypto/src/test/java/org/conscrypt/
TrustManagerImplTest.java 167 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); local
168 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);

Completed in 976 milliseconds

1 2 34 5 6 7 8