Lines Matching refs:dg
107 int blocks, u8 dg[], int enc_before,
128 u8 dg[AES_BLOCK_SIZE];
843 memset(ctx->dg, 0, AES_BLOCK_SIZE);
850 u8 dg[], int enc_before, int enc_after)
860 dg, enc_before, enc_after);
868 aes_encrypt(ctx, dg, dg);
871 crypto_xor(dg, in, AES_BLOCK_SIZE);
875 aes_encrypt(ctx, dg, dg);
895 mac_do_update(&tctx->key, p, blocks, ctx->dg,
910 crypto_xor(ctx->dg + ctx->len, p, l);
925 mac_do_update(&tctx->key, NULL, 0, ctx->dg, (ctx->len != 0), 0);
927 memcpy(out, ctx->dg, AES_BLOCK_SIZE);
939 ctx->dg[ctx->len] ^= 0x80;
943 mac_do_update(&tctx->key, consts, 1, ctx->dg, 0, 1);
945 memcpy(out, ctx->dg, AES_BLOCK_SIZE);