Home
last modified time | relevance | path

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

/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 …]
/drivers/staging/rtl8188eu/core/
Drtw_security.c366 #define TK16(N) Mk16(tk[2*(N)+1], tk[2*(N)]) macro
481 p1k[0] += _S_(p1k[4] ^ TK16((i&1)+0)); in phase1()
482 p1k[1] += _S_(p1k[0] ^ TK16((i&1)+2)); in phase1()
483 p1k[2] += _S_(p1k[1] ^ TK16((i&1)+4)); in phase1()
484 p1k[3] += _S_(p1k[2] ^ TK16((i&1)+6)); in phase1()
485 p1k[4] += _S_(p1k[3] ^ TK16((i&1)+0)); in phase1()
523 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
524 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
525 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
526 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]