|
|
|
@ -58,11 +58,7 @@ typedef enum{
|
|
|
|
|
static const char integrity_algorithm_id_text[INTEGRITY_ALGORITHM_ID_N_ITEMS][20] = {"EIA0",
|
|
|
|
|
"128-EIA1",
|
|
|
|
|
"128-EIA2"};
|
|
|
|
|
typedef enum
|
|
|
|
|
{
|
|
|
|
|
AUTH_OP,
|
|
|
|
|
AUTH_OPC
|
|
|
|
|
} AUTH_OPERATOR_CODE_TYPE;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
|
* Key Generation
|
|
|
|
@ -157,7 +153,6 @@ uint8_t security_128_eea2(uint8_t *key,
|
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
|
|
uint8_t security_milenage_f1( uint8_t *k,
|
|
|
|
|
AUTH_OPERATOR_CODE_TYPE opc_t,
|
|
|
|
|
uint8_t *op,
|
|
|
|
|
uint8_t *rand,
|
|
|
|
|
uint8_t *sqn,
|
|
|
|
@ -165,7 +160,6 @@ uint8_t security_milenage_f1( uint8_t *k,
|
|
|
|
|
uint8_t *mac_a);
|
|
|
|
|
|
|
|
|
|
uint8_t security_milenage_f1_star( uint8_t *k,
|
|
|
|
|
AUTH_OPERATOR_CODE_TYPE opc_t,
|
|
|
|
|
uint8_t *op,
|
|
|
|
|
uint8_t *rand,
|
|
|
|
|
uint8_t *sqn,
|
|
|
|
@ -173,7 +167,6 @@ uint8_t security_milenage_f1_star( uint8_t *k,
|
|
|
|
|
uint8_t *mac_s);
|
|
|
|
|
|
|
|
|
|
uint8_t security_milenage_f2345( uint8_t *k,
|
|
|
|
|
AUTH_OPERATOR_CODE_TYPE opc_t,
|
|
|
|
|
uint8_t *op,
|
|
|
|
|
uint8_t *rand,
|
|
|
|
|
uint8_t *res,
|
|
|
|
@ -182,11 +175,11 @@ uint8_t security_milenage_f2345( uint8_t *k,
|
|
|
|
|
uint8_t *ak);
|
|
|
|
|
|
|
|
|
|
uint8_t security_milenage_f5_star( uint8_t *k,
|
|
|
|
|
AUTH_OPERATOR_CODE_TYPE opc_t,
|
|
|
|
|
uint8_t *op,
|
|
|
|
|
uint8_t *rand,
|
|
|
|
|
uint8_t *ak);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace srslte
|
|
|
|
|
|
|
|
|
|
#endif // SRSLTE_SECURITY_H
|
|
|
|
|