Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/staging/r8188eu/core/
Drtw_security.c640 static void xor_32(u8 *a, u8 *b, u8 *out);
662 static void xor_32(u8 *a, u8 *b, u8 *out) in xor_32() function
692 xor_32(&key[0], sbox_key, &key[0]); in next_key()
695 xor_32(&key[4], &key[0], &key[4]); in next_key()
696 xor_32(&key[8], &key[4], &key[8]); in next_key()
697 xor_32(&key[12], &key[8], &key[12]); in next_key()
774 xor_32(add1b, andf7, add1bf7); in mix_column()
776 xor_32(in, add1bf7, rotr); in mix_column()
784 xor_32(add1bf7, rotr, temp); in mix_column()
785 xor_32(swap_halfs, rotl, tempb); in mix_column()
[all …]
/Linux-v6.1/drivers/staging/rtl8712/
Drtl871x_security.c747 static void xor_32(u8 *a, u8 *b, u8 *out) in xor_32() function
774 xor_32(&key[0], sbox_key, &key[0]); in next_key()
776 xor_32(&key[4], &key[0], &key[4]); in next_key()
777 xor_32(&key[8], &key[4], &key[8]); in next_key()
778 xor_32(&key[12], &key[8], &key[12]); in next_key()
846 xor_32(add1b, andf7, add1bf7); in mix_column()
847 xor_32(in, add1bf7, rotr); in mix_column()
853 xor_32(add1bf7, rotr, temp); in mix_column()
854 xor_32(swap_halves, rotl, tempb); in mix_column()
855 xor_32(temp, tempb, out); in mix_column()