Searched refs:hash (Results 151 - 175 of 1823) sorted by relevance

1234567891011>>

/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dsha1-prf.c35 u8 hash[SHA1_MAC_LEN]; local
57 hash))
59 os_memcpy(&buf[pos], hash, plen);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
H A DDSABase.java50 byte[] hash = new byte[digest.getDigestSize()];
52 digest.doFinal(hash, 0);
56 BigInteger[] sig = signer.generateSignature(hash);
70 byte[] hash = new byte[digest.getDigestSize()];
72 digest.doFinal(hash, 0);
85 return signer.verifySignature(hash, sig[0], sig[1]);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebCryptoKeyAlgorithmParams.h98 WebCryptoHmacKeyAlgorithmParams(const WebCryptoAlgorithm& hash, unsigned lengthBits) argument
99 : m_hash(hash)
104 const WebCryptoAlgorithm& hash() const function in class:blink::WebCryptoHmacKeyAlgorithmParams
121 dict->setAlgorithm("hash", m_hash);
132 WebCryptoRsaHashedKeyAlgorithmParams(unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publicExponentSize, const WebCryptoAlgorithm& hash) argument
135 , m_hash(hash)
149 const WebCryptoAlgorithm& hash() const function in class:blink::WebCryptoRsaHashedKeyAlgorithmParams
161 dict->setAlgorithm("hash", m_hash);
/external/chromium_org/third_party/cld/base/
H A Dstl_decl_msvc.h75 struct hash;
78 class HashFcn = hash<Key> >
82 class HashFcn = hash<Key> >
86 class HashFcn = hash<Key> >
90 class HashFcn = hash<Key> >
96 using msvchash::hash;
/external/libcxx/test/containers/unord/unord.map/unord.map.cnstr/
H A Dsize_hash.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
31 test_hash<std::hash<NotConstructible> >,
37 test_hash<std::hash<NotConstructible> >(8)
40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
53 test_hash<std::hash<NotConstructible> >,
59 test_hash<std::hash<NotConstructible> >(8)
62 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
H A Dsize_hash_equal.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
31 test_hash<std::hash<NotConstructible> >,
37 test_hash<std::hash<NotConstructible> >(8),
41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
54 test_hash<std::hash<NotConstructible> >,
60 test_hash<std::hash<NotConstructible> >(8),
64 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
H A Dsize_hash_equal_allocator.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
31 test_hash<std::hash<NotConstructible> >,
37 test_hash<std::hash<NotConstructible> >(8),
42 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
55 test_hash<std::hash<NotConstructible> >,
61 test_hash<std::hash<NotConstructible> >(8),
66 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
/external/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/
H A Dsize_hash.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
31 test_hash<std::hash<NotConstructible> >,
37 test_hash<std::hash<NotConstructible> >(8)
40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
53 test_hash<std::hash<NotConstructible> >,
59 test_hash<std::hash<NotConstructible> >(8)
62 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
H A Dsize_hash_equal.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
31 test_hash<std::hash<NotConstructible> >,
37 test_hash<std::hash<NotConstructible> >(8),
41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
54 test_hash<std::hash<NotConstructible> >,
60 test_hash<std::hash<NotConstructible> >(8),
64 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
H A Dsize_hash_equal_allocator.pass.cpp12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
31 test_hash<std::hash<NotConstructible> >,
37 test_hash<std::hash<NotConstructible> >(8),
42 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
55 test_hash<std::hash<NotConstructible> >,
61 test_hash<std::hash<NotConstructible> >(8),
66 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
/external/libcxx/test/containers/unord/unord.multiset/unord.multiset.cnstr/
H A Dsize_hash_equal.pass.cpp12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>,
31 test_hash<std::hash<NotConstructible> >,
36 test_hash<std::hash<NotConstructible> >(8),
40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
52 test_hash<std::hash<NotConstructible> >,
57 test_hash<std::hash<NotConstructible> >(8),
61 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
H A Dsize_hash_equal_allocator.pass.cpp12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>,
31 test_hash<std::hash<NotConstructible> >,
36 test_hash<std::hash<NotConstructible> >(8),
41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
53 test_hash<std::hash<NotConstructible> >,
58 test_hash<std::hash<NotConstructible> >(8),
63 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
/external/libcxx/test/containers/unord/unord.set/unord.set.cnstr/
H A Dsize_hash_equal.pass.cpp12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>,
31 test_hash<std::hash<NotConstructible> >,
36 test_hash<std::hash<NotConstructible> >(8),
40 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
52 test_hash<std::hash<NotConstructible> >,
57 test_hash<std::hash<NotConstructible> >(8),
61 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
H A Dsize_hash_equal_allocator.pass.cpp12 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>,
31 test_hash<std::hash<NotConstructible> >,
36 test_hash<std::hash<NotConstructible> >(8),
41 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
53 test_hash<std::hash<NotConstructible> >,
58 test_hash<std::hash<NotConstructible> >(8),
63 assert(c.hash_function() == test_hash<std::hash<NotConstructible> >(8));
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
H A DSHA1ImplTest.java66 int[] words = new int[INDEX + 6]; // working array to compute hash
70 int[] hash = { 0xA9993E36, 0x4706816A, 0xBA3E2571, 0x7850C26C, 0x9CD0D89D };
91 hash[k] == hash1[k]);
93 assertTrue("false2: k=" + k + " j=" + Integer.toHexString(j), hash[k] == j);
105 int[] hash = { 0x84983e44, 0x1c3bd26e, 0xbaae4aa1, 0xf95129e5, 0xe54670f1 };
117 assertTrue("false: k=" + k + " j=" + Integer.toHexString(j), hash[k] == j);
124 * for four different cases of infilling internal buffer and computing intermediate hash.
129 int[] hash = { 0x34aa973c, 0xd4c4daa4, 0xf61eeb2b, 0xdbad2731, 0x6534016f };
155 hash[k] == j);
164 private void alternateHash(int[] bufW, int[] hash) { argument
[all...]
/external/apache-http/src/org/apache/http/
H A DHttpHost.java212 int hash = LangUtils.HASH_SEED;
213 hash = LangUtils.hashCode(hash, this.lcHostname);
214 hash = LangUtils.hashCode(hash, this.port);
215 hash = LangUtils.hashCode(hash, this.schemeName);
216 return hash;
/external/apache-http/src/org/apache/http/message/
H A DBasicHeaderElement.java218 int hash = LangUtils.HASH_SEED;
219 hash = LangUtils.hashCode(hash, this.name);
220 hash = LangUtils.hashCode(hash, this.value);
222 hash = LangUtils.hashCode(hash, this.parameters[i]);
224 return hash;
/external/chromium_org/chrome/browser/spellchecker/
H A Dmisspelling.h7 // Stores the spellcheck suggestion, its uint32 hash identifier, and user's
27 // misspelling.hash = GenerateRandomHash();
38 uint32 hash);
62 // The hash that identifies the misspelling.
63 uint32 hash; member in class:Misspelling
/external/chromium_org/content/child/webcrypto/nss/
H A Drsa_ssa_nss.cc29 const blink::WebCryptoAlgorithmId hash) const OVERRIDE {
30 switch (hash) {
53 const blink::WebCryptoAlgorithm& hash = variable
54 key.algorithm().rsaHashedParams()->hash();
57 // inner hash of the input Web Crypto algorithm.
59 switch (hash.id()) {
100 const blink::WebCryptoAlgorithm& hash = variable
101 key.algorithm().rsaHashedParams()->hash();
106 switch (hash.id()) {
/external/chromium_org/remoting/host/
H A Dpin_hash_unittest.cc17 std::string hash = MakeHostPinHash("Host ID", "1234"); local
18 ASSERT_EQ("hmac:bk6RVRFLpLO89mr4QPHSg8CemUUtI90r2F0VfvTmWLI=", hash);
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebCryptoKeyAlgorithm.cpp40 WebCryptoAlgorithm createHash(WebCryptoAlgorithmId hash) argument
42 return WebCryptoAlgorithm::adoptParamsAndCreate(hash, 0);
76 WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createHmac(WebCryptoAlgorithmId hash, unsigned keyLengthBits) argument
78 if (!WebCryptoAlgorithm::isHash(hash))
80 return WebCryptoKeyAlgorithm(WebCryptoAlgorithmIdHmac, adoptPtr(new WebCryptoHmacKeyAlgorithmParams(createHash(hash), keyLengthBits)));
83 WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createRsaHashed(WebCryptoAlgorithmId id, unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publicExponentSize, WebCryptoAlgorithmId hash) argument
85 // FIXME: Verify that id is an RSA algorithm which expects a hash
86 if (!WebCryptoAlgorithm::isHash(hash))
88 return WebCryptoKeyAlgorithm(id, adoptPtr(new WebCryptoRsaHashedKeyAlgorithmParams(modulusLengthBits, publicExponent, publicExponentSize, createHash(hash))));
/external/libcxx/test/utilities/function.objects/unord.hash/
H A Dintegral.pass.cpp13 // struct hash
31 std::hash<T> >::value), "");
32 std::hash<T> h;
/external/skia/include/gpu/
H A DGrKey.h17 explicit GrKey(Hash hash) : fHash(hash) {} argument
/external/openssl/crypto/lhash/
H A Dlhash.c59 /* Code for dynamic hash table routines
126 ret->hash=((h == NULL)?(LHASH_HASH_FN_TYPE)lh_strhash:h);
181 unsigned long hash; local
189 rn=getrn(lh,data,&hash);
201 nn->hash=hash;
219 unsigned long hash; local
224 rn=getrn(lh,data,&hash);
250 unsigned long hash; local
255 rn=getrn(lh,data,&hash);
314 unsigned long hash,nni; local
408 unsigned long hash,nn; local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
H A DRSADigestSigner.java154 byte[] hash = new byte[digest.getDigestSize()];
155 digest.doFinal(hash, 0);
159 byte[] data = derEncode(hash);
180 byte[] hash = new byte[digest.getDigestSize()];
182 digest.doFinal(hash, 0);
190 expected = derEncode(hash);
203 int sigOffset = sig.length - hash.length - 2;
204 int expectedOffset = expected.length - hash.length - 2;
211 for (int i = 0; i < hash.length; i++)
235 byte[] hash)
234 derEncode( byte[] hash) argument
[all...]

Completed in 716 milliseconds

1234567891011>>