diff options
author | Michael Brown | 2015-07-25 15:42:06 +0200 |
---|---|---|
committer | Michael Brown | 2015-07-27 16:59:10 +0200 |
commit | 1a30c20dafd41812f62543c8baf92bff4740b4b5 (patch) | |
tree | 90714305659db7fc2da7c7fa0114700022cb7dc8 /src/net/80211 | |
parent | [crypto] Add bit-rotation functions for 8-bit and 16-bit values (diff) | |
download | ipxe-1a30c20dafd41812f62543c8baf92bff4740b4b5.tar.gz ipxe-1a30c20dafd41812f62543c8baf92bff4740b4b5.tar.xz ipxe-1a30c20dafd41812f62543c8baf92bff4740b4b5.zip |
[802.11] Use correct SHA1_DIGEST_SIZE constant name
The constant SHA1_SIZE is defined only as part of the imported AXTLS code.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/80211')
-rw-r--r-- | src/net/80211/wpa_ccmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/80211/wpa_ccmp.c b/src/net/80211/wpa_ccmp.c index f98ebea2..a073c6a3 100644 --- a/src/net/80211/wpa_ccmp.c +++ b/src/net/80211/wpa_ccmp.c @@ -480,7 +480,7 @@ static void ccmp_kie_mic ( const void *kck, const void *msg, size_t len, { u8 sha1_ctx[SHA1_CTX_SIZE]; u8 kckb[16]; - u8 hash[SHA1_SIZE]; + u8 hash[SHA1_DIGEST_SIZE]; size_t kck_len = 16; memcpy ( kckb, kck, kck_len ); |