]> git.codecow.com Git - Monocypher.git/commitdiff
intro: Be more accurate about constant-time multiplication
authorFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Thu, 5 Dec 2019 08:09:01 +0000 (09:09 +0100)
committerFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Thu, 5 Dec 2019 08:09:01 +0000 (09:09 +0100)
Information obtained via https://bearssl.org/cmul.html

Considering the interest in Monocypher on embedded platforms,
some ARM Cortex-M CPUs lacking constant-time multiplication needs
special emphasis.

doc/man/man3/intro.3monocypher

index 0cf437bbfd40f293dcd73f0151f5e22dd130c8fb..2ec0c697017043da4df673d41faaebc99451fe5f 100644 (file)
@@ -201,8 +201,12 @@ destroy all security.
 .Pp
 The Poly1305 authenticator, X25519, and EdDSA use multiplication.
 Some older processors do not multiply in constant time.
-If the target platform is something other than x86, x86_64, ARM or
-ARM64, double check how it handles multiplication.
+If the target platform is something other than Intel or AMD x86_64,
+double check how it handles multiplication.
+In particular,
+.Em ARM Cortex-M CPUs may lack constant-time multiplication .
+Some VIA Nano x86 and x86_64 CPUs may lack constant-time multiplication
+as well.
 .Ss Data compression
 Encryption does not hide the length of the input plaintext.
 Most compression algorithms work by using fewer bytes to encode