]> git.cryptolib.org Git - avr-crypto-lib.git/blob - seed.h
bdc935c842ca3e78d54b5fabf6286eb11108c1cc
[avr-crypto-lib.git] / seed.h
1 /**
2  * \file        seed.h
3  * \author      Daniel Otte 
4  * \date        2007-06-1
5  * \brief       declarations for seed
6  * \par License 
7  * GPL
8  * 
9  */
10 #ifndef SEED_H_
11 #define SEED_H_
12
13 #include <stdint.h>
14
15 typedef struct{
16         uint32_t k[4];
17 } seed_ctx_t;
18
19 /******************************************************************************/
20
21 void seed_init(seed_ctx_t * ctx, uint8_t * key);
22 void seed_encrypt(seed_ctx_t * ctx, void * buffer);
23 void seed_decrypt(seed_ctx_t * ctx, void * buffer);
24         
25 #endif /*SEED_H_*/