Lines Matching refs:algorithm
826 u8 index, u8 algorithm, const u8 *key) in key_write() argument
835 value = ((kidx << 4) | algorithm); in key_write()
963 u8 index, u8 algorithm, in do_key_write() argument
977 if (algorithm == B43_SEC_ALGO_TKIP) { in do_key_write()
992 key_write(dev, index, algorithm, buf); in do_key_write()
996 dev->key[index].algorithm = algorithm; in do_key_write()
1000 int index, u8 algorithm, in b43_key_write() argument
1015 if (algorithm == B43_SEC_ALGO_TKIP && key_len == 32) in b43_key_write()
1046 do_key_write(dev, index, algorithm, key, key_len, mac_addr); in b43_key_write()
1050 do_key_write(dev, index + 4, algorithm, key, key_len, NULL); in b43_key_write()
1120 printk(" Algo: %04X/%02X", algo, key->algorithm); in b43_dump_keymemory()
1123 if (key->algorithm == B43_SEC_ALGO_TKIP) { in b43_dump_keymemory()
4162 u8 algorithm; in b43_op_set_key() local
4201 algorithm = B43_SEC_ALGO_WEP40; in b43_op_set_key()
4204 algorithm = B43_SEC_ALGO_WEP104; in b43_op_set_key()
4207 algorithm = B43_SEC_ALGO_TKIP; in b43_op_set_key()
4210 algorithm = B43_SEC_ALGO_AES; in b43_op_set_key()
4222 if (algorithm == B43_SEC_ALGO_TKIP && in b43_op_set_key()
4236 err = b43_key_write(dev, -1, algorithm, in b43_op_set_key()
4241 err = b43_key_write(dev, index, algorithm, in b43_op_set_key()
4247 if (algorithm == B43_SEC_ALGO_WEP40 || in b43_op_set_key()
4248 algorithm == B43_SEC_ALGO_WEP104) { in b43_op_set_key()
4255 if (algorithm == B43_SEC_ALGO_TKIP) in b43_op_set_key()