libosmogsm  0.11.0-dirty
Osmocom GSM library
osmo_sub_auth_data Struct Reference

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

Detailed Description

permanent (secret) subscriber auth data


Field Documentation

which IND slot to use an SQN from

nr of bits not in SEQ, only SQN

uint8_t osmo_sub_auth_data::k[16]

secret key of the subscriber

operator invariant value

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

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

sqn from AUTS (output value only)


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines