1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/contrib/hostapd/rc4.h

23 lines
610 B
C
Raw Normal View History

2006-03-07 05:47:04 +00:00
/*
* RC4 stream cipher
2007-07-09 16:15:06 +00:00
* Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
2006-03-07 05:47:04 +00:00
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternatively, this software may be distributed under the terms of BSD
* license.
*
* See README and COPYING for more details.
*/
2005-06-05 22:35:03 +00:00
#ifndef RC4_H
#define RC4_H
2006-03-07 05:47:04 +00:00
void rc4_skip(const u8 *key, size_t keylen, size_t skip,
u8 *data, size_t data_len);
void rc4(u8 *buf, size_t len, const u8 *key, size_t key_len);
2005-06-05 22:35:03 +00:00
#endif /* RC4_H */