Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net80211 Omit now-unused function.
details: https://anonhg.NetBSD.org/src/rev/d4c185de04ef
branches: trunk
changeset: 936513:d4c185de04ef
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Jul 28 15:41:26 2020 +0000
description:
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.
diffstat:
sys/net80211/ieee80211_crypto_ccmp.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r 65d0d0fe2689 -r d4c185de04ef sys/net80211/ieee80211_crypto_ccmp.c
--- a/sys/net80211/ieee80211_crypto_ccmp.c Tue Jul 28 14:49:55 2020 +0000
+++ b/sys/net80211/ieee80211_crypto_ccmp.c Tue Jul 28 15:41:26 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieee80211_crypto_ccmp.c,v 1.17 2020/07/25 22:27:05 riastradh Exp $ */
+/* $NetBSD: ieee80211_crypto_ccmp.c,v 1.18 2020/07/28 15:41:26 riastradh Exp $ */
/*
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -36,7 +36,7 @@
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211_crypto_ccmp.c,v 1.7 2005/07/11 03:06:23 sam Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_ccmp.c,v 1.17 2020/07/25 22:27:05 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee80211_crypto_ccmp.c,v 1.18 2020/07/28 15:41:26 riastradh Exp $");
#endif
/*
@@ -266,14 +266,6 @@
return 1;
}
-static __inline void
-xor_block(uint8_t *b, const uint8_t *a, size_t len)
-{
- int i;
- for (i = 0; i < len; i++)
- b[i] ^= a[i];
-}
-
/*
* Host AP crypt: host-based CCMP encryption implementation for Host AP driver
*
Home |
Main Index |
Thread Index |
Old Index