Searched refs:consts (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/crypto/ |
D | cmac.c | 60 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, in crypto_cmac_digest_setkey() local 71 memset(consts, 0, bs); in crypto_cmac_digest_setkey() 72 crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); in crypto_cmac_digest_setkey() 77 _const[0] = be64_to_cpu(consts[1]); in crypto_cmac_digest_setkey() 78 _const[1] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey() 86 consts[i + 0] = cpu_to_be64(_const[1]); in crypto_cmac_digest_setkey() 87 consts[i + 1] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 93 _const[0] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey() 100 consts[i] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 177 u8 *consts = PTR_ALIGN((void *)tctx->ctx, in crypto_cmac_digest_final() local [all …]
|
D | xcbc.c | 66 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey() local 73 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 74 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 149 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() local 169 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
|
/Linux-v4.19/arch/arm64/crypto/ |
D | aes-glue.c | 97 u8 __aligned(8) consts[]; 414 be128 *consts = (be128 *)ctx->consts; in cmac_setkey() local 425 aes_ecb_encrypt(ctx->consts, (u8[AES_BLOCK_SIZE]){}, rk, rounds, 1); in cmac_setkey() 428 cmac_gf128_mul_by_x(consts, consts); in cmac_setkey() 429 cmac_gf128_mul_by_x(consts + 1, consts); in cmac_setkey() 455 aes_ecb_encrypt(ctx->consts, ks[1], rk, rounds, 2); in xcbc_setkey() 552 u8 *consts = tctx->consts; in cmac_final() local 556 consts += AES_BLOCK_SIZE; in cmac_final() 559 mac_do_update(&tctx->key, consts, 1, ctx->dg, 0, 1); in cmac_final()
|
/Linux-v4.19/arch/x86/crypto/ |
D | crc32c-pcl-intel-asm_64.S | 223 pmovzxdq (bufp,%rax), %xmm0 # 2 consts: K1:K2
|
/Linux-v4.19/arch/mips/cavium-octeon/ |
D | octeon-irq.c | 2852 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-v4.19/drivers/crypto/vmx/ |
D | aesp8-ppc.pl | 3776 my $consts=1; 3781 if ($consts && m/\.(long|byte)\s+(.+)\s+(\?[a-z]*)$/o) { 3807 $consts=0 if (m/Lconsts:/o); # end of table
|