/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_psk_common.c | 37 u8 hash[aes_block_size]; local 41 if (aes_128_encrypt_block(kdk, rand_p, hash)) 44 hash[aes_block_size - 1] ^= counter; 45 if (aes_128_encrypt_block(kdk, hash, tek)) 47 hash[aes_block_size - 1] ^= counter; 51 hash[aes_block_size - 1] ^= counter; 52 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size])) 54 hash[aes_block_size - 1] ^= counter; 59 hash[aes_block_size - 1] ^= counter; 60 if (aes_128_encrypt_block(kdk, hash, [all...] |
/external/wpa_supplicant_8/src/crypto/ |
H A D | sha1-prf.c | 35 u8 hash[SHA1_MAC_LEN]; local 57 hash)) 59 os_memcpy(&buf[pos], hash, plen);
|
H A D | sha1-tprf.c | 34 u8 hash[SHA1_MAC_LEN]; local 40 addr[0] = hash; 57 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash)) 60 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 63 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_psk_common.c | 37 u8 hash[aes_block_size]; local 41 if (aes_128_encrypt_block(kdk, rand_p, hash)) 44 hash[aes_block_size - 1] ^= counter; 45 if (aes_128_encrypt_block(kdk, hash, tek)) 47 hash[aes_block_size - 1] ^= counter; 51 hash[aes_block_size - 1] ^= counter; 52 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size])) 54 hash[aes_block_size - 1] ^= counter; 59 hash[aes_block_size - 1] ^= counter; 60 if (aes_128_encrypt_block(kdk, hash, [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/ |
H A D | sha1-prf.c | 35 u8 hash[SHA1_MAC_LEN]; local 57 hash)) 59 os_memcpy(&buf[pos], hash, plen);
|
H A D | sha1-tprf.c | 34 u8 hash[SHA1_MAC_LEN]; local 40 addr[0] = hash; 57 if (hmac_sha1_vector(key, key_len, 5, addr, len, hash)) 60 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 63 os_memcpy(&buf[pos], hash, plen);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_psk_common.c | 37 u8 hash[aes_block_size]; local 41 if (aes_128_encrypt_block(kdk, rand_p, hash)) 44 hash[aes_block_size - 1] ^= counter; 45 if (aes_128_encrypt_block(kdk, hash, tek)) 47 hash[aes_block_size - 1] ^= counter; 51 hash[aes_block_size - 1] ^= counter; 52 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size])) 54 hash[aes_block_size - 1] ^= counter; 59 hash[aes_block_size - 1] ^= counter; 60 if (aes_128_encrypt_block(kdk, hash, [all...] |
/external/guava/guava/src/com/google/common/hash/ |
H A D | AbstractNonStreamingHashFunction.java | 3 package com.google.common.hash; 13 * All the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain 101 public HashCode hash() { method in class:AbstractNonStreamingHashFunction.BufferingHasher
|
H A D | Hasher.java | 15 package com.google.common.hash; 22 * A {@link Sink} that can compute a hash code after reading the input. Each hasher should 65 * Computes a hash code based on the data that have been provided to this hasher. The result is 68 HashCode hash(); method in interface:Hasher
|
H A D | MessageDigestHashFunction.java | 15 package com.google.common.hash; 165 checkState(!done, "Cannot use Hasher after calling #hash() on it"); 168 public HashCode hash() { method in class:MessageDigestHashFunction.MessageDigestHasher
|
/external/guava/guava-tests/test/com/google/common/hash/ |
H A D | HashTestUtils.java | 3 package com.google.common.hash; 43 byte[] hash(byte[] input, int seed); method in interface:HashTestUtils.HashFn 56 byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed); 57 System.arraycopy(hash, 0, hashes, i * hashBytes, hash.length); 60 // Then hash the result array 61 byte[] result = hashFunction.hash(hashes, 0);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
H A D | SHA1ImplTest.java | 66 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-xml/src/main/java/org/apache/xml/dtm/ref/ |
H A D | ExtendedType.java | 32 private int hash; field in class:ExtendedType 36 * The hash code is calculated from the node type, namespace and local name. 47 this.hash = nodetype + namespace.hashCode() + localName.hashCode(); 52 * and a given hash code. 57 * @param hash The given hash code 59 public ExtendedType (int nodetype, String namespace, String localName, int hash) argument 64 this.hash = hash; 77 this.hash 85 redefine(int nodetype, String namespace, String localName, int hash) argument [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
H A D | cloud_external_data_store.cc | 19 // Encodes (policy, hash) into a single string. 20 std::string GetSubkey(const std::string& policy, const std::string& hash) { argument 22 DCHECK(!hash.empty()); 24 base::IntToString(hash.size()) + ":" + 25 policy + hash; 49 subkeys_to_keep.insert(GetSubkey(it->first, it->second.hash)); 55 const std::string& hash, 58 return cache_->Store(cache_key_, GetSubkey(policy, hash), data); 62 const std::string& hash, 66 const std::string subkey = GetSubkey(policy, hash); 54 Store(const std::string& policy, const std::string& hash, const std::string& data) argument 61 Load(const std::string& policy, const std::string& hash, size_t max_size, std::string* data) argument [all...] |
/external/chromium_org/chrome/renderer/extensions/ |
H A D | enterprise_platform_keys_natives.cc | 60 const blink::WebCryptoAlgorithm& hash = rsaHashedKeyGen->hash(); local 61 DCHECK(!hash.isNull()); 63 blink::WebCryptoAlgorithm::lookupAlgorithmInfo(hash.id()); 67 dict->SetWithoutPathExpansion("hash", hash_dict.release());
|
/external/chromium_org/components/crx_file/ |
H A D | id_util.cc | 39 uint8 hash[kIdSize]; local 40 crypto::SHA256HashString(input, hash, sizeof(hash)); 42 base::StringToLowerASCII(base::HexEncode(hash, sizeof(hash)));
|
/external/chromium_org/content/child/webcrypto/nss/ |
H A D | hmac_nss.cc | 65 const blink::WebCryptoAlgorithm& hash = params->hash(); variable 67 if (!WebCryptoHashToHMACMechanism(hash, &mechanism)) 76 blink::WebCryptoKeyAlgorithm::createHmac(hash.id(), keylen_bits), 106 const blink::WebCryptoAlgorithm& hash = variable 107 algorithm.hmacImportParams()->hash(); 110 if (!WebCryptoHashToHMACMechanism(hash, &mechanism)) 121 hash.id(), keylen_bits.ValueOrDie()), 135 GetJwkHmacAlgorithmName(algorithm.hmacImportParams()->hash().id()); 161 GetJwkHmacAlgorithmName(key.algorithm().hmacParams()->hash() 178 const blink::WebCryptoAlgorithm& hash = variable [all...] |
/external/chromium_org/net/base/ |
H A D | hash_value.cc | 114 bool IsSHA1HashInSortedArray(const SHA1HashValue& hash, argument 119 return NULL != bsearch(hash.data, array, arraylen, base::kSHA1Length,
|
/external/chromium_org/sync/internal_api/ |
H A D | read_node.cc | 61 const std::string hash = syncable::GenerateSyncableHash(model_type, tag); local 64 syncable::GET_BY_CLIENT_TAG, hash);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSPropertySourceData.cpp | 108 unsigned CSSPropertySourceData::hash() const function in class:blink::CSSPropertySourceData 110 return StringHash::hash(name) + 3 * StringHash::hash(value) + 7 * important + 13 * parsedOk + 31;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | Cookie.h | 65 static unsigned hash(Cookie key) function in struct:blink::CookieHash 67 return StringHash::hash(key.name) + StringHash::hash(key.domain) + StringHash::hash(key.path) + key.secure;
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | IntSizeHash.h | 30 static unsigned hash(const blink::IntSize& key) { return pairIntHash(key.width(), key.height()); } function in struct:WTF::IntHash
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
H A D | SkSizeHash.h | 37 static unsigned hash(const SkSize& key) { return pairIntHash(key.width(), key.height()); } function in struct:WTF::IntHash 61 static unsigned hash(const SkISize& key) { return pairIntHash(key.width(), key.height()); } function in struct:WTF::IntHash
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | BloomFilter.h | 48 void add(unsigned hash); 49 void remove(unsigned hash); 53 bool mayContain(unsigned hash) const { return firstSlot(hash) && secondSlot(hash); } 60 void add(const String& string) { add(string.impl()->hash()); } 62 void remove(const String& string) { remove(string.impl()->hash()); } 65 bool mayContain(const String& string) const { return mayContain(string.impl()->hash()); } 74 uint8_t& firstSlot(unsigned hash) { return m_table[hash argument 75 secondSlot(unsigned hash) argument 83 add(unsigned hash) argument 94 remove(unsigned hash) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | AtomicStringHash.h | 38 static unsigned hash(const AtomicString& key) function in struct:WTF::AtomicStringHash 51 // AtomicStringHash is the default hash for AtomicString
|