From 46cda485bce60894d3128dcd42831a8c6cc7bcb4 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 25 Sep 2014 15:03:55 -0400 Subject: Comments and tweaks based on review by asn Add some documentation Rename "derive" -> "blind" Check for failure on randombytes(). --- src/ext/ed25519/ref10/ed25519_ref10.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ext/ed25519/ref10/ed25519_ref10.h') diff --git a/src/ext/ed25519/ref10/ed25519_ref10.h b/src/ext/ed25519/ref10/ed25519_ref10.h index f4a76e621c..8c77b0e56b 100644 --- a/src/ext/ed25519/ref10/ed25519_ref10.h +++ b/src/ext/ed25519/ref10/ed25519_ref10.h @@ -20,10 +20,10 @@ int ed25519_ref10_sign( int ed25519_ref10_pubkey_from_curve25519_pubkey(unsigned char *out, const unsigned char *inp, int signbit); -int ed25519_ref10_derive_secret_key(unsigned char *out, +int ed25519_ref10_blind_secret_key(unsigned char *out, const unsigned char *inp, const unsigned char *param); -int ed25519_ref10_derive_public_key(unsigned char *out, +int ed25519_ref10_blind_public_key(unsigned char *out, const unsigned char *inp, const unsigned char *param); -- cgit v1.2.3-54-g00ecf