Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching full:hash

2  * SHA1 hash implementation and interface functions
30 * @mac: Buffer for the hash (20 bytes)
101 * @mac: Buffer for the hash (20 bytes)
128 u8 hash[SHA1_MAC_LEN];
151 hash);
152 os_memcpy(&buf[pos], hash, plen);
179 u8 hash[SHA1_MAC_LEN];
185 addr[0] = hash;
202 hmac_sha1_vector(key, key_len, 5, addr, len, hash);
204 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN);
207 os_memcpy(&buf[pos], hash, plen);
392 * sha1_vector - SHA-1 hash for data vector
396 * @mac: Buffer for the hash
477 Corrected a problem which generated improper hash values on 16 bit machines
488 it. This caused the hash function to generate incorrect values if len was
492 be guaranteed to generate the wrong hash (e.g. Test Vector #3, a million
591 /* Hash a single 512-bit block. This is the core of the algorithm. */