diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-02-20 20:34:29 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-02-20 20:34:29 +0100 |
commit | ec8b4501c7b0bfb286db7789635168d1b84f9105 (patch) | |
tree | 0db0073e589513d803d2b5be80580191e215dbe3 /include/osmocore/comp128.h |
intial checkin of the libosmocore project
Diffstat (limited to 'include/osmocore/comp128.h')
-rw-r--r-- | include/osmocore/comp128.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/osmocore/comp128.h b/include/osmocore/comp128.h new file mode 100644 index 00000000..c37808f0 --- /dev/null +++ b/include/osmocore/comp128.h @@ -0,0 +1,22 @@ +/* + * COMP128 header + * + * See comp128.c for details + */ + +#ifndef __COMP128_H__ +#define __COMP128_H__ + +#include <stdint.h> + +/* + * Performs the COMP128 algorithm (used as A3/A8) + * ki : uint8_t [16] + * srand : uint8_t [16] + * sres : uint8_t [4] + * kc : uint8_t [8] + */ +void comp128(uint8_t *ki, uint8_t *srand, uint8_t *sres, uint8_t *kc); + +#endif /* __COMP128_H__ */ + |