Lines Matching full:v
36 static void shift_right_block(u8 *v) in shift_right_block() argument
40 val = WPA_GET_BE32(v + 12); in shift_right_block()
42 if (v[11] & 0x01) in shift_right_block()
44 WPA_PUT_BE32(v + 12, val); in shift_right_block()
46 val = WPA_GET_BE32(v + 8); in shift_right_block()
48 if (v[7] & 0x01) in shift_right_block()
50 WPA_PUT_BE32(v + 8, val); in shift_right_block()
52 val = WPA_GET_BE32(v + 4); in shift_right_block()
54 if (v[3] & 0x01) in shift_right_block()
56 WPA_PUT_BE32(v + 4, val); in shift_right_block()
58 val = WPA_GET_BE32(v); in shift_right_block()
60 WPA_PUT_BE32(v, val); in shift_right_block()
67 u8 v[16]; in gf_mult() local
71 os_memcpy(v, y, 16); /* V_0 = Y */ in gf_mult()
77 xor_block(z, v); in gf_mult()
82 if (v[15] & 0x01) { in gf_mult()
84 shift_right_block(v); in gf_mult()
86 v[0] ^= 0xe1; in gf_mult()
89 shift_right_block(v); in gf_mult()
236 * v = 128 * ceil[len(A)/128] - len(A) in aes_gcm_ghash()
237 * S = GHASH_H(A || 0^v || C || 0^u || [len(A)]64 || [len(C)]64) in aes_gcm_ghash()