Searched refs:consts (Results 1 – 2 of 2) sorted by relevance
/crypto/ |
D | cmac.c | 60 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_setkey() local 70 memset(consts, 0, bs); in crypto_cmac_digest_setkey() 71 crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); in crypto_cmac_digest_setkey() 76 _const[0] = be64_to_cpu(consts[1]); in crypto_cmac_digest_setkey() 77 _const[1] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey() 85 consts[i + 0] = cpu_to_be64(_const[1]); in crypto_cmac_digest_setkey() 86 consts[i + 1] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 92 _const[0] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey() 99 consts[i] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 176 u8 *consts = PTR_ALIGN((void *)tctx->ctx, alignmask + 1); in crypto_cmac_digest_final() local [all …]
|
D | xcbc.c | 67 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey() local 74 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey() 75 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey() 150 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() local 170 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final()
|