Lines Matching refs:algorithm
788 u8 index, u8 algorithm, const u8 *key) in key_write() argument
797 value = ((kidx << 4) | algorithm); in key_write()
925 u8 index, u8 algorithm, in do_key_write() argument
939 if (algorithm == B43_SEC_ALGO_TKIP) { in do_key_write()
954 key_write(dev, index, algorithm, buf); in do_key_write()
958 dev->key[index].algorithm = algorithm; in do_key_write()
962 int index, u8 algorithm, in b43_key_write() argument
977 if (algorithm == B43_SEC_ALGO_TKIP && key_len == 32) in b43_key_write()
1008 do_key_write(dev, index, algorithm, key, key_len, mac_addr); in b43_key_write()
1012 do_key_write(dev, index + 4, algorithm, key, key_len, NULL); in b43_key_write()
1082 printk(" Algo: %04X/%02X", algo, key->algorithm); in b43_dump_keymemory()
1085 if (key->algorithm == B43_SEC_ALGO_TKIP) { in b43_dump_keymemory()
4035 u8 algorithm; in b43_op_set_key() local
4074 algorithm = B43_SEC_ALGO_WEP40; in b43_op_set_key()
4077 algorithm = B43_SEC_ALGO_WEP104; in b43_op_set_key()
4080 algorithm = B43_SEC_ALGO_TKIP; in b43_op_set_key()
4083 algorithm = B43_SEC_ALGO_AES; in b43_op_set_key()
4095 if (algorithm == B43_SEC_ALGO_TKIP && in b43_op_set_key()
4109 err = b43_key_write(dev, -1, algorithm, in b43_op_set_key()
4114 err = b43_key_write(dev, index, algorithm, in b43_op_set_key()
4120 if (algorithm == B43_SEC_ALGO_WEP40 || in b43_op_set_key()
4121 algorithm == B43_SEC_ALGO_WEP104) { in b43_op_set_key()
4128 if (algorithm == B43_SEC_ALGO_TKIP) in b43_op_set_key()