]> git.cryptolib.org Git - avr-crypto-lib.git/blob - xtea.h
new, derived from old avr/crypto + cast5
[avr-crypto-lib.git] / xtea.h
1 /*
2  * Author:      Daniel Otte
3  * Date:                06.06.2006
4  * License:     GPL
5  */
6
7 #ifndef XTEA_H_
8 #define XTEA_H_
9
10 #include <stdint.h> 
11  
12 /*
13  * this fits for xtea.c and xtea-asm.S
14  * 
15  */
16
17
18
19 /*
20  * dest: the destination where result of operation will be placed (64 bit)
21  * v:    the block to operate on (64 bit)
22  * k:    the key for en/decryption (128 bit)
23  */
24 void xtea_enc(uint32_t* dest, uint32_t* v, uint32_t* k);
25 void xtea_dec(uint32_t* dest, uint32_t* v, uint32_t* k);
26
27
28 #endif /*XTEA_H_*/