Home
last modified time | relevance | path

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

/crypto/
A Dcmac.c34 __be64 consts[]; member
42 __be64 *consts = ctx->consts; in crypto_cmac_digest_setkey() local
52 memset(consts, 0, bs); in crypto_cmac_digest_setkey()
53 crypto_cipher_encrypt_one(ctx->child, (u8 *)consts, (u8 *)consts); in crypto_cmac_digest_setkey()
58 _const[0] = be64_to_cpu(consts[1]); in crypto_cmac_digest_setkey()
59 _const[1] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey()
67 consts[i + 0] = cpu_to_be64(_const[1]); in crypto_cmac_digest_setkey()
68 consts[i + 1] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey()
74 _const[0] = be64_to_cpu(consts[0]); in crypto_cmac_digest_setkey()
81 consts[i] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey()
[all …]
A Dxcbc.c33 u8 consts[]; member
42 u8 *consts = ctx->consts; in crypto_xcbc_digest_setkey() local
50 crypto_cipher_encrypt_one(ctx->child, consts, (u8 *)ks + bs); in crypto_xcbc_digest_setkey()
51 crypto_cipher_encrypt_one(ctx->child, consts + bs, (u8 *)ks + bs * 2); in crypto_xcbc_digest_setkey()
100 crypto_xor(prev, &tctx->consts[offset], bs); in crypto_xcbc_digest_finup()

Completed in 3 milliseconds