blob: 691ade54b39755e05fe657509c1712e725bcefd6 [file] [log] [blame]
Sylvain Munautd7c9e5c2009-12-23 15:49:16 +01001/*
2 * COMP128 header
3 *
4 * See comp128.c for details
5 */
6
7#ifndef __COMP128_H__
8#define __COMP128_H__
9
10#include <sys/types.h>
11
12/*
13 * Performs the COMP128 algorithm (used as A3/A8)
14 * ki : u_int8_t [16]
15 * srand : u_int8_t [16]
16 * sres : u_int8_t [4]
17 * kc : u_int8_t [8]
18 */
19void comp128(u_int8_t *ki, u_int8_t *srand, u_int8_t *sres, u_int8_t *kc);
20
21#endif /* __COMP128_H__ */
22