2021-06-03 16:49:34 +00:00
|
|
|
[package]
|
2021-11-06 21:17:34 +00:00
|
|
|
name = "aes"
|
2025-09-07 03:50:12 +00:00
|
|
|
version = "0.8.4"
|
2021-06-03 16:49:34 +00:00
|
|
|
authors = ["bunnie <bunnie@kosagi.com>"]
|
|
|
|
|
edition = "2018"
|
|
|
|
|
description = "AES library for Xous"
|
|
|
|
|
|
2022-06-10 13:36:53 +00:00
|
|
|
# Dependency versions enforced by Cargo.lock.
|
2021-06-03 16:49:34 +00:00
|
|
|
[dependencies]
|
2022-05-29 19:06:34 +00:00
|
|
|
cipher = "0.4.2"
|
2024-06-14 11:10:18 +00:00
|
|
|
zeroize = { version = "1.6.0", optional = true, default-features = false }
|
2025-12-01 17:04:17 +00:00
|
|
|
rand_chacha = { version = "0.3.1", optional = true, default-features = false }
|
|
|
|
|
hex = { version = "0.4.3", optional = true, default-features = false, features = [
|
|
|
|
|
"alloc",
|
|
|
|
|
] }
|
2026-01-29 11:12:00 +00:00
|
|
|
utralib = { version = "0.1.27", optional = true, default-features = false }
|
2025-12-01 17:04:17 +00:00
|
|
|
bao1x-hal = { path = "../../libs/bao1x-hal", default-features = false, optional = true }
|
2021-06-03 16:49:34 +00:00
|
|
|
|
2024-08-18 18:24:24 +00:00
|
|
|
[lints.rust.unexpected_cfgs]
|
|
|
|
|
level = "warn"
|
|
|
|
|
check-cfg = ["cfg(aes_compact)", "cfg(aes_force_soft)"]
|
|
|
|
|
|
2021-06-03 16:49:34 +00:00
|
|
|
[features]
|
2025-12-01 18:27:01 +00:00
|
|
|
hazmat = [] # Expose cryptographically hazardous APIs
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x = []
|
2025-07-20 19:10:04 +00:00
|
|
|
vexii-test = []
|
2025-09-07 03:50:12 +00:00
|
|
|
precursor = []
|
|
|
|
|
renode = []
|
2025-12-01 18:27:01 +00:00
|
|
|
chaffing = ["rand_chacha", "hex"]
|
|
|
|
|
loader-baosec = ["utralib/bao1x", "bao1x-hal/loader-baosec"]
|
|
|
|
|
loader-dabao = ["utralib/bao1x", "bao1x-hal/loader-dabao"]
|
2025-09-07 03:50:12 +00:00
|
|
|
default = []
|