Skip to main content

Crate oxirush_security

Crate oxirush_security 

Source

Re-exports§

pub use algo::select_ciphering_algo;
pub use algo::select_integrity_algo;
pub use error::SecurityError;
pub use guti::build_guti_bytes;
pub use guti::mobile_identity_type;
pub use guti::parse_guti_tmsi;
pub use guti::parse_s_tmsi;
pub use kdf::compute_hres_star;
pub use kdf::compute_xres_star;
pub use kdf::derive_kamf;
pub use kdf::derive_kausf;
pub use kdf::derive_kgnb;
pub use kdf::derive_kseaf;
pub use kdf::derive_nas_key;
pub use kdf::derive_nh;
pub use kdf::extract_128;
pub use nea::nas_cipher;
pub use nea::nea1_cipher;
pub use nea::nea2_cipher;
pub use nea::nea3_cipher;
pub use nia::nas_mac;
pub use nia::nia1_mac;
pub use nia::nia2_mac;
pub use nia::nia3_mac;
pub use plmn::plmn_from_bytes;
pub use plmn::plmn_to_bytes;
pub use plmn::tbcd_decode;
pub use plmn::tbcd_encode;
pub use suci::msin_to_bcd;
pub use suci::suci_conceal;
pub use suci::suci_decrypt_a;
pub use suci::suci_decrypt_b;
pub use suci::suci_scheme_output_a;
pub use suci::suci_scheme_output_b;
pub use suci::suci_to_string;
pub use suci::suci_to_supi;

Modules§

algo
NAS security algorithm selection per 3GPP TS 33.501.
error
oxirush-security: 5G NAS security algorithms
guti
5G-GUTI construction and parsing (TS 24.501 §9.11.3.4)
kdf
nea
nia
plmn
PLMN and TBCD encoding/decoding utilities per 3GPP TS 24.501.
snow3g
SNOW 3G stream cipher (ETSI/3GPP TS 35.201 / TS 35.202)
suci
zuc
ZUC stream cipher (3GPP TS 35.221 / TS 35.222)