summaryrefslogtreecommitdiff
path: root/crypto/ec/curve448/ed448.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-02-07 11:47:41 +0000
committerMatt Caswell <matt@openssl.org>2018-02-20 12:59:31 +0000
commit53ef3252fa3f7008feaf5696d24a05bef0efa676 (patch)
treeb9e461eb119c9eb5862959838dbb16dff77247dc /crypto/ec/curve448/ed448.h
parent9fd3c858b4ceea7ff0b176c7c0a2438475898598 (diff)
downloadopenssl-new-53ef3252fa3f7008feaf5696d24a05bef0efa676.tar.gz
More style fixes for the curve448 code
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/5105)
Diffstat (limited to 'crypto/ec/curve448/ed448.h')
-rw-r--r--crypto/ec/curve448/ed448.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/crypto/ec/curve448/ed448.h b/crypto/ec/curve448/ed448.h
index 87c1aed1eb..5fe939e8e1 100644
--- a/crypto/ec/curve448/ed448.h
+++ b/crypto/ec/curve448/ed448.h
@@ -56,8 +56,7 @@ c448_error_t c448_ed448_derive_public_key(
*
* For Ed25519, it is unsafe to use the same key for both prehashed and
* non-prehashed messages, at least without some very careful protocol-level
- * disambiguation. For Ed448 it is safe. The C++ wrapper is designed to make
- * it harder to screw this up, but this C code gives you no seat belt.
+ * disambiguation. For Ed448 it is safe.
*/
c448_error_t c448_ed448_sign(
uint8_t signature[EDDSA_448_SIGNATURE_BYTES],
@@ -81,8 +80,7 @@ c448_error_t c448_ed448_sign(
*
* For Ed25519, it is unsafe to use the same key for both prehashed and
* non-prehashed messages, at least without some very careful protocol-level
- * disambiguation. For Ed448 it is safe. The C++ wrapper is designed to make
- * it harder to screw this up, but this C code gives you no seat belt.
+ * disambiguation. For Ed448 it is safe.
*/
c448_error_t c448_ed448_sign_prehash(
uint8_t signature[EDDSA_448_SIGNATURE_BYTES],
@@ -133,8 +131,7 @@ c448_error_t c448_ed448_verify(const uint8_t
*
* For Ed25519, it is unsafe to use the same key for both prehashed and
* non-prehashed messages, at least without some very careful protocol-level
- * disambiguation. For Ed448 it is safe. The C++ wrapper is designed to make
- * it harder to screw this up, but this C code gives you no seat belt.
+ * disambiguation. For Ed448 it is safe.
*/
c448_error_t c448_ed448_verify_prehash(
const uint8_t signature[EDDSA_448_SIGNATURE_BYTES],