ycrypto / salty

25519 for Cortex-M4 microcontrollers
https://salty.rs
Apache License 2.0
61 stars 10 forks source link

C-API example: fix runtime issues #6

Closed enrikb closed 3 years ago

enrikb commented 3 years ago

This can now be run like so:

$ make run-example
# Get out via Ctrl-A X in case QEMU does not return
qemu-system-arm -cpu cortex-m33 -machine musca-b1 -nographic \
  -semihosting-config enable=on,target=native -kernel example/example.elf
signature generated, verify returns: 3
make: *** [Makefile:25: run-example] Error 3

(The original finding from #4 has intentionally not been fixed, to show the testing possibility like above. Otherwise, this fixes #4.)

nickray commented 3 years ago

This is so cool, I'm terribly thankful :)