All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
comp128.h
Go to the documentation of this file.
1 #ifndef _COMP128_H
2 #define _COMP128_H
3 
4 #include <string.h>
5 #include <stdint.h>
6 #include <stdbool.h>
7 
8 void comp128v1(uint8_t *sres, uint8_t *kc, const uint8_t *ki, const uint8_t *rand);
9 void comp128v23(uint8_t *sres, uint8_t *kc, uint8_t const *ki, uint8_t const *rand, bool v2);
10 
11 #endif
void comp128v1(uint8_t *sres, uint8_t *kc, const uint8_t *ki, const uint8_t *rand)
Calculate comp128v1 sres and kc from ki and rand.
Definition: comp128.c:239
void comp128v23(uint8_t *sres, uint8_t *kc, uint8_t const *ki, uint8_t const *rand, bool v2)
Calculate comp128v2 or comp128v3 sres and kc from ki and rand.
Definition: comp128.c:335