Home
last modified time | relevance | path

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

/crypto/
Dtea.c60 u32 k0, k1, k2, k3; in tea_encrypt() local
70 k2 = ctx->KEY[2]; in tea_encrypt()
78 z += ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_encrypt()
88 u32 k0, k1, k2, k3; in tea_decrypt() local
98 k2 = ctx->KEY[2]; in tea_decrypt()
106 z -= ((y << 4) + k2) ^ (y + sum) ^ ((y >> 5) + k3); in tea_decrypt()
Dvmac.c283 #define k2 (*(((u32 *)kh)+INDEX_LOW)) in poly_step_func() macro
292 p += MUL32(a0, k2); in poly_step_func()
298 p += MUL32(a1, k2); in poly_step_func()
306 q += MUL32(a2, k2); in poly_step_func()
316 q += MUL32(a3, k2); in poly_step_func()
329 #undef k2 in poly_step_func()
358 static u64 l3hash(u64 p1, u64 p2, u64 k1, u64 k2, u64 len) in l3hash() argument
381 p2 += k2; in l3hash()
382 p2 += (0 - (p2 < k2)) & 257; in l3hash()