Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_security.c383 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)]) macro
498 p1k[0] += _S_(p1k[4] ^ TK16((i & 1) + 0)); in phase1()
499 p1k[1] += _S_(p1k[0] ^ TK16((i & 1) + 2)); in phase1()
500 p1k[2] += _S_(p1k[1] ^ TK16((i & 1) + 4)); in phase1()
501 p1k[3] += _S_(p1k[2] ^ TK16((i & 1) + 6)); in phase1()
502 p1k[4] += _S_(p1k[3] ^ TK16((i & 1) + 0)); in phase1()
540 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
541 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
542 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
543 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]
/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_security.c372 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)]) macro
487 p1k[0] += _S_(p1k[4] ^ TK16((i & 1) + 0)); in phase1()
488 p1k[1] += _S_(p1k[0] ^ TK16((i & 1) + 2)); in phase1()
489 p1k[2] += _S_(p1k[1] ^ TK16((i & 1) + 4)); in phase1()
490 p1k[3] += _S_(p1k[2] ^ TK16((i & 1) + 6)); in phase1()
491 p1k[4] += _S_(p1k[3] ^ TK16((i & 1) + 0)); in phase1()
529 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
530 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
531 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
532 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_security.c455 #define TK16(N) Mk16(tk[2*(N)+1], tk[2*(N)]) macro
574 p1k[0] += _S_(p1k[4] ^ TK16((i&1)+0)); in phase1()
575 p1k[1] += _S_(p1k[0] ^ TK16((i&1)+2)); in phase1()
576 p1k[2] += _S_(p1k[1] ^ TK16((i&1)+4)); in phase1()
577 p1k[3] += _S_(p1k[2] ^ TK16((i&1)+6)); in phase1()
578 p1k[4] += _S_(p1k[3] ^ TK16((i&1)+0)); in phase1()
619 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
620 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
621 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
622 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]