Lines Matching refs:algorithm
796 u8 index, u8 algorithm, const u8 *key) in key_write() argument
805 value = ((kidx << 4) | algorithm); in key_write()
933 u8 index, u8 algorithm, in do_key_write() argument
947 if (algorithm == B43_SEC_ALGO_TKIP) { in do_key_write()
962 key_write(dev, index, algorithm, buf); in do_key_write()
966 dev->key[index].algorithm = algorithm; in do_key_write()
970 int index, u8 algorithm, in b43_key_write() argument
985 if (algorithm == B43_SEC_ALGO_TKIP && key_len == 32) in b43_key_write()
1016 do_key_write(dev, index, algorithm, key, key_len, mac_addr); in b43_key_write()
1020 do_key_write(dev, index + 4, algorithm, key, key_len, NULL); in b43_key_write()
1090 printk(" Algo: %04X/%02X", algo, key->algorithm); in b43_dump_keymemory()
1093 if (key->algorithm == B43_SEC_ALGO_TKIP) { in b43_dump_keymemory()
4016 u8 algorithm; in b43_op_set_key() local
4041 algorithm = B43_SEC_ALGO_WEP40; in b43_op_set_key()
4044 algorithm = B43_SEC_ALGO_WEP104; in b43_op_set_key()
4047 algorithm = B43_SEC_ALGO_TKIP; in b43_op_set_key()
4050 algorithm = B43_SEC_ALGO_AES; in b43_op_set_key()
4062 if (algorithm == B43_SEC_ALGO_TKIP && in b43_op_set_key()
4076 err = b43_key_write(dev, -1, algorithm, in b43_op_set_key()
4081 err = b43_key_write(dev, index, algorithm, in b43_op_set_key()
4087 if (algorithm == B43_SEC_ALGO_WEP40 || in b43_op_set_key()
4088 algorithm == B43_SEC_ALGO_WEP104) { in b43_op_set_key()
4095 if (algorithm == B43_SEC_ALGO_TKIP) in b43_op_set_key()