Lines Matching refs:dg
113 int blocks, u8 dg[], int enc_before,
134 u8 dg[AES_BLOCK_SIZE];
871 memset(ctx->dg, 0, AES_BLOCK_SIZE);
878 u8 dg[], int enc_before, int enc_after)
888 dg, enc_before, enc_after);
896 aes_encrypt(ctx, dg, dg);
899 crypto_xor(dg, in, AES_BLOCK_SIZE);
903 aes_encrypt(ctx, dg, dg);
923 mac_do_update(&tctx->key, p, blocks, ctx->dg,
938 crypto_xor(ctx->dg + ctx->len, p, l);
953 mac_do_update(&tctx->key, NULL, 0, ctx->dg, (ctx->len != 0), 0);
955 memcpy(out, ctx->dg, AES_BLOCK_SIZE);
967 ctx->dg[ctx->len] ^= 0x80;
971 mac_do_update(&tctx->key, consts, 1, ctx->dg, 0, 1);
973 memcpy(out, ctx->dg, AES_BLOCK_SIZE);