]> git.codecow.com Git - Monocypher.git/commitdiff
crypto_sign_init_first_pass: Swap emphasis
authorFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Tue, 31 Mar 2020 12:08:19 +0000 (14:08 +0200)
committerFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Tue, 31 Mar 2020 12:08:19 +0000 (14:08 +0200)
The original emphasis, when skimmed, made the message read that the
first pass *causes* loss of all security, which is the opposite of what
we want to emphasize.

Also bump authorship notice years while there and mdoc date that we
forgot to bump when we introduced the power-analysis and glitching
example.

doc/man/man3/crypto_sign_init_first_pass.3monocypher

index 7f8b1ac3094c4688d39c96f158d3354eb3c27e19..de6310e1a05a66b3dee1b746a856b2cbede6c90b 100644 (file)
@@ -10,7 +10,7 @@
 .\"
 .\" Copyright (c) 2017-2019 Loup Vaillant
 .\" Copyright (c) 2017-2018 Michael Savage
-.\" Copyright (c) 2017, 2019 Fabio Scotoni
+.\" Copyright (c) 2017, 2019-2020 Fabio Scotoni
 .\" All rights reserved.
 .\"
 .\"
@@ -40,7 +40,7 @@
 .\"
 .\" ----------------------------------------------------------------------------
 .\"
-.\" Written in 2017-2019 by Loup Vaillant, Michael Savage and Fabio Scotoni
+.\" Written in 2017-2020 by Loup Vaillant, Michael Savage and Fabio Scotoni
 .\"
 .\" To the extent possible under law, the author(s) have dedicated all copyright
 .\" and related neighboring rights to this software to the public domain
@@ -50,7 +50,7 @@
 .\" with this software.  If not, see
 .\" <https://creativecommons.org/publicdomain/zero/1.0/>
 .\"
-.Dd December 12, 2019
+.Dd March 31, 2020
 .Dt CRYPTO_SIGN_INIT_FIRST_PASS 3MONOCYPHER
 .Os
 .Sh NAME
@@ -130,14 +130,12 @@ This recomputation doubles the execution time for short messages.
 .It
 The first pass proper, with
 .Fn crypto_sign_update .
+.Sy Under no circumstances must you forget the first pass :
 Forgetting to call
 .Fn crypto_sign_update
 will appear to work in that it produces valid signatures,
 but also
-.Sy loses all security because attackers may now recover the secret key .
-Under
-.Em no
-circumstances must you forget the first pass.
+loses all security because attackers may now recover the secret key.
 .It
 Initialisation of the second pass with
 .Fn crypto_sign_init_second_pass .