Packages

Erlang codec for 3GPP Telecommunication specifications

Current section

Files

Jump to
otc include nas_security.hrl
Raw

include/nas_security.hrl

%% 3GPP TS 33.401(EPS) & TS 33.501(5G)
%% TS 33.401 B.1 128-bit ciphering algorithm / B.2 128-Bit integrity algorithm
-define(NAS_DIRECTION_UPLINK, 0).
-define(NAS_DIRECTION_DOWNLINK, 1).
%% TS 33.401 A.7 Algorithm key derivation functions
-define(NAS_AD_NAS_ENCRYPTION, 1).
-define(NAS_AD_NAS_INTEGRITY, 2).
-define(NAS_AD_RRC_ENCRYPTION, 3).
-define(NAS_AD_RRC_INTEGRITY, 4).
-define(NAS_AD_UP_ENCRYPTION, 5).
-define(NAS_AD_UP_INTEGRITY, 6).