textual
[RRG-proxmark3.git] / client / src / tea.h
blob3390b9d920add4783349813d8b329a5295213183
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 //-----------------------------------------------------------------------------
10 #ifndef __TEA_H
11 #define __TEA_H
13 #include "common.h"
15 void tea_encrypt(uint8_t *v, uint8_t *key);
16 void tea_decrypt(uint8_t *v, uint8_t *key);
18 #endif /* __TEA_H */