libosmogsm 1.10.0.9-9764
Osmocom GSM library
|
Go to the source code of this file.
Data Structures | |
struct | gprs_cipher_impl |
Macros | |
#define | GSM0464_CIPH_MAX_BLOCK 1523 |
Enumerations | |
enum | gprs_ciph_algo { GPRS_ALGO_GEA0 = 0 , GPRS_ALGO_GEA1 = 1 , GPRS_ALGO_GEA2 = 2 , GPRS_ALGO_GEA3 = 3 , GPRS_ALGO_GEA4 = 4 , _GPRS_ALGO_NUM } |
enum | gprs_cipher_direction { GPRS_CIPH_MS2SGSN = 0 , GPRS_CIPH_SGSN2MS = 1 } |
Functions | |
int | gprs_cipher_register (struct gprs_cipher_impl *ciph) |
int | gprs_cipher_load (const char *path) |
int | gprs_cipher_run (uint8_t *out, uint16_t len, enum gprs_ciph_algo algo, uint8_t *kc, uint32_t iv, enum gprs_cipher_direction dir) |
int | gprs_cipher_supported (enum gprs_ciph_algo algo) |
unsigned | gprs_cipher_key_length (enum gprs_ciph_algo algo) |
Obtain key lenght for given GPRS cipher. More... | |
uint32_t | gprs_cipher_gen_input_ui (uint32_t iov_ui, uint8_t sapi, uint32_t lfn, uint32_t oc) |
uint32_t | gprs_cipher_gen_input_i (uint32_t iov_i, uint32_t lfn, uint32_t oc) |
Variables | |
const struct value_string | gprs_cipher_names [] |
#define GSM0464_CIPH_MAX_BLOCK 1523 |
enum gprs_ciph_algo |