diff options
| author | Gerhard de Clercq <[email protected]> | 2025-04-15 20:16:09 +0200 |
|---|---|---|
| committer | Gerhard de Clercq <[email protected]> | 2025-05-23 12:40:19 +0200 |
| commit | 68a45490fc1675f2171131ccbf01f690c4123f01 (patch) | |
| tree | 42606d9fa51bf50e6d7d84623123616600a70cce /embassy-usb-dfu/Cargo.toml | |
| parent | f7405493c184ce453ac3f7ba97f7f2689f978194 (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.toml | 5 |
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 } | |||
| 43 | dfu = [] | 43 | dfu = [] |
| 44 | application = [] | 44 | application = [] |
| 45 | defmt = ["dep:defmt", "embassy-boot/defmt", "embassy-usb/defmt"] | 45 | defmt = ["dep:defmt", "embassy-boot/defmt", "embassy-usb/defmt"] |
| 46 | ed25519-dalek = ["embassy-boot/ed25519-dalek", "_verify"] | ||
| 47 | ed25519-salty = ["embassy-boot/ed25519-salty", "_verify"] | ||
| 48 | |||
| 49 | # Internal features | ||
| 50 | _verify = [] | ||
