Home
last modified time | relevance | path

Searched refs:consts (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/crypto/
Dcmac.c55 __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
[all …]
Dxcbc.c55 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey() local
63 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey()
64 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey()
139 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() local
159 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
/Linux-v5.4/arch/arm64/crypto/
Daes-glue.c123 u8 __aligned(8) consts[];
816 be128 *consts = (be128 *)ctx->consts; in cmac_setkey() local
826 aes_ecb_encrypt(ctx->consts, (u8[AES_BLOCK_SIZE]){}, ctx->key.key_enc, in cmac_setkey()
830 cmac_gf128_mul_by_x(consts, consts); in cmac_setkey()
831 cmac_gf128_mul_by_x(consts + 1, consts); in cmac_setkey()
856 aes_ecb_encrypt(ctx->consts, ks[1], ctx->key.key_enc, rounds, 2); in xcbc_setkey()
952 u8 *consts = tctx->consts; in cmac_final() local
956 consts += AES_BLOCK_SIZE; in cmac_final()
959 mac_do_update(&tctx->key, consts, 1, ctx->dg, 0, 1); in cmac_final()
/Linux-v5.4/arch/x86/crypto/
Dcrc32c-pcl-intel-asm_64.S223 pmovzxdq (bufp,%rax), %xmm0 # 2 consts: K1:K2
/Linux-v5.4/arch/mips/cavium-octeon/
Docteon-irq.c2852 union cvmx_ciu3_const consts; in octeon_irq_init_ciu3() local
2870 consts.u64 = cvmx_read_csr(base_addr + CIU3_CONST); in octeon_irq_init_ciu3()
/Linux-v5.4/drivers/crypto/vmx/
Daesp8-ppc.pl3794 my $consts=1;
3799 if ($consts && m/\.(long|byte)\s+(.+)\s+(\?[a-z]*)$/o) {
3825 $consts=0 if (m/Lconsts:/o); # end of table