s390x assembly pack: fix x448 handling of non-canonical values
authorPatrick Steuer <patrick.steuer@de.ibm.com>
Sat, 2 Nov 2019 22:50:26 +0000 (23:50 +0100)
committerPatrick Steuer <patrick.steuer@de.ibm.com>
Tue, 5 Nov 2019 12:51:41 +0000 (13:51 +0100)
commit58738b1cad8777230226009a6bb4efa3def22216
tree3acebab14b51ceabf74cfdfea014b020066e5a6b
parent826112295ae94e5b15fe5073cfdf4cff6d79503b
s390x assembly pack: fix x448 handling of non-canonical values

The s390x x448 implementation does not correctly reduce non-canonical
values i.e., u-coordinates >= p = 2^448 - 2^224 - 1.

Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10339)
crypto/ec/ecx_meth.c