• Guido Casati's avatar
    Rework protection of initial NAS signaling messages (REGISTRATION REQUEST) as per 3GPP TS 33.501 · 81ec8d2e
    Guido Casati authored
    * Without a valid 5G NAS security context:
      * Send REGISTRATION REQUEST with cleartext IEs only.
      * After activating a security context via Security Mode Control:
        wrap the entire REGISTRATION REQUEST (with both non-cleartext and cleartext)
        in a NAS message container IE, include it in SECURITY MODE COMPLETE
    
    * With a valid 5G NAS security context:
      * If non-cleartext IEs are needed, wrap the entire message in a NAS message container IE and cipher it.
      * If only cleartext IEs are needed, send the message directly without the NAS message container IE.
    81ec8d2e
rrc_UE.c 113 KB