aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-dfu/Cargo.toml
diff options
context:
space:
mode:
authorGerhard de Clercq <[email protected]>2025-04-15 20:16:09 +0200
committerGerhard de Clercq <[email protected]>2025-05-23 12:40:19 +0200
commit68a45490fc1675f2171131ccbf01f690c4123f01 (patch)
tree42606d9fa51bf50e6d7d84623123616600a70cce /embassy-usb-dfu/Cargo.toml
parentf7405493c184ce453ac3f7ba97f7f2689f978194 (diff)
[embassy-usb-dfu] support ed25519 verification
This commit adds the ability to verify that USB DFU updates are correctly signed using ed25519. This required adding support to embassy-boot for reading from the DFU partition.
Diffstat (limited to 'embassy-usb-dfu/Cargo.toml')
-rw-r--r--embassy-usb-dfu/Cargo.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/embassy-usb-dfu/Cargo.toml b/embassy-usb-dfu/Cargo.toml
index ca108c1a2..8b2467bca 100644
--- a/embassy-usb-dfu/Cargo.toml
+++ b/embassy-usb-dfu/Cargo.toml
@@ -43,3 +43,8 @@ esp32c3-hal = { version = "0.13.0", optional = true, default-features = false }
43dfu = [] 43dfu = []
44application = [] 44application = []
45defmt = ["dep:defmt", "embassy-boot/defmt", "embassy-usb/defmt"] 45defmt = ["dep:defmt", "embassy-boot/defmt", "embassy-usb/defmt"]
46ed25519-dalek = ["embassy-boot/ed25519-dalek", "_verify"]
47ed25519-salty = ["embassy-boot/ed25519-salty", "_verify"]
48
49# Internal features
50_verify = []