libosmogsm  1.9.0.20-4ca0f.202311042026
Osmocom GSM library
osmo_sub_auth_data Struct Reference

#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 More...
 
      uint8_t   k [OSMO_A5_MAX_KEY_LEN_BYTES]
 secret key of the subscriber 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
 

Field Documentation

◆ algo

enum osmo_auth_algo osmo_sub_auth_data::algo

Referenced by auth_data2auth_data2().

◆ amf

uint8_t osmo_sub_auth_data::amf[2]

◆ gsm

struct { ... } osmo_sub_auth_data::gsm

Referenced by auth_data2auth_data2().

◆ ind

unsigned int osmo_sub_auth_data::ind

which IND slot to use an SQN from

◆ ind_bitlen

unsigned int osmo_sub_auth_data::ind_bitlen

nr of bits not in SEQ, only SQN

◆ k

uint8_t osmo_sub_auth_data::k[OSMO_A5_MAX_KEY_LEN_BYTES]

secret key of the subscriber

◆ ki

uint8_t osmo_sub_auth_data::ki[OSMO_A5_MAX_KEY_LEN_BYTES]

secret key

◆ opc

uint8_t osmo_sub_auth_data::opc[16]

operator invariant value

◆ opc_is_op

int osmo_sub_auth_data::opc_is_op

is the OPC field OPC (0) or OP (1) ?

◆ sqn

uint64_t osmo_sub_auth_data::sqn

sequence number (in: prev sqn; out: used sqn)

◆ sqn_ms

uint64_t osmo_sub_auth_data::sqn_ms

sqn from AUTS (output value only)

◆ type

◆ u

union { ... } osmo_sub_auth_data::u

◆ umts

struct { ... } osmo_sub_auth_data::umts

The documentation for this struct was generated from the following file: