]> git.cryptolib.org Git - avr-crypto-lib.git/blob - camellia.h
6ced2b2114f672559c1ae3516869ae271506ea93
[avr-crypto-lib.git] / camellia.h
1 #ifndef CAMELLIA_H_
2 #define CAMELLIA_H_
3
4 #include <stdint.h>
5
6 typedef struct camellia128_ctx_s{
7         uint64_t klr; 
8         uint64_t kll;
9         uint64_t kar;
10         uint64_t kal;
11 }camellia128_ctx_t;
12
13
14 void camellia128_init(camellia128_ctx_t* s, uint8_t* key);
15 void camellia128_enc(camellia128_ctx_t* s, void* block);
16 void camellia128_dec(camellia128_ctx_t* s, void* block);
17
18
19 #endif /*CAMELLIA_H_*/