Home
last modified time | relevance | path

Searched refs:eiob (Results 1 – 4 of 4) sorted by relevance

/external/syslinux/gpxe/src/net/80211/
Dwep.c121 struct io_buffer *eiob; in wep_encrypt() local
128 eiob = alloc_iob ( newlen ); in wep_encrypt()
129 if ( ! eiob ) in wep_encrypt()
132 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen ); in wep_encrypt()
133 hdr = eiob->data; in wep_encrypt()
139 memcpy ( iob_put ( eiob, WEP_HEADER_LEN ), &iv, WEP_HEADER_LEN ); in wep_encrypt()
146 iob_put ( eiob, datalen ), datalen ); in wep_encrypt()
151 iob_put ( eiob, WEP_ICV_LEN ), WEP_ICV_LEN ); in wep_encrypt()
153 return eiob; in wep_encrypt()
167 struct io_buffer *eiob ) in wep_decrypt() argument
[all …]
Dwpa_ccmp.c323 struct io_buffer *eiob; in ccmp_encrypt() local
336 eiob = alloc_iob ( iob_len ( iob ) + CCMP_HEAD_LEN + CCMP_MIC_LEN ); in ccmp_encrypt()
337 if ( ! eiob ) in ccmp_encrypt()
341 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen ); in ccmp_encrypt()
342 hdr = eiob->data; in ccmp_encrypt()
350 memcpy ( iob_put ( eiob, sizeof ( head ) ), &head, sizeof ( head ) ); in ccmp_encrypt()
366 edata = iob_put ( eiob, datalen ); in ccmp_encrypt()
367 emic = iob_put ( eiob, CCMP_MIC_LEN ); in ccmp_encrypt()
374 iob, eiob ); in ccmp_encrypt()
376 return eiob; in ccmp_encrypt()
[all …]
Dwpa_tkip.c379 struct io_buffer *eiob; in tkip_encrypt() local
397 eiob = alloc_iob ( iob_len ( iob ) + TKIP_HEAD_LEN + TKIP_FOOT_LEN ); in tkip_encrypt()
398 if ( ! eiob ) in tkip_encrypt()
402 memcpy ( iob_put ( eiob, hdrlen ), iob->data, hdrlen ); in tkip_encrypt()
403 hdr = eiob->data; in tkip_encrypt()
410 memcpy ( iob_put ( eiob, sizeof ( head ) ), &head, sizeof ( head ) ); in tkip_encrypt()
415 iob_put ( eiob, datalen ), datalen ); in tkip_encrypt()
422 iob_put ( eiob, sizeof ( mic ) ), sizeof ( mic ) ); in tkip_encrypt()
429 iob_put ( eiob, TKIP_ICV_LEN ), TKIP_ICV_LEN ); in tkip_encrypt()
432 iob, eiob ); in tkip_encrypt()
[all …]
Dnet80211.c742 struct io_buffer *eiob = dev->crypto->encrypt ( dev->crypto, in net80211_tx_mgmt() local
745 iob = eiob; in net80211_tx_mgmt()