Home
last modified time | relevance | path

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

/crypto/
Dcast5_generic.c307 u32 l, r, t; in __cast5_encrypt() local
318 l = be32_to_cpu(src[0]); in __cast5_encrypt()
329 t = l; l = r; r = t ^ F1(r, Km[0], Kr[0]); in __cast5_encrypt()
330 t = l; l = r; r = t ^ F2(r, Km[1], Kr[1]); in __cast5_encrypt()
331 t = l; l = r; r = t ^ F3(r, Km[2], Kr[2]); in __cast5_encrypt()
332 t = l; l = r; r = t ^ F1(r, Km[3], Kr[3]); in __cast5_encrypt()
333 t = l; l = r; r = t ^ F2(r, Km[4], Kr[4]); in __cast5_encrypt()
334 t = l; l = r; r = t ^ F3(r, Km[5], Kr[5]); in __cast5_encrypt()
335 t = l; l = r; r = t ^ F1(r, Km[6], Kr[6]); in __cast5_encrypt()
336 t = l; l = r; r = t ^ F2(r, Km[7], Kr[7]); in __cast5_encrypt()
[all …]
Dmichael_mic.c18 u32 l, r; member
25 u32 l, r; member
34 #define michael_block(l, r) \ argument
36 r ^= rol32(l, 17); \
37 l += r; \
38 r ^= xswap(l); \
39 l += r; \
40 r ^= rol32(l, 3); \
41 l += r; \
42 r ^= ror32(l, 2); \
[all …]
Dfcrypt.c228 union lc4 { __be32 l; u8 c[4]; } u; \
229 u.l = sched ^ R; \
240 __be32 l, r; in fcrypt_encrypt() member
245 F_ENCRYPT(X.r, X.l, ctx->sched[0x0]); in fcrypt_encrypt()
246 F_ENCRYPT(X.l, X.r, ctx->sched[0x1]); in fcrypt_encrypt()
247 F_ENCRYPT(X.r, X.l, ctx->sched[0x2]); in fcrypt_encrypt()
248 F_ENCRYPT(X.l, X.r, ctx->sched[0x3]); in fcrypt_encrypt()
249 F_ENCRYPT(X.r, X.l, ctx->sched[0x4]); in fcrypt_encrypt()
250 F_ENCRYPT(X.l, X.r, ctx->sched[0x5]); in fcrypt_encrypt()
251 F_ENCRYPT(X.r, X.l, ctx->sched[0x6]); in fcrypt_encrypt()
[all …]
Dtwofish_common.c535 #define CALC_K(a, j, k, l, m, n) \ argument
536 x = CALC_K_2 (k, l, k, l, 0); \
548 #define CALC_K192(a, j, k, l, m, n) \ argument
549 x = CALC_K192_2 (l, l, k, k, 0); \
561 #define CALC_K256(a, j, k, l, m, n) \ argument
562 x = CALC_K256_2 (k, l, 0); \
Dccm.c132 unsigned int l = lp + 1; in format_input() local
146 return set_msg_len(info + 16 - l, cryptlen, l); in format_input()
809 unsigned int l = min(len, bs - ctx->len); in crypto_cbcmac_digest_update() local
811 crypto_xor(dg + ctx->len, p, l); in crypto_cbcmac_digest_update()
812 ctx->len +=l; in crypto_cbcmac_digest_update()
813 len -= l; in crypto_cbcmac_digest_update()
814 p += l; in crypto_cbcmac_digest_update()
Dserpent_generic.c38 #define store_and_load_keys(x0, x1, x2, x3, s, l) \ argument
39 ({ storekeys(x0, x1, x2, x3, s); loadkeys(x0, x1, x2, x3, l); })