Home
last modified time | relevance | path

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

/crypto/
Dcast5_generic.c305 u32 l, r, t; in __cast5_encrypt() local
316 l = get_unaligned_be32(inbuf); in __cast5_encrypt()
327 t = l; l = r; r = t ^ F1(r, Km[0], Kr[0]); in __cast5_encrypt()
328 t = l; l = r; r = t ^ F2(r, Km[1], Kr[1]); in __cast5_encrypt()
329 t = l; l = r; r = t ^ F3(r, Km[2], Kr[2]); in __cast5_encrypt()
330 t = l; l = r; r = t ^ F1(r, Km[3], Kr[3]); in __cast5_encrypt()
331 t = l; l = r; r = t ^ F2(r, Km[4], Kr[4]); in __cast5_encrypt()
332 t = l; l = r; r = t ^ F3(r, Km[5], Kr[5]); in __cast5_encrypt()
333 t = l; l = r; r = t ^ F1(r, Km[6], Kr[6]); in __cast5_encrypt()
334 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.c225 union lc4 { __be32 l; u8 c[4]; } u; \
226 u.l = sched ^ R; \
237 __be32 l, r; in fcrypt_encrypt() member
242 F_ENCRYPT(X.r, X.l, ctx->sched[0x0]); in fcrypt_encrypt()
243 F_ENCRYPT(X.l, X.r, ctx->sched[0x1]); in fcrypt_encrypt()
244 F_ENCRYPT(X.r, X.l, ctx->sched[0x2]); in fcrypt_encrypt()
245 F_ENCRYPT(X.l, X.r, ctx->sched[0x3]); in fcrypt_encrypt()
246 F_ENCRYPT(X.r, X.l, ctx->sched[0x4]); in fcrypt_encrypt()
247 F_ENCRYPT(X.l, X.r, ctx->sched[0x5]); in fcrypt_encrypt()
248 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()
Dalgapi.c1305 struct crypto_larval *l; in crypto_start_tests() local
1310 l = (void *)q; in crypto_start_tests()
1312 if (!crypto_is_test_larval(l)) in crypto_start_tests()
1315 if (l->test_started) in crypto_start_tests()
1318 l->test_started = true; in crypto_start_tests()
1319 larval = l; in crypto_start_tests()
Dserpent_generic.c33 #define store_and_load_keys(x0, x1, x2, x3, s, l) \ argument
34 ({ storekeys(x0, x1, x2, x3, s); loadkeys(x0, x1, x2, x3, l); })