Skip to content

Commit bde1a9c

Browse files
committed
compile p256 only for u2f
1 parent c9a3dd8 commit bde1a9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rust/bitbox02-rust-c/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ platform-bitbox02 = []
7373
platform-bitbox02plus = ["util/sha2", "bitbox02-noise", "bitbox02-rust"]
7474

7575
bootloader = []
76-
firmware = ["bitbox02-rust", "bitbox02-rust/firmware", "bitbox02", "bitbox02-noise", "util/sha2", "util/p256", "util/firmware", "der", "bitbox-aes"]
76+
firmware = ["bitbox02-rust", "bitbox02-rust/firmware", "bitbox02", "bitbox02-noise", "util/sha2", "util/firmware", "der", "bitbox-aes"]
7777

7878
# Only to be enabled in Rust unit tests.
7979
testing = ["bitbox02-rust/testing", "bitbox02/testing"]
@@ -100,6 +100,7 @@ app-litecoin = [
100100
app-u2f = [
101101
# enable this feature in the deps
102102
"bitbox02-rust/app-u2f",
103+
"util/p256",
103104
]
104105

105106
app-cardano = [

0 commit comments

Comments
 (0)