]> git.cryptolib.org Git - avr-crypto-lib.git/blob - present.h
d55780092fd5e914eb6ac7b3f152d5c720bf9407
[avr-crypto-lib.git] / present.h
1 #ifndef PRESENT_H_
2 #define PRESENT_H_
3
4 #include <stdint.h>
5
6 typedef struct present_ctx_st{
7         uint64_t k[32];
8 } present_ctx_t;
9
10
11 void present_init(const uint8_t* key, uint8_t keysize_b, present_ctx_t* ctx);
12 void present_enc(void* buffer, present_ctx_t* ctx);
13 void present_dec(void* buffer, present_ctx_t* ctx);
14
15
16 #endif /*PRESENT_H_*/