Home
last modified time | relevance | path

Searched refs:TK16 (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_security.c245 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)]) macro
361 p1k[0] += _S_(p1k[4] ^ TK16((i & 1) + 0)); in phase1()
362 p1k[1] += _S_(p1k[0] ^ TK16((i & 1) + 2)); in phase1()
363 p1k[2] += _S_(p1k[1] ^ TK16((i & 1) + 4)); in phase1()
364 p1k[3] += _S_(p1k[2] ^ TK16((i & 1) + 6)); in phase1()
365 p1k[4] += _S_(p1k[3] ^ TK16((i & 1) + 0)); in phase1()
405 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
406 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
407 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
408 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_security.c264 #define TK16(N) Mk16(tk[2*(N)+1], tk[2*(N)]) macro
378 p1k[0] += _S_(p1k[4] ^ TK16((i&1)+0)); in phase1()
379 p1k[1] += _S_(p1k[0] ^ TK16((i&1)+2)); in phase1()
380 p1k[2] += _S_(p1k[1] ^ TK16((i&1)+4)); in phase1()
381 p1k[3] += _S_(p1k[2] ^ TK16((i&1)+6)); in phase1()
382 p1k[4] += _S_(p1k[3] ^ TK16((i&1)+0)); in phase1()
423 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
424 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
425 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
426 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_security.c372 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)]) macro
486 p1k[0] += _S_(p1k[4] ^ TK16((i & 1) + 0)); in phase1()
487 p1k[1] += _S_(p1k[0] ^ TK16((i & 1) + 2)); in phase1()
488 p1k[2] += _S_(p1k[1] ^ TK16((i & 1) + 4)); in phase1()
489 p1k[3] += _S_(p1k[2] ^ TK16((i & 1) + 6)); in phase1()
490 p1k[4] += _S_(p1k[3] ^ TK16((i & 1) + 0)); in phase1()
528 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
529 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
530 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
531 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]