Skip to content

Commit b514aff

Browse files
committed
Reduce dependencies
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
1 parent aa0f82d commit b514aff

7 files changed

Lines changed: 44 additions & 164 deletions

File tree

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ emulator: setup devtools
8282
wget https://download.qemu.org/qemu-$(QEMU_VERSION).tar.xz; \
8383
tar xJf qemu-$(QEMU_VERSION).tar.xz; \
8484
mv qemu-$(QEMU_VERSION)/* $(QEMU_SOURCE_DIR)/; \
85-
./configure --prefix=$(QEMU_WORK_DIR) --enable-slirp --enable-kvm --target-list=riscv64-softmmu,riscv64-linux-user; \
85+
./configure --prefix=$(QEMU_WORK_DIR) --enable-slirp --enable-kvm --target-list=riscv64-softmmu; \
8686
PATH="$(RISCV_GNU_TOOLCHAIN_WORK_DIR)/bin:$(PATH)" $(MAKE) -C $(QEMU_SOURCE_DIR) >/dev/null; \
8787
PATH="$(RISCV_GNU_TOOLCHAIN_WORK_DIR)/bin:$(PATH)" $(MAKE) -C $(QEMU_SOURCE_DIR) install; \
8888
fi

‎security-monitor/Cargo.lock‎

Lines changed: 7 additions & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎security-monitor/Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "security-monitor"
33
version = "0.4.0"
44
authors = ["Wojciech Ozga <woz@zurich.ibm.com>"]
5-
description = "Assured Confidential Execution (ACE): security monitor implementation targetting RISC-V"
5+
description = "Assured Confidential Execution (ACE): TEE Security Manager (TSM) implementation targetting RISC-V CoVE"
66
edition = "2024"
77

88
[dependencies]
@@ -22,7 +22,7 @@ opensbi-sys = {path = "rust-crates/opensbi-sys"}
2222
pointers_utility = {path = "rust-crates/pointers_utility"}
2323

2424
# This crate decodes RISC-V instructions unfortunately it does not support the C-instructions yet
25-
riscv-decode = "0.2"
25+
riscv-decode = {version = "0.2", default-features=false }
2626

2727
# The `spin` crate provides synchronization primitives (Mutexes etc) using spinlocks
2828
spin = {version="0.12", default-features = false, features = ["once", "rwlock", "spin_mutex"]}

‎security-monitor/rust-crates/opensbi-sys/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ build = "build.rs"
77
edition = "2024"
88

99
[build-dependencies]
10-
bindgen = "0.73"
10+
bindgen = {version="0.73", default-features=false}

‎security-monitor/rust-crates/riscv_cove_tap/Cargo.toml‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22
name = "riscv_cove_tap"
33
version = "0.2.0"
44
authors = ["Wojciech Ozga <woz@zurich.ibm.com>"]
5-
description = "Library to parse the RISC-V CoVE's TEE attestation payload"
5+
description = "Library to parse the RISC-V CoVE's TEE attestation payload (TAP)"
66
edition = "2024"
77

88
[dependencies]
9-
rand = {version = "0.10", optional=true}
9+
rand = {version = "0.10", default-features=false, optional=true, features=["thread_rng"] }
1010

11-
hybrid-array = "0.2.3"
11+
hybrid-array = {version = "0.4", default-features=false }
1212
ml-kem = {version = "0.3.2", default-features=false, features = [] }
1313

1414
# for symmetric encryption of payload
15-
aes-gcm = {version="0.11.1", default-features = false, features=["aes", "alloc", "rand_core"]}
16-
generic-array = "1"
15+
aes-gcm = {version="0.11", default-features = false, features=["aes", "alloc", "rand_core"]}
1716

1817
# provides macros that help removing boilerplate code in rust error handling
1918
thiserror-no-std = "2.0"

0 commit comments

Comments
 (0)