libosmogsm
1.9.0.20-4ca0f.202310292026
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 [32] | |
operator invariant value More... | |
uint8_t opc_len | |
OPc length (in bytes): 16 or 32. More... | |
uint8_t k [32] | |
secret key of the subscriber More... | |
uint8_t k_len | |
K length (in bytes): 16 or 32. More... | |
uint8_t amf [2] | |
uint64_t sqn | |
sequence number (in: prev sqn; out: used sqn) More... | |
int opc_is_op | |
is the OPC field OPC (0) or OP (1) ? More... | |
unsigned int ind_bitlen | |
nr of bits not in SEQ, only SQN More... | |
unsigned int ind | |
which IND slot to use an SQN from More... | |
uint64_t sqn_ms | |
sqn from AUTS (output value only) More... | |
} umts | |
struct { | |
uint8_t ki [OSMO_A5_MAX_KEY_LEN_BYTES] | |
secret key More... | |
} gsm | |
} | u |
permanent (secret) subscriber auth data
enum osmo_auth_algo osmo_sub_auth_data2::algo |
uint8_t osmo_sub_auth_data2::amf[2] |
struct { ... } osmo_sub_auth_data2::gsm |
Referenced by auth_data2auth_data2(), c128v1_gen_vec(), c128v2_gen_vec(), c128v3_gen_vec(), xor2g_gen_vec(), xor_gen_vec(), and xor_gen_vec_auts().
unsigned int osmo_sub_auth_data2::ind |
which IND slot to use an SQN from
unsigned int osmo_sub_auth_data2::ind_bitlen |
nr of bits not in SEQ, only SQN
uint8_t osmo_sub_auth_data2::k[32] |
secret key of the subscriber
uint8_t osmo_sub_auth_data2::k_len |
K length (in bytes): 16 or 32.
uint8_t osmo_sub_auth_data2::ki[OSMO_A5_MAX_KEY_LEN_BYTES] |
secret key
uint8_t osmo_sub_auth_data2::opc[32] |
operator invariant value
int osmo_sub_auth_data2::opc_is_op |
is the OPC field OPC (0) or OP (1) ?
uint8_t osmo_sub_auth_data2::opc_len |
OPc length (in bytes): 16 or 32.
uint64_t osmo_sub_auth_data2::sqn |
sequence number (in: prev sqn; out: used sqn)
uint64_t osmo_sub_auth_data2::sqn_ms |
sqn from AUTS (output value only)
enum osmo_sub_auth_type osmo_sub_auth_data2::type |
Referenced by auth_data2auth_data2(), gen_opc_if_needed(), xor2g_gen_vec(), xor_gen_vec(), and xor_gen_vec_auts().
union { ... } osmo_sub_auth_data2::u |
struct { ... } osmo_sub_auth_data2::umts |