Lines Matching refs:dg
52 asmlinkage void pmull_ghash_update_p64(int blocks, u64 dg[], const char *src,
55 asmlinkage void pmull_ghash_update_p8(int blocks, u64 dg[], const char *src,
59 u64 const h[][2], u64 dg[], u8 ctr[],
62 u64 const h[][2], u64 dg[], u8 ctr[],
74 static void ghash_do_update(int blocks, u64 dg[], const char *src,
77 be128 dst = { cpu_to_be64(dg[1]), cpu_to_be64(dg[0]) };
94 dg[0] = be64_to_cpu(dst.b);
95 dg[1] = be64_to_cpu(dst.a);
99 void ghash_do_simd_update(int blocks, u64 dg[], const char *src,
101 void (*simd_update)(int blocks, u64 dg[],
108 simd_update(blocks, dg, src, key->h, head);
111 ghash_do_update(blocks, dg, src, key, head);
269 static void gcm_update_mac(u64 dg[], const u8 *src, int count, u8 buf[],
285 ghash_do_simd_update(blocks, dg, src, &ctx->ghash_key,
300 static void gcm_calculate_auth_mac(struct aead_request *req, u64 dg[], u32 len)
320 gcm_update_mac(dg, p, n, buf, &buf_count, ctx);
330 ghash_do_simd_update(1, dg, buf, &ctx->ghash_key, NULL,
342 u64 dg[2] = {};
351 gcm_calculate_auth_mac(req, dg, assoclen);
374 dg, iv, ctx->aes_key.key_enc, nrounds,
407 u64 dg[2] = {};
417 gcm_calculate_auth_mac(req, dg, assoclen);
444 dg, iv, ctx->aes_key.key_enc,