Searched defs:key_size (Results 1 - 18 of 18) sorted by relevance

/drivers/usb/host/whci/
H A Dwusb.c142 const void *key, size_t key_size, bool is_gtk)
149 memcpy(seckey, key, key_size);
172 const void *ptk, size_t key_size)
181 ret = whc_set_key(whc, port_idx, tkid, ptk, key_size, false);
203 const void *gtk, size_t key_size)
210 ret = whc_set_key(whc, whc->n_devices, tkid, gtk, key_size, true);
141 whc_set_key(struct whc *whc, u8 key_index, uint32_t tkid, const void *key, size_t key_size, bool is_gtk) argument
171 whc_set_ptk(struct wusbhc *wusbhc, u8 port_idx, u32 tkid, const void *ptk, size_t key_size) argument
202 whc_set_gtk(struct wusbhc *wusbhc, u32 tkid, const void *gtk, size_t key_size) argument
/drivers/usb/wusbcore/
H A Dsecurity.c101 const size_t key_size = sizeof(wusbhc->gtk.data); local
110 get_random_bytes(wusbhc->gtk.descr.bKeyData, key_size);
123 const size_t key_size = sizeof(wusbhc->gtk.data); local
129 &wusbhc->gtk.descr.bKeyData, key_size);
545 size_t key_size = sizeof(wusbhc->gtk.data); local
590 &wusbhc->gtk.descr.bKeyData, key_size);
/drivers/crypto/qce/
H A Dcommon.c102 static u32 qce_auth_cfg(unsigned long flags, u32 key_size) argument
112 if (key_size == AES_KEYSIZE_128)
114 else if (key_size == AES_KEYSIZE_256)
/drivers/usb/host/
H A Dhwa-hc.c466 const void *key, size_t key_size,
476 keyd_len = sizeof(*keyd) + key_size;
486 memcpy(keyd->bKeyData, key, key_size);
507 const void *key, size_t key_size)
521 key, key_size, key_idx);
549 const void *key, size_t key_size)
554 return __hwahc_dev_set_key(wusbhc, 0, tkid, key, key_size, key_idx);
465 __hwahc_dev_set_key(struct wusbhc *wusbhc, u8 port_idx, u32 tkid, const void *key, size_t key_size, u8 key_idx) argument
506 __hwahc_op_set_ptk(struct wusbhc *wusbhc, u8 port_idx, u32 tkid, const void *key, size_t key_size) argument
548 __hwahc_op_set_gtk(struct wusbhc *wusbhc, u32 tkid, const void *key, size_t key_size) argument
/drivers/crypto/amcc/
H A Dcrypto4xx_sa.h47 u32 key_size:4; member in struct:dynamic_sa_contents::__anon498
/drivers/net/wireless/iwlwifi/mvm/
H A Dfw-api-sta.h389 u8 key_size; member in struct:iwl_mvm_wep_key
/drivers/net/wireless/ti/wlcore/
H A Dcmd.c1355 u8 key_size, const u8 *key, const u8 *addr,
1381 cmd->key_size = key_size;
1401 memcpy(cmd->key, key, key_size);
1424 u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32,
1451 cmd->key_size = key_size;
1468 memcpy(cmd->key, key, key_size);
1353 wl1271_cmd_set_sta_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, const u8 *addr, u32 tx_seq_32, u16 tx_seq_16) argument
1422 wl1271_cmd_set_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16) argument
H A Dwlcore_i.h214 u8 key_size; member in struct:wl1271_ap_key
H A Dcmd.h79 u8 key_size, const u8 *key, const u8 *addr,
83 u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32,
505 u8 key_size; member in struct:wl1271_cmd_set_keys
H A Dmain.c3193 u8 id, u8 key_type, u8 key_size,
3202 if (key_size > MAX_KEY_SIZE)
3228 ap_key->key_size = key_size;
3229 memcpy(ap_key->key, key, key_size);
3266 key->key_size, key->key,
3290 u8 key_size, const u8 *key, u32 tx_seq_32,
3316 key_type, key_size,
3321 id, key_type, key_size,
3354 id, key_type, key_size,
3192 wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16) argument
3288 wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u32 tx_seq_32, u16 tx_seq_16, struct ieee80211_sta *sta) argument
[all...]
/drivers/md/
H A Ddm-crypt.c168 unsigned int key_size; member in struct:crypt_config
265 sg_init_one(&sg, cc->key, cc->key_size);
269 err = crypto_hash_digest(&desc, &sg, cc->key_size, essiv->salt);
504 int subkey_size = cc->key_size / cc->key_parts;
628 if (cc->key_size <= (cc->iv_size + TCW_WHITENING_SIZE)) {
653 int key_offset = cc->key_size - cc->iv_size - TCW_WHITENING_SIZE;
1427 subkey_size = (cc->key_size - cc->key_extra_size) >> ilog2(cc->tfms_count);
1446 if (cc->key_size != (key_string_len >> 1))
1449 /* Hyphen (which gives a key_size of zero) means there is no key. */
1450 if (!cc->key_size
1682 unsigned int key_size, opt_params; local
[all...]
/drivers/net/wireless/ti/wl1251/
H A Dcmd.h403 u8 key_size; member in struct:wl1251_cmd_set_keys
/drivers/staging/lustre/lustre/include/
H A Ddt_object.h609 int (*key_size)(const struct lu_env *env, member in struct:dt_index_operations::dt_it_ops
/drivers/net/wireless/iwlegacy/
H A D4965-mac.c3160 u8 key_size = il->_4965.wep_keys[i].key_size; local
3163 if (key_size) {
3169 wep_cmd->key[i].key_size = key_size;
3170 memcpy(&wep_cmd->key[i].key[3], il->_4965.wep_keys[i].key, key_size);
3235 il->_4965.wep_keys[idx].key_size = len;
H A Dcommands.h1105 u8 key_size; member in struct:il_wep_key
/drivers/net/wireless/ipw2x00/
H A Dipw2100.h295 u8 key_size; // 0 no imm key, 0x5 64bit encr, 0xd 128bit encr, 0x10 128bit encr and 128bit IV member in struct:ipw2100_data_header
H A Dipw2200.h821 u8 key_size; member in struct:ipw_wep_key
/drivers/net/wireless/iwlwifi/dvm/
H A Dcommands.h1021 u8 key_size; member in struct:iwl_wep_key

Completed in 319 milliseconds