]>
Commit | Line | Data |
---|---|---|
0a886a1d | 1 | //----------------------------------------------------------------------------- |
2 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
3 | // at your option, any later version. See the LICENSE.txt file for the text of | |
4 | // the license. | |
5 | //----------------------------------------------------------------------------- | |
6 | // Generic TEA crypto code. | |
7 | // ref: http://143.53.36.235:8080/source.htm#ansi | |
8 | //----------------------------------------------------------------------------- | |
9 | ||
10 | #ifndef __TEA_H | |
11 | #define __TEA_H | |
12 | ||
13 | #include "util.h" | |
14 | #include <stdint.h> | |
15 | #include <stddef.h> | |
16 | void tea_encrypt(uint8_t *v, uint8_t *key); | |
17 | void tea_decrypt(uint8_t *v, uint8_t *key); | |
18 | #endif /* __TEA_H */ |