Lines Matching refs:consts
55 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, in crypto_cmac_digest_setkey() local
66 memset(consts, 0, bs); in crypto_cmac_digest_setkey()
67 crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); in crypto_cmac_digest_setkey()
72 _const[0] = be64_to_cpu(consts[1]); in crypto_cmac_digest_setkey()
73 _const[1] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey()
81 consts[i + 0] = cpu_to_be64(_const[1]); in crypto_cmac_digest_setkey()
82 consts[i + 1] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey()
88 _const[0] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey()
95 consts[i] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey()
172 u8 *consts = PTR_ALIGN((void *)tctx->ctx, in crypto_cmac_digest_final() local
193 crypto_xor(prev, consts + offset, bs); in crypto_cmac_digest_final()