From 3e387cb35c03ad814362267028c46d5d0972a257 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Thu, 17 Nov 2011 19:45:42 +0100 Subject: gsm/a5: Add const qualifier on the key Signed-off-by: Sylvain Munaut --- include/osmocom/gsm/a5.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/osmocom/gsm') diff --git a/include/osmocom/gsm/a5.h b/include/osmocom/gsm/a5.h index 2c630e5f..55ce24dc 100644 --- a/include/osmocom/gsm/a5.h +++ b/include/osmocom/gsm/a5.h @@ -42,8 +42,8 @@ osmo_a5_fn_count(uint32_t fn) * - fn is the _real_ GSM frame number. * (converted internally to fn_count) */ -void osmo_a5(int n, uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul); -void osmo_a5_1(uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul); -void osmo_a5_2(uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul); +void osmo_a5(int n, const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul); +void osmo_a5_1(const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul); +void osmo_a5_2(const uint8_t *key, uint32_t fn, ubit_t *dl, ubit_t *ul); #endif /* __OSMO_A5_H__ */ -- cgit v1.2.3