]> git.cryptolib.org Git - avr-crypto-lib.git/blob - shacal1_enc.h
8c643408b12b1550630da7e9e8979831c1a2392d
[avr-crypto-lib.git] / shacal1_enc.h
1 #ifndef SHACAL1_ENC_H_
2 #define SHACAL1_ENC_H_
3
4 #include <stdint.h>
5
6 #define SHACAL1_BLOCKSIZE 160
7 #define SHACAL1_BLOCKSIZE_B ((SHACAL1_BLOCKSIZE+7)/8)
8 #define SHACAL1_KEYSIZE 512
9 #define SHACAL1_KEYSIZE_B ((SHACAL1_KEYSIZE+7)/8)
10
11 void shacal1_enc(void* buffer, void* key, uint16_t keysize_b);
12
13 #endif /*SHACAL1_ENC_H_*/