History log of /src/sys/net80211/ieee80211_crypto_ccmp.c |
Revision | | Date | Author | Comments |
1.20 |
| 24-Jun-2023 |
msaitoh | Fix typo in comment.
|
1.19 |
| 03-Nov-2020 |
mlelstv | Use kmem_* instead of malloc/free and use interrupt versions as the code can be called from interrupt.
|
1.18 |
| 28-Jul-2020 |
riastradh | branches: 1.18.2; Omit now-unused function.
Ceased to be needed with the AES CCM changes.
For some reason gcc didn't complain about this, but clang did.
|
1.17 |
| 25-Jul-2020 |
riastradh | Convert malloc -> kmem.
Switch order of members for better alignment. Sort includes.
|
1.16 |
| 25-Jul-2020 |
riastradh | Convert ieee80211_crypto_ccmp.c to new aes_ccm API.
This will make it easier to provide better hardware acceleration without fpu enabling/disabling overhead for each block of data.
|
1.15 |
| 03-Sep-2018 |
riastradh | Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name min/max should not silently truncate to 32 bits on 64-bit systems. This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b)) #define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these may invite multiple evaluation bugs, these do _not_ cause integer truncation.
To avoid `fixing' these cases, I first changed the name in libkern, and then compile-tested every file where min/max occurred in order to confirm that it failed -- and thus confirm that nothing shadowed min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax acorn32/if_ie.c (not included in any kernels) macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of doing things fails safe, and the goal here, after all, is to _avoid_ silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that never silently truncate. But we should avoid doing that for a while, so that existing code has a chance to be detected by the compiler for conversion to uimin/uimax without changing the semantics until we can properly audit it all. (Who knows, maybe in some cases integer truncation is actually intended!)
|
1.14 |
| 03-May-2018 |
maxv | branches: 1.14.2; Remove ovbcopy from net80211.
|
1.13 |
| 19-Jan-2018 |
maxv | branches: 1.13.2; Style, no functional change.
|
1.12 |
| 17-Jan-2018 |
maxv | Style, and fix two pretty bad mistakes in the crypto functions:
* They call M_PREPEND, but don't pass the updated pointer back to the caller.
* They use memmove on the mbuf data, but they don't ensure that the area they touch is contiguous.
This fix is not complete, ieee80211_crypto_encap too needs to pass back the updated pointer. This will be done in another commit.
|
1.11 |
| 18-Oct-2014 |
snj | src is too big these days to tolerate superfluous apostrophes. It's "its", people!
|
1.10 |
| 30-Mar-2013 |
christos | remove trailing whitespace
|
1.9 |
| 30-Mar-2013 |
christos | remove trailing space
|
1.8 |
| 17-Dec-2008 |
cegger | branches: 1.8.14; 1.8.24; kill MALLOC and FREE macros.
|
1.7 |
| 16-Nov-2006 |
christos | branches: 1.7.46; 1.7.48; 1.7.52; 1.7.62; __unused removal on arguments; approved by core.
|
1.6 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.5 |
| 16-Mar-2006 |
christos | branches: 1.5.10; 1.5.12; include if_ether.h if you want to use ether_sprintf()
|
1.4 |
| 18-Nov-2005 |
skrll | branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10; Register these crypto modules.
|
1.3 |
| 26-Jul-2005 |
dyoung | branches: 1.3.6; 1.3.8; Resolve conflicts.
|
1.2 |
| 22-Jun-2005 |
dyoung | branches: 1.2.2; Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch], sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw, awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
|
1.1 |
| 21-Jun-2005 |
dyoung | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 26-Jul-2005 |
dyoung | Import FreeBSD's net80211(9) of 2005-07-11
|
1.1.1.1 |
| 21-Jun-2005 |
dyoung | Import FreeBSD's net80211(9) of 2005-05-18
|
1.2.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.2.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.3.8.1 |
| 22-Nov-2005 |
yamt | sync with head.
|
1.3.6.3 |
| 11-Dec-2005 |
christos | Sync with head.
|
1.3.6.2 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.3.6.1 |
| 26-Jul-2005 |
skrll | file ieee80211_crypto_ccmp.c was added on branch ktrace-lwp on 2005-11-10 14:10:51 +0000
|
1.4.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.4.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.4.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.4.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.5.12.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.5.12.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.5.10.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.7.62.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.7.52.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.7.48.1 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.7.46.1 |
| 22-Feb-2008 |
skrll | Beginning of a sync with net80211 from FreeBSD. Lots to do.
Sources taken from 2008-02-22.
|
1.8.24.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.8.24.1 |
| 23-Jun-2013 |
tls | resync from head
|
1.8.14.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.13.2.2 |
| 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
1.13.2.1 |
| 21-May-2018 |
pgoyette | Sync with HEAD
|
1.14.2.3 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.14.2.2 |
| 12-Jul-2018 |
phil | State save. New kernel config for this brach only. TESTWIFI does produce a kernel. It is not working. athn files not compiling yet and commented out of the TESTWIFI kernel, which only has urtwn 802.11 driver enabled. ieee80211_alq.c and ieee80211_ddb.c not compiling yet.
|
1.14.2.1 |
| 28-Jun-2018 |
phil | Start of WiFi refresh. Copy of FreeBSD net80211 directory with git mirror commit id of 09e3123164ec345822e00465039503686efde455, no changes yet. ieee80211_netbsd.[ch] from ieee80211_freebsd.[ch].
|
1.18.2.1 |
| 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|