Home
last modified time | relevance | path

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

/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 …]
/drivers/staging/r8188eu/core/
Drtw_security.c311 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)]) macro
427 p1k[0] += _S_(p1k[4] ^ TK16((i & 1) + 0)); in phase1()
428 p1k[1] += _S_(p1k[0] ^ TK16((i & 1) + 2)); in phase1()
429 p1k[2] += _S_(p1k[1] ^ TK16((i & 1) + 4)); in phase1()
430 p1k[3] += _S_(p1k[2] ^ TK16((i & 1) + 6)); in phase1()
431 p1k[4] += _S_(p1k[3] ^ TK16((i & 1) + 0)); in phase1()
471 PPK[0] += _S_(PPK[5] ^ TK16(0)); /* Mix key in each "round" */ in phase2()
472 PPK[1] += _S_(PPK[0] ^ TK16(1)); in phase2()
473 PPK[2] += _S_(PPK[1] ^ TK16(2)); in phase2()
474 PPK[3] += _S_(PPK[2] ^ TK16(3)); in phase2()
[all …]
/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 …]