Skip to content

masked-kyber-m4/mkm4

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

First-Order Masked Kyber on ARM Cortex-M4

This is the repository for the first-order masked Kyber on ARM Cortex-M4 ePrint

Setup/Installation

First setup the same tools (STLink, ARM Toolchain, OpenOCD) as in the pqm4 project with the STM32F4 Discovery board.

# Build the firmware if you haven't already
make clean
make IMPLEMENTATION_PATH=crypto_kem/kyber768/m4 "$target"

Using Visual Studio Code

  • Install the Corte-Debug extension (marus25.cortex-debug).
  • Build the firmware
  • Run the "OpenOCD" debug config

Doing it manually

target="elf/crypto_kem_kyber768_m4_test.elf"

make clean
make IMPLEMENTATION_PATH=crypto_kem/kyber768/m4 "$target"

# In a separate terminal, start openocd using:
openocd --file stm32f4discovery.cfg

# Start GDB
arm-none-eabi-gdb -q -x openocd.gdb "$target"

About

This is the repository for the first-order masked Kyber on ARM Cortex-M4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published