/prebuilts/go/darwin-x86/src/crypto/aes/ |
gcm_s390x.go | 49 // gcmHashKey represents the 16-byte hash key required by the GHASH algorithm. 105 // ghash uses the GHASH algorithm to hash data with the given key. The initial 109 func ghash(key *gcmHashKey, hash *[16]byte, data []byte) func 112 // 16-bytes. It then calculates a new value for hash using the GHASH algorithm. 116 ghash(&g.hashKey, hash, data[:siz]) 122 ghash(&g.hashKey, hash, s[:]) 176 // is computed by passing it through the GHASH function. 191 // auth calculates GHASH(ciphertext, additionalData), masks the result with
|
/prebuilts/go/linux-x86/src/crypto/aes/ |
gcm_s390x.go | 49 // gcmHashKey represents the 16-byte hash key required by the GHASH algorithm. 105 // ghash uses the GHASH algorithm to hash data with the given key. The initial 109 func ghash(key *gcmHashKey, hash *[16]byte, data []byte) func 112 // 16-bytes. It then calculates a new value for hash using the GHASH algorithm. 116 ghash(&g.hashKey, hash, data[:siz]) 122 ghash(&g.hashKey, hash, s[:]) 176 // is computed by passing it through the GHASH function. 191 // auth calculates GHASH(ciphertext, additionalData), masks the result with
|
/external/boringssl/src/crypto/modes/ |
internal.h | 154 * x86-64, GHASH assembly. */ 158 ghash_func ghash; member in struct:gcm128_context 215 * accelerated) functions for performing operations in the GHASH field. */ 346 * similar to the one that GHASH uses. See 356 * x86-64, GHASH assembly. */ 361 ghash_func ghash; member in struct:polyval_ctx
|
/external/wpa_supplicant_8/src/crypto/ |
aes-gcm.c | 103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) function 186 wpa_hexdump_key(MSG_EXCESSIVE, "Hash subkey H for GHASH", 207 ghash(H, iv, iv_len, J0); 210 ghash(H, len_buf, sizeof(len_buf), J0); 241 ghash(H, aad, aad_len, S); 242 ghash(H, crypt, crypt_len, S); 245 ghash(H, len_buf, sizeof(len_buf), S);
|