aboutsummaryrefslogtreecommitdiffstats
path: root/libosmocore/include/osmocore/comp128.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2010-02-20 19:10:44 +0100
committerHarald Welte <laforge@netfilter.org>2010-02-20 19:10:44 +0100
commita3d5514c21d1086e47548c134a3d108047b458ce (patch)
tree0c45350f7684486cd99e3ed497327476c7a890df /libosmocore/include/osmocore/comp128.h
parent13f52974e65ae128355ab91dd090c6e0ca5240c5 (diff)
change from u_int* to uint* (stdint.h)
Diffstat (limited to 'libosmocore/include/osmocore/comp128.h')
-rw-r--r--libosmocore/include/osmocore/comp128.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libosmocore/include/osmocore/comp128.h b/libosmocore/include/osmocore/comp128.h
index 691ade54b..c37808f0f 100644
--- a/libosmocore/include/osmocore/comp128.h
+++ b/libosmocore/include/osmocore/comp128.h
@@ -7,16 +7,16 @@
#ifndef __COMP128_H__
#define __COMP128_H__
-#include <sys/types.h>
+#include <stdint.h>
/*
* Performs the COMP128 algorithm (used as A3/A8)
- * ki : u_int8_t [16]
- * srand : u_int8_t [16]
- * sres : u_int8_t [4]
- * kc : u_int8_t [8]
+ * ki : uint8_t [16]
+ * srand : uint8_t [16]
+ * sres : uint8_t [4]
+ * kc : uint8_t [8]
*/
-void comp128(u_int8_t *ki, u_int8_t *srand, u_int8_t *sres, u_int8_t *kc);
+void comp128(uint8_t *ki, uint8_t *srand, uint8_t *sres, uint8_t *kc);
#endif /* __COMP128_H__ */