Commit Graph

7 Commits

Author SHA1 Message Date
Sebastian Falbesoner
965393fcea examples: use EXIT_... constants for main return values
Fixes issue #1609.
2025-02-14 13:43:10 +01:00
Jonas Nick
5bab8f6d3c examples: make key generation doc consistent 2024-10-14 13:24:34 +00:00
cheapshot003
cd4f84f3ba Improve examples/documentation: remove key generation loops
Co-Authored by: Sebastian Falbesoner <sebastian.falbesoner@gmail.com>
2024-10-09 16:24:38 +03:00
Sebastian Falbesoner
fe4fbaa7f3 examples: fix case typos in secret clearing paragraphs (s/, Or/, or/) 2024-06-25 17:11:07 +02:00
Harshil Jani
5660c13755 prevent optimization in algorithms
Signed-off-by: Harshil Jani <harshiljani2002@gmail.com>

Add secure_erase function to clear secrets

Signed-off-by: Harshil Jani <harshiljani2002@gmail.com>

Update the function with good practices

Signed-off-by: Harshil Jani <harshiljani2002@gmail.com>

Renaming random.h to examples_util.h

Signed-off-by: Harshil Jani <harshiljani2002@gmail.com>
2023-03-02 15:36:41 +05:30
Tim Ruffing
4386a2306c examples: Switch to NONE contexts 2022-12-05 11:26:44 +01:00
Elichai Turkel
422a7cc86a Add a ecdh shared secret example
Co-authored-by: Jonas Nick <jonasd.nick@gmail.com>
2022-02-23 16:14:57 +02:00