Add stge(4).
[dragonfly.git] / contrib / hostapd-0.4.9 / rc4.h
blob3873240496dfefdc19217dfcb8a27312150b3eed
1 /*
2 * RC4 stream cipher
3 * Copyright (c) 2002-2005, Jouni Malinen <jkmaline@cc.hut.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 */