From 139f9d33be947b221755074f2fee615fded3bb04 Mon Sep 17 00:00:00 2001 From: Fabio Scotoni <34964387+fscoto@users.noreply.github.com> Date: Tue, 31 Mar 2020 14:08:19 +0200 Subject: [PATCH] crypto_sign_init_first_pass: Swap emphasis 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 | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/doc/man/man3/crypto_sign_init_first_pass.3monocypher b/doc/man/man3/crypto_sign_init_first_pass.3monocypher index 7f8b1ac..de6310e 100644 --- a/doc/man/man3/crypto_sign_init_first_pass.3monocypher +++ b/doc/man/man3/crypto_sign_init_first_pass.3monocypher @@ -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 .\" .\" -.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 . -- 2.47.3