ghash_key
ghash_reflect(ctx->ghash_key.h[3], &h);
ghash_do_simd_update(blocks, dg, src, &ctx->ghash_key,
ghash_do_simd_update(1, dg, buf, &ctx->ghash_key, NULL);
pmull_gcm_encrypt(nbytes, dst, src, ctx->ghash_key.h,
ctx->ghash_key.h,
struct arm_ghash_key ghash_key;
memcpy(&ctx->ghash_key.k, key, GHASH_BLOCK_SIZE);
ghash_reflect(ctx->ghash_key.h[0], &ctx->ghash_key.k);
h = ctx->ghash_key.k;
gf128mul_lle(&h, &ctx->ghash_key.k);
ghash_reflect(ctx->ghash_key.h[1], &h);
gf128mul_lle(&h, &ctx->ghash_key.k);
ghash_reflect(ctx->ghash_key.h[2], &h);
gf128mul_lle(&h, &ctx->ghash_key.k);
struct ghash_key ghash;
struct ghash_key ghash_key;
void ghash_preparekey(struct ghash_key *key,
const struct ghash_key *key)
static inline void ghash(const struct ghash_key *key, const u8 *data,
const struct ghash_key *key;
ghash_preparekey(&ctx->ghash_key, h);
ghash_init(&ghash, &ctx->ghash_key);
const struct ghash_key *key,
const struct ghash_key *key)
const struct ghash_key *key,
void ghash_preparekey(struct ghash_key *key, const u8 raw_key[GHASH_BLOCK_SIZE])
static void ghash_preparekey_arch(struct ghash_key *key,
const struct ghash_key *key)
const struct ghash_key *key,
static void ghash_preparekey_arch(struct ghash_key *key,
const struct ghash_key *key,
static void ghash_preparekey_arch(struct ghash_key *key,
const struct ghash_key *key,
struct ghash_key key;
struct ghash_key *minaligned_key =
(struct ghash_key *)&test_buf[MAX_LEN_FOR_KEY_CHECK +
__alignof__(struct ghash_key)];
__alignof__(struct ghash_key)));
2 * __alignof__(struct ghash_key)));
static struct ghash_key test_key;
struct ghash_key expected_key;
struct ghash_key key;
struct ghash_key key;
const struct ghash_key *key1,
const struct ghash_key *key2)
struct ghash_key key1, key2;
struct ghash_key *guarded_key =
(struct ghash_key *)&test_buf[TEST_BUF_LEN - sizeof(key1)];
const struct ghash_key *key)
const struct ghash_key *key,