libosmogsm
0.11.0-dirty
Osmocom GSM library
|
permanent (secret) subscriber auth data More...
#include <auth.h>
Data Fields | |
enum osmo_sub_auth_type | type |
enum osmo_auth_algo | algo |
union { | |
struct { | |
uint8_t opc [16] | |
operator invariant value | |
uint8_t k [16] | |
secret key of the subscriber | |
uint8_t amf [2] | |
uint64_t sqn | |
sequence number (in: prev sqn; out: used sqn) | |
int opc_is_op | |
is the OPC field OPC (0) or OP (1) ? | |
unsigned int ind_bitlen | |
nr of bits not in SEQ, only SQN | |
unsigned int ind | |
which IND slot to use an SQN from | |
uint64_t sqn_ms | |
sqn from AUTS (output value only) | |
} umts | |
struct { | |
uint8_t ki [OSMO_A5_MAX_KEY_LEN_BYTES] | |
secret key | |
} gsm | |
} | u |
permanent (secret) subscriber auth data
Referenced by osmo_auth_gen_vec(), and osmo_auth_gen_vec_auts().
uint8_t osmo_sub_auth_data::amf[2] |
struct { ... } osmo_sub_auth_data::gsm |
Referenced by c128v1_gen_vec(), c128v2_gen_vec(), and c128v3_gen_vec().
unsigned int osmo_sub_auth_data::ind |
which IND slot to use an SQN from
unsigned int osmo_sub_auth_data::ind_bitlen |
nr of bits not in SEQ, only SQN
uint8_t osmo_sub_auth_data::k[16] |
secret key of the subscriber
secret key
uint8_t osmo_sub_auth_data::opc[16] |
operator invariant value
is the OPC field OPC (0) or OP (1) ?
uint64_t osmo_sub_auth_data::sqn |
sequence number (in: prev sqn; out: used sqn)
uint64_t osmo_sub_auth_data::sqn_ms |
sqn from AUTS (output value only)
Referenced by gen_opc_if_needed().
union { ... } osmo_sub_auth_data::u |
Referenced by c128v1_gen_vec(), c128v2_gen_vec(), c128v3_gen_vec(), gen_opc_if_needed(), milenage_gen_vec(), and milenage_gen_vec_auts().
struct { ... } osmo_sub_auth_data::umts |
Referenced by gen_opc_if_needed(), milenage_gen_vec(), and milenage_gen_vec_auts().