diff options
author | sam <sam@FreeBSD.org> | 2005-06-06 04:04:38 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-06-06 04:04:38 +0000 |
commit | 5bab97118df0d5f84ea23868b88458025e0ef63d (patch) | |
tree | 28249a3b67979d4d2dd47b1a007558af83869d4d /sys/net80211/ieee80211_crypto_ccmp.c | |
parent | 64ebe3db6831d8a3e1384c0e431c98da5509ec22 (diff) | |
download | FreeBSD-src-5bab97118df0d5f84ea23868b88458025e0ef63d.zip FreeBSD-src-5bab97118df0d5f84ea23868b88458025e0ef63d.tar.gz |
add force flag to enmic/demic crypto api for use in xmit fragmentation
and h/w mic verification
Reviewed by: avatar
Diffstat (limited to 'sys/net80211/ieee80211_crypto_ccmp.c')
-rw-r--r-- | sys/net80211/ieee80211_crypto_ccmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net80211/ieee80211_crypto_ccmp.c b/sys/net80211/ieee80211_crypto_ccmp.c index ad7bc9e..7f95966 100644 --- a/sys/net80211/ieee80211_crypto_ccmp.c +++ b/sys/net80211/ieee80211_crypto_ccmp.c @@ -68,8 +68,8 @@ static void ccmp_detach(struct ieee80211_key *); static int ccmp_setkey(struct ieee80211_key *); static int ccmp_encap(struct ieee80211_key *k, struct mbuf *, u_int8_t keyid); static int ccmp_decap(struct ieee80211_key *, struct mbuf *); -static int ccmp_enmic(struct ieee80211_key *, struct mbuf *); -static int ccmp_demic(struct ieee80211_key *, struct mbuf *); +static int ccmp_enmic(struct ieee80211_key *, struct mbuf *, int); +static int ccmp_demic(struct ieee80211_key *, struct mbuf *, int); static const struct ieee80211_cipher ccmp = { .ic_name = "AES-CCM", @@ -177,7 +177,7 @@ ccmp_encap(struct ieee80211_key *k, struct mbuf *m, u_int8_t keyid) * Add MIC to the frame as needed. */ static int -ccmp_enmic(struct ieee80211_key *k, struct mbuf *m) +ccmp_enmic(struct ieee80211_key *k, struct mbuf *m, int force) { return 1; @@ -262,7 +262,7 @@ ccmp_decap(struct ieee80211_key *k, struct mbuf *m) * Verify and strip MIC from the frame. */ static int -ccmp_demic(struct ieee80211_key *k, struct mbuf *m) +ccmp_demic(struct ieee80211_key *k, struct mbuf *m, int force) { return 1; } |