From 0ca8c2005661fd7a4041ac7a800a9e326a576dfe Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 20 Jun 2018 15:58:35 -0400 Subject: Remove build time toggle for ECC coordinate masking This is not a decision we should leave to end users. And always use a random mask equal in size to the underlying field. It was never quite clear if 80 bits was sufficient or not. But taking a random field element is clearly the best possible situation, and has very little additional cost. --- src/build-data/buildh.in | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/build-data') diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in index ef58078b5..f34cf26a3 100644 --- a/src/build-data/buildh.in +++ b/src/build-data/buildh.in @@ -135,13 +135,6 @@ */ #define BOTAN_USE_VOLATILE_MEMSET_FOR_ZERO 1 -/* -* Set number of bits used to generate mask for blinding the -* representation of an ECC point. Set to zero to disable this -* side-channel countermeasure. -*/ -#define BOTAN_POINTGFP_RANDOMIZE_BLINDING_BITS 80 - /* * Normally blinding is performed by choosing a random starting point (plus * its inverse, of a form appropriate to the algorithm being blinded), and -- cgit v1.2.3