Add ellswift usage example

This should hopefully be useful as orientation for users implementing
the key exchange part of BIP324. Conceptually the example is not very
different to the ECDH one, so a lot of code/comments are just copied
(e.g. context creation, secret key generation, shared secret comparison,
console output, cleanup with secret key clearing).
This commit is contained in:
Sebastian Falbesoner
2024-06-25 03:11:21 +02:00
parent fe4fbaa7f3
commit 31f84595c4
6 changed files with 143 additions and 0 deletions

1
.gitignore vendored
View File

@@ -10,6 +10,7 @@ ctime_tests
ecdh_example
ecdsa_example
schnorr_example
ellswift_example
*.exe
*.so
*.a