Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_security.c386 #define TK16(N) Mk16(tk[2*(N)+1], tk[2*(N)]) macro
501 p1k[0] += _S_(p1k[4] ^ TK16((i&1)+0)); in phase1()
502 p1k[1] += _S_(p1k[0] ^ TK16((i&1)+2)); in phase1()
503 p1k[2] += _S_(p1k[1] ^ TK16((i&1)+4)); in phase1()
504 p1k[3] += _S_(p1k[2] ^ TK16((i&1)+6)); in phase1()
505 p1k[4] += _S_(p1k[3] ^ TK16((i&1)+0)); in phase1()
543 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
544 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
545 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
546 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_security.c384 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)]) macro
499 p1k[0] += _S_(p1k[4] ^ TK16((i & 1) + 0)); in phase1()
500 p1k[1] += _S_(p1k[0] ^ TK16((i & 1) + 2)); in phase1()
501 p1k[2] += _S_(p1k[1] ^ TK16((i & 1) + 4)); in phase1()
502 p1k[3] += _S_(p1k[2] ^ TK16((i & 1) + 6)); in phase1()
503 p1k[4] += _S_(p1k[3] ^ TK16((i & 1) + 0)); in phase1()
541 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
542 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
543 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
544 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_security.c451 #define TK16(N) Mk16(tk[2*(N)+1], tk[2*(N)]) macro
570 p1k[0] += _S_(p1k[4] ^ TK16((i&1)+0)); in phase1()
571 p1k[1] += _S_(p1k[0] ^ TK16((i&1)+2)); in phase1()
572 p1k[2] += _S_(p1k[1] ^ TK16((i&1)+4)); in phase1()
573 p1k[3] += _S_(p1k[2] ^ TK16((i&1)+6)); in phase1()
574 p1k[4] += _S_(p1k[3] ^ TK16((i&1)+0)); in phase1()
615 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
616 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
617 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
618 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]