From 4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 27 Mar 2012 11:51:08 +0200 Subject: reorganize file structure to match the upstream requirements --- tests/arc4.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/arc4.h (limited to 'tests/arc4.h') diff --git a/tests/arc4.h b/tests/arc4.h new file mode 100644 index 0000000..61c533a --- /dev/null +++ b/tests/arc4.h @@ -0,0 +1,17 @@ +#ifndef TESTS_ARC4_H +#define TESTS_ARC4_H + +#include +#include + +/* Alleged RC4 algorithm encryption state. */ +struct arc4 + { + uint8_t s[256]; + uint8_t i, j; + }; + +void arc4_init (struct arc4 *, const void *, size_t); +void arc4_crypt (struct arc4 *, void *, size_t); + +#endif /* tests/arc4.h */ -- cgit v1.2.3