Home
last modified time | relevance | path

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

/crypto/
Dtea.c60 u32 k0, k1, k2, k3; in tea_encrypt() local
69 k1 = ctx->KEY[1]; in tea_encrypt()
77 y += ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_encrypt()
88 u32 k0, k1, k2, k3; in tea_decrypt() local
97 k1 = ctx->KEY[1]; in tea_decrypt()
107 y -= ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_decrypt()
Dvmac.c282 #define k1 (*(((u32 *)kl)+INDEX_HIGH)) in poly_step_func() macro
293 p += MUL32(a1, k1); in poly_step_func()
299 p += MUL32(a2, k1); in poly_step_func()
307 q += MUL32(a3, k1); in poly_step_func()
313 p += MUL32(a0, k1); in poly_step_func()
328 #undef k1 in poly_step_func()
358 static u64 l3hash(u64 p1, u64 p2, u64 k1, u64 k2, u64 len) in l3hash() argument
379 p1 += k1; in l3hash()
380 p1 += (0 - (p1 < k1)) & 257; in l3hash()