bn/asm/sparcv9-mont.pl: fix squaring code path.
authorAndy Polyakov <appro@openssl.org>
Wed, 22 Mar 2017 09:51:25 +0000 (10:51 +0100)
committerAndy Polyakov <appro@openssl.org>
Fri, 24 Mar 2017 11:18:35 +0000 (12:18 +0100)
commit120a9e1a825bd0407639bedb1e8e15823cf7a545
tree03cdc7b50f3551ecea085ddc2fcbd43bbfad74c7
parent3ba4dac67a63c2d2589d46095d989b301cd62650
bn/asm/sparcv9-mont.pl: fix squaring code path.

This module is used only with odd input lengths, i.e. not used in normal
PKI cases, on contemporary processors. The problem was "illuminated" by
fuzzing tests.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bn/asm/sparcv9-mont.pl