Skip to content

cryspen/libcrux-iot

Folders and files

NameName
Last commit message
Last commit date
Nov 6, 2024
Oct 31, 2024
Jan 9, 2025
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Nov 6, 2024
Jan 9, 2025
Jan 9, 2025
Oct 15, 2024
Sep 2, 2024
Nov 6, 2024
Nov 6, 2024
Oct 8, 2024

Repository files navigation

libcrux-iot

An IoT friendly, formally verified, crypto library based on libcrux.

The libcrux-nrf*/nucleo-l4r5zi crates are based on the app template found at [https://github.com/knurling-rs/app-template].

Dependencies

1. flip-link:

$ cargo install flip-link

2. Install the target resp. toolchain

You need the following target toolchains installed, by board:

Board Target toolchain
nRF52810 thumbv7em-none-eabi
nRF52832 thumbv7em-none-eabihf
nRF52840 thumbv7em-none-eabihf
nRF52340 thumbv8m.main-none-eabihf
nucleo-L4R5ZI thumbv7em-none-eabihf

3. probe-rs:

$ # make sure to install v0.2.0 or later
$ cargo install probe-rs --features cli

Running Benchmarks

With the device attached, run

$ cargo rrb mlkem

for a crude benchmark of ML-KEM 1024 and

$ cargo rrb mldsa

for a crude benchmark of ML-DSA 87.

Other parameter sets are available behind mldsa44/65 and mlkem512/768 features.