summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_crypto.c
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2007-07-24 19:35:20 +0000
committerdamien <damien@openbsd.org>2007-07-24 19:35:20 +0000
commitc5823ff2899dc23bf01c945069e4bb125c7ccd19 (patch)
treec05e796172cce0f2b9f8f6f26a4925d77652ba8c /sys/net80211/ieee80211_crypto.c
parentreformat to 8 chars tab, zap unneeded comment (no binary change) (diff)
downloadwireguard-openbsd-c5823ff2899dc23bf01c945069e4bb125c7ccd19.tar.xz
wireguard-openbsd-c5823ff2899dc23bf01c945069e4bb125c7ccd19.zip
add rc4_skip() function that can be used to discard bytes from
the arc4 key stream. rc4_skip(ctx, len); is equivalent to: u_int8_t dummy[len]; rc4_crypt(ctx, dummy, dummy, len); except that is does not require storage space and that it saves some cpu cycles. ok deraadt@
Diffstat (limited to 'sys/net80211/ieee80211_crypto.c')
0 files changed, 0 insertions, 0 deletions