Searched refs:consts (Results 1 – 2 of 2) sorted by relevance
/crypto/ |
D | cmac.c | 56 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, in crypto_cmac_digest_setkey() local 67 memset(consts, 0, bs); in crypto_cmac_digest_setkey() 68 crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); in crypto_cmac_digest_setkey() 73 _const[0] = be64_to_cpu(consts[1]); in crypto_cmac_digest_setkey() 74 _const[1] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey() 82 consts[i + 0] = cpu_to_be64(_const[1]); in crypto_cmac_digest_setkey() 83 consts[i + 1] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 89 _const[0] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey() 96 consts[i] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 173 u8 *consts = PTR_ALIGN((void *)tctx->ctx, in crypto_cmac_digest_final() local [all …]
|
D | xcbc.c | 56 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey() local 64 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 65 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 140 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() local 160 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
|