feat: basic ncm support

This commit is contained in:
鲁树人
2024-09-14 01:33:32 +01:00
parent 7b283a5a14
commit 493ed8bdb5
9 changed files with 541 additions and 0 deletions

17
um_crypto/ncm/Cargo.toml Normal file
View File

@@ -0,0 +1,17 @@
[package]
name = "umc_ncm"
version = "0.1.0"
edition = "2021"
[dependencies]
aes = "0.8.4"
byteorder = "1.5.0"
cipher = { version = "0.4.4", features = ["block-padding"] }
crc = "3.2.1"
itertools = "0.13.0"
thiserror = "1.0.63"
umc_utils = { path = "../utils" }
[dev-dependencies]
pretty_assertions = "1"
rhexdump = "0.2.0"