blob: c37808f0f59684d4e2ec7d23a81607db325650d4 [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
Harald Weltea3d55142010-02-20 19:10:44 +010010#include <stdint.h>
Sylvain Munautd7c9e5c2009-12-23 15:49:16 +010011
12/*
13 * Performs the COMP128 algorithm (used as A3/A8)
Harald Weltea3d55142010-02-20 19:10:44 +010014 * ki : uint8_t [16]
15 * srand : uint8_t [16]
16 * sres : uint8_t [4]
17 * kc : uint8_t [8]
Sylvain Munautd7c9e5c2009-12-23 15:49:16 +010018 */
Harald Weltea3d55142010-02-20 19:10:44 +010019void comp128(uint8_t *ki, uint8_t *srand, uint8_t *sres, uint8_t *kc);
Sylvain Munautd7c9e5c2009-12-23 15:49:16 +010020
21#endif /* __COMP128_H__ */
22