https://github.com/daleksla/present
Implementations of the PRESENT algorithm for a Rasberry Pi PICO
https://github.com/daleksla/present
c11 cmake cryptography rasberry-pi-pico
Last synced: about 1 year ago
JSON representation
Implementations of the PRESENT algorithm for a Rasberry Pi PICO
- Host: GitHub
- URL: https://github.com/daleksla/present
- Owner: daleksla
- Created: 2023-04-25T11:51:50.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-28T14:13:16.000Z (about 3 years ago)
- Last Synced: 2025-03-12T23:15:20.924Z (over 1 year ago)
- Topics: c11, cmake, cryptography, rasberry-pi-pico
- Language: C
- Homepage:
- Size: 241 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PRESENT
## README
Implementations of the PRESENT algorithm for a Rasberry Pi PICO
### Summary
Two implementations of the PRESENT algorithm located in the `src/` directory - one reference implementation (`present_ref/crypto.*`) and another utilising (32-fold) bitslicing (`present_bs/crypto.*`).
Testing script, for both, is available against specific test vectors.
Note: this was developed as a team as part of University coursework. This is designed to pass a series of provided tests, not to be used in production. Code was inspired & adapted in part from lecture contents and other sources. I am hosting this here for fun (aka as a cheap backup and to showcase work)
### Building
Run `build.sh`
### Using
Flash the appropriate `.uf2` from the `build/` directory onto your PICO and use the appropriate `test_against_testvectors.py` scripts, supplying the serial port to the PICO.
---
No license, notion of exclusive ownership is indicated or to be inferred whatsoever