X-Git-Url: https://bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=src%2Fconfig.h;h=5de3a5acf16611a602de0db7918afd1e795e7f38;hp=e7a440e968646cdf547ff85983d8ac90162ab78c;hb=2f9c953af45299f8546df8984d5262e767a7d943;hpb=6dd8c51ba7e8ca106ede7ff58b5c507042bbf6eb;ds=sidebyside diff --git a/src/config.h b/src/config.h index e7a440e..5de3a5a 100644 --- a/src/config.h +++ b/src/config.h @@ -50,6 +50,15 @@ #define BR_SLOW_MUL 1 */ +/* + * When BR_SLOW_MUL15 is enabled, short multplications (on 15-bit words) + * are assumed to be substantially slow with regards to other integer + * operations, thus making it worth to make more integer operations if + * it allows using less multiplications. + * +#define BR_SLOW_MUL15 1 + */ + /* * When BR_CT_MUL31 is enabled, multiplications of 31-bit values (used * in the "i31" big integer implementation) use an alternate implementation