Tony Arcieri 53d3b5969e Add crypto_sign_publickey() API
This adds a new API crypto_sign_publickey, which works similarly to the
existing crypto_sign_keypair() API, but supports a 32-byte
user-specified seed value (k).

This API is necessary for implementing Ed25519 test vectors, for
example, since we need to pass in a known seed to ensure we're
computing the public key correctly.

The name and implementation are largely borrowed from Brian Warner's
python-ed25519 library. See:

https://github.com/warner/python-ed25519/blob/d42d4b7049baf323e7113359f4f6bf88703543bc/src/ed25519.c#L21

That said, perhaps a different name would be more descriptive, since it
still returns a keypair, not just the public key? Or perhaps that's
needless bikeshedding since this name is already in use.
2013-01-26 13:12:10 -08:00
2013-01-21 20:37:53 -08:00
2013-01-26 13:12:10 -08:00
2013-01-21 12:46:40 -08:00
2013-01-20 16:06:49 -08:00
2013-01-21 18:52:51 -08:00
2013-01-21 19:58:38 -08:00
2013-01-21 20:50:50 -08:00
2013-01-21 19:55:24 -08:00
2013-01-21 19:55:24 -08:00
2013-01-21 19:58:38 -08:00
2013-01-19 16:02:02 -08:00
2013-01-21 19:55:24 -08:00
S
Description
No description provided
Readme ISC
16 MiB
Languages
C 93%
Shell 1.8%
M4 1.5%
Zig 1.3%
Assembly 1.1%
Other 1.2%