hostapd: remove version tag from directory
[dragonfly.git] / contrib / hostapd / rc4.h
blob01f13833ddc898f0ea71f34279a867eb3b78c2bf
1 /*
2 * RC4 stream cipher
3 * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
12 * See README and COPYING for more details.
15 #ifndef RC4_H
16 #define RC4_H
18 void rc4_skip(const u8 *key, size_t keylen, size_t skip,
19 u8 *data, size_t data_len);
20 void rc4(u8 *buf, size_t len, const u8 *key, size_t key_len);
22 #endif /* RC4_H */