summaryrefslogtreecommitdiff
path: root/hbbp_keygen.c
AgeCommit message (Collapse)Author
2012-05-21hbbp_keygen: add own implementation of randombytesJan Huwald
Nacl requires an implementation of randombytes. The version offered by nacl has a strange behaviour (e.g. indefinite blocking in case /dev/urandom is unavailable) and is hard to portably link (.o file in some lib directory). It is thus replaced with an own implementation (that does proper error handling by the way).
2012-05-21add key generatorJan Huwald
hbbp_keygen generates all four keys private, public for sender and receiver with the file names used in hbbp[cd] in the current working directory.
contact: Jan Huwald // Impressum