Handle NAS Authentication Reject in stack
Handle authentication not accepted by the network. The handler assumes the message is not integrity protected, processes the received NAS message and logs whether a EAP-failure is enclosed. The UE enters state: 5GMM-DEREGISTERED. Not done in this commit: the UE shall performs actions as per 5.4.1.3.5 of 3GPP TS 24.501, including (1) Abort any ongoing 5GMM procedure (2) Stop all active timers: T3510, T3516, T3517, T3519, T3520, T3521 (3) Delete stored SUCI. (4) handle EAP-failure message.
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
#define NR_FC_ALG_KEY_DER (0x69)
|
||||
#define NR_FC_ALG_KEY_NG_RAN_STAR_DER (0x70)
|
||||
|
||||
static void log_hex_buffer(const char *label, const uint8_t *buf, const int len)
|
||||
void log_hex_buffer(const char *label, const uint8_t *buf, const int len)
|
||||
{
|
||||
char hex_str[len * 2 + 1];
|
||||
for (int i = 0; i < len; i++) {
|
||||
|
||||
@@ -36,4 +36,6 @@ void nr_derive_key_ng_ran_star(uint16_t pci, uint64_t nr_arfcn_dl, const uint8_t
|
||||
|
||||
void nr_derive_nh(const uint8_t k_amf[SECURITY_KEY_LEN], const uint8_t *sync_input, uint8_t *nh);
|
||||
|
||||
void log_hex_buffer(const char *label, const uint8_t *buf, const int len);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user