Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 23 lines (19 sloc) 0.61 kb
845e012 auto import from //depot/cupcake/@135843
The Android Open Source Project authored
1 /*
2 * RC4 stream cipher
3 * Copyright (c) 2002-2005, Jouni Malinen <j@w1.fi>
4 *
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.
8 *
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
11 *
12 * See README and COPYING for more details.
13 */
14
15 #ifndef RC4_H
16 #define RC4_H
17
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);
21
22 #endif /* RC4_H */
Something went wrong with that request. Please try again.