From 544a0368fc0bcf3d5ab750bcef6155682b9be5f3 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 22 Dec 2025 16:18:21 +0800 Subject: [PATCH] setup the security dependency to pull in sigcheck in crates that use it --- apps-baosec/vault2/Cargo.toml | 2 ++ bao1x-boot/boot0/Cargo.toml | 1 + bao1x-boot/boot1/Cargo.toml | 1 + baremetal/Cargo.toml | 1 + loader/Cargo.toml | 2 ++ 5 files changed, 7 insertions(+) diff --git a/apps-baosec/vault2/Cargo.toml b/apps-baosec/vault2/Cargo.toml index dde095ffc..5c3872317 100644 --- a/apps-baosec/vault2/Cargo.toml +++ b/apps-baosec/vault2/Cargo.toml @@ -68,6 +68,7 @@ enum-iterator = "0.6.0" board-baosec = [ "bao1x-hal-service", "ux-api/board-baosec", + "ux-api/bip39entry", "blitstr2/board-baosec", "usb-bao1x/board-baosec", "persistent_store/board-baosec", @@ -75,6 +76,7 @@ board-baosec = [ ] hosted-baosec = [ "bao1x-emu", + "ux-api/bip39entry", "ux-api/hosted-baosec", "usb-bao1x/hosted-baosec", "ctap-crypto/hosted-baosec", diff --git a/bao1x-boot/boot0/Cargo.toml b/bao1x-boot/boot0/Cargo.toml index 3568b3a71..8cbf48c64 100644 --- a/bao1x-boot/boot0/Cargo.toml +++ b/bao1x-boot/boot0/Cargo.toml @@ -24,6 +24,7 @@ bao1x = [ "utralib/bao1x", "linked_list_allocator", "bao1x-hal/loader-baosec", + "bao1x-hal/security", "bao1x-api", # "bao1x-hal/debug-print-duart", ] diff --git a/bao1x-boot/boot1/Cargo.toml b/bao1x-boot/boot1/Cargo.toml index 6547ba5f7..b0453ba65 100644 --- a/bao1x-boot/boot1/Cargo.toml +++ b/bao1x-boot/boot1/Cargo.toml @@ -34,6 +34,7 @@ bao1x = [ "utralib/bao1x", "linked_list_allocator", "bao1x-hal/loader-baosec", + "bao1x-hal/security", # "bao1x-hal/debug-print-duart", "bao1x-api", # needed for the boot logo diff --git a/baremetal/Cargo.toml b/baremetal/Cargo.toml index 675e188d4..c474c6408 100644 --- a/baremetal/Cargo.toml +++ b/baremetal/Cargo.toml @@ -43,6 +43,7 @@ bao1x = [ "utralib/bao1x", "linked_list_allocator", "bao1x-hal/debug-print-uart", + "bao1x-hal/security", "bao1x-api", "digest", "sha2-bao1x", diff --git a/loader/Cargo.toml b/loader/Cargo.toml index 15c09e55c..e62792238 100644 --- a/loader/Cargo.toml +++ b/loader/Cargo.toml @@ -106,12 +106,14 @@ board-baosec = [ "digest", "ux-api/loader-baosec", "aes/loader-baosec", + "bao1x-hal/security", ] board-baosor = ["bao1x-hal/loader-baosor"] board-dabao = [ "bao1x-hal/loader-dabao", "bao1x-hal/board-dabao", "aes/loader-dabao", + "bao1x-hal/security", ] atsama5d27 = ["utralib/atsama5d27", "armv7", "dep:atsama5d27"]