This repository contains a masked implementation of Ascon written in Rust.
simpleserial-ascon: Main implementation.ascon: Fork of the original Ascon library with masked functionality added.ascon-aead: Fork of the original Ascon AEAD library with masked functionality added.
-
Install dependencies:
sudo apt update sudo apt install -y build-essential libelf1 curl
-
Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source $HOME/.cargo/env
-
Add target:
rustup target add riscv32imc-unknown-none-elf
-
Set up the Ibex demo system:
Follow the instructions at Ibex Demo System -
Run:
./simpleserial-ascon.sh