[openssl-dev] Issue #616 on Github | ec_mult.c | ec_wNAF_mul()

Nicholas Prowse nick5990 at yahoo.co.uk
Thu Mar 3 19:13:02 UTC 2016

Requesting input from people that have worked on the ec_mult.c file in the past.
Issue on Github:https://github.com/openssl/openssl/issues/616
We would like to know the purpose of the dead code in question in the ec_wNAF_mul() function below (starts around line 323 of the file):
if (tmp_len <= max_len) {
             * One of the other wNAFs is at least as long as the wNAF
             * belonging to the generator, so wNAF splitting will not buy
             * us anything.

            numblocks = 1;
            totalnum = num + 1; /* don't use wNAF splitting */
            wNAF[num] = tmp_wNAF;
            wNAF[num + 1] = NULL;
            wNAF_len[num] = tmp_len;
            if (tmp_len > max_len)  max_len = tmp_len;
Sent from Yahoo Mail on Android
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20160303/ac3d0511/attachment-0001.html>

More information about the openssl-dev mailing list