summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_crypto.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* use rc4_skip().damien2007-07-241-8/+4
| | | | | fix ieee80211_eapol_key_encrypt() so that we don't add more padding bytes than necessary in the case of AES Key Wrap encryption.
* remove some unused key derivation functions.damien2007-07-241-66/+1
| | | | we won't support PeerKey handshake in a first time.
* remove arc4_ compatibility macros.damien2007-07-241-11/+8
|
* add functions to compute EAPOL-Key Key MIC fields and to encrypt/decryptdamien2007-07-241-1/+146
| | | | EAPOL-Key Data fields.
* add ic_globalcnt to struct ieee80211com:damien2007-07-241-4/+6
| | | | | in an RSNA, each STA must maintain a 256-bit global key counter that must be initialized to a random value (see 8.5.7).
* modify ieee80211_aes_key_wrap() to support in-place encryption.damien2007-07-181-4/+3
| | | | | explicitly use ovbcopy() even if our kernel memcpy() supports overlapping buffers.
* add AES Key Wrap algorithm (see RFC 3394).damien2007-07-181-1/+75
| | | | this will be used to encrypt/decrypt EAPOL-Key frames payload.
* replace the ieee80211_wepkey structure with a more generic ieee80211_keydamien2007-07-181-4/+4
| | | | one that can be used with other ciphers than WEP.
* s/uint8_t/u_int8_t/ for consistency.damien2007-07-141-21/+21
|
* update QoS Tx/Rx sequence numbers for each TID.damien2007-07-141-3/+9
| | | | | | add a parameter to ieee80211_decap() to handle different 802.11 header sizes. cleanup and clarify ieee80211_classify().
* add myself to the copyright list.damien2007-07-051-1/+2
|
* add the pseudo-random function (PRF) and various key derivationdamien2007-07-051-3/+296
| | | | functions defined in 802.11i.
* constifydamien2007-06-161-4/+4
|
* de-staticdamien2007-06-161-5/+5
| | | | ok jsg@
* The license permits us to redistribute this code under the BSD or the GPLv2.damien2007-06-061-5/+1
| | | | | | Choose the BSD license so that future enhancements will be BSD-only. ok jsg@ reyk@ deraadt@
* fix the key buffer size used for software wep, this could causereyk2006-12-291-3/+12
| | | | | | | | problems with non-standard wep keys >= 104 bits. thanks to Alexander Bluhm ok mglocker@ jsg@
* Improve 802.11b/g interoperability and move toward better compliancedamien2006-06-181-3/+1
| | | | | | | | | | | | | | | | | with IEEE Std 802.11g-2003 standard: - add ERP Information Element in probe responses and beacons - keep track of the number of associated non-ERP STAs and non-short slot time capable STAs in the BSS - enable use of RTS/CTS or CTS-to-self protection when required by the BSS - add a ic_updateslot() callback to notify drivers of slot time changes - cleanup computation of mgmt frames sizes in ieee80211_output.c - nuke unnecessary <sys/cdefs.h> includes - remove an unused macro (LOGICALLY_EQUAL) while i'm here From {free,net}bsd, with additional fixes. ok brad@, reyk@
* mostly knfreyk2005-09-081-3/+5
| | | | ok jsg@
* Remove the last of the FreeBSD compatiblity goop.jsg2005-09-081-2/+1
| | | | ok reyk@
* Remove FreeBSD if_printf compat function from net80211.jsg2005-09-081-2/+3
| | | | ok reyk@
* Remove FreeBSD/NetBSD ifdef mess. We are not likely to bejsg2005-09-071-41/+1
| | | | | doing a wholesale merge with them in future. very enthusiastic ok from reyk@
* Don't restrict WEP keys to exactly 40 or 108 bits.millert2004-06-281-5/+7
|
* Hack to avoid panic in arc4maybeinit() due to rnd device not beingmillert2004-06-271-5/+2
| | | | attached yet.
* Import current NetBSD/FreeBSD 802.11 framework.millert2004-06-221-0/+364
Based in part on a diff from Matthew Gream.