fips205-source/ffi/README.md

19 lines
414 B
Markdown
Raw Normal View History

2024-03-14 18:35:26 +00:00
FIPS 205 FFI
Thank you to Daniel Kahn Gillmor <dkg@fifthhorseman.net> for the FIPS 203 example.
2024-03-15 15:17:14 +00:00
This is a work in progress, and currently only implements `slh_dsa_sha2_128f` until A) more
testing has been developed, B) better integration with build flow.
2024-03-14 18:35:26 +00:00
~~~
2024-03-15 15:17:14 +00:00
To generate the C bindings...
2024-03-14 18:35:26 +00:00
$ cd ffi # here
$ cargo build
$ cd tests
$ make
2024-03-15 15:17:14 +00:00
For Python (after generating the bindings)
$ python3 fips205.py
2024-03-14 18:35:26 +00:00
~~~