The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Macros | Functions
ts_34_108.h File Reference

Implementation of the TS.34.108 dummy USMI algorithm. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TS_34_108_AK_SIZE   6
 Anonymisation key. More...
 
#define TS_34_108_AMF_SIZE   2
 Authentication management field. More...
 
#define TS_34_108_AUTN_SIZE   16
 Network authentication key. More...
 
#define TS_34_108_AUTS_SIZE   14
 
#define TS_34_108_CK_SIZE   16
 Ciphering key. More...
 
#define TS_34_108_IK_SIZE   16
 Integrity key. More...
 
#define TS_34_108_KI_SIZE   16
 Subscriber key. More...
 
#define TS_34_108_OP_SIZE   16
 Operator code (unique to the operator) More...
 
#define TS_34_108_RAND_SIZE   16
 Random challenge. More...
 
#define TS_34_108_RES_SIZE   16
 
#define TS_34_108_SQN_SIZE   6
 Sequence number. More...
 

Functions

int ts_34_108_umts_generate (uint8_t autn[TS_34_108_AUTN_SIZE], uint8_t ik[TS_34_108_IK_SIZE], uint8_t ck[TS_34_108_CK_SIZE], uint8_t ak[TS_34_108_AK_SIZE], uint8_t res[TS_34_108_RES_SIZE], uint8_t const amf[TS_34_108_AMF_SIZE], uint8_t const ki[TS_34_108_KI_SIZE], uint64_t sqn, uint8_t const rand[TS_34_108_RAND_SIZE])
 

Detailed Description

Implementation of the TS.34.108 dummy USMI algorithm.

Id
792b1d3914d1710904d715234b66ad2e45771112
Id
338038ff093126f035512823a4d9f208882fa05e

Definition in file ts_34_108.h.

Macro Definition Documentation

◆ TS_34_108_AK_SIZE

#define TS_34_108_AK_SIZE   6

Anonymisation key.

Definition at line 39 of file ts_34_108.h.

◆ TS_34_108_AMF_SIZE

#define TS_34_108_AMF_SIZE   2

Authentication management field.

Definition at line 32 of file ts_34_108.h.

◆ TS_34_108_AUTN_SIZE

#define TS_34_108_AUTN_SIZE   16

Network authentication key.

Definition at line 40 of file ts_34_108.h.

◆ TS_34_108_AUTS_SIZE

#define TS_34_108_AUTS_SIZE   14

Definition at line 44 of file ts_34_108.h.

◆ TS_34_108_CK_SIZE

#define TS_34_108_CK_SIZE   16

Ciphering key.

Definition at line 42 of file ts_34_108.h.

◆ TS_34_108_IK_SIZE

#define TS_34_108_IK_SIZE   16

Integrity key.

Definition at line 41 of file ts_34_108.h.

◆ TS_34_108_KI_SIZE

#define TS_34_108_KI_SIZE   16

Subscriber key.

Definition at line 30 of file ts_34_108.h.

◆ TS_34_108_OP_SIZE

#define TS_34_108_OP_SIZE   16

Operator code (unique to the operator)

Definition at line 31 of file ts_34_108.h.

◆ TS_34_108_RAND_SIZE

#define TS_34_108_RAND_SIZE   16

Random challenge.

Definition at line 34 of file ts_34_108.h.

◆ TS_34_108_RES_SIZE

#define TS_34_108_RES_SIZE   16

Definition at line 43 of file ts_34_108.h.

◆ TS_34_108_SQN_SIZE

#define TS_34_108_SQN_SIZE   6

Sequence number.

Definition at line 33 of file ts_34_108.h.

Function Documentation

◆ ts_34_108_umts_generate()

int ts_34_108_umts_generate ( uint8_t  autn[TS_34_108_AUTN_SIZE],
uint8_t  ik[TS_34_108_IK_SIZE],
uint8_t  ck[TS_34_108_CK_SIZE],
uint8_t  ak[TS_34_108_AK_SIZE],
uint8_t  res[TS_34_108_RES_SIZE],
uint8_t const  amf[TS_34_108_AMF_SIZE],
uint8_t const  ki[TS_34_108_KI_SIZE],
uint64_t  sqn,
uint8_t const  rand[TS_34_108_RAND_SIZE] 
)

Definition at line 40 of file ts_34_108.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: