s390x: fix ecx derive
authorJuergen Christ <jchrist@linux.ibm.com>
Wed, 7 Sep 2022 13:01:17 +0000 (15:01 +0200)
committerHugo Landau <hlandau@openssl.org>
Fri, 9 Sep 2022 12:04:45 +0000 (13:04 +0100)
commited37a881f450a07520084f4cd8bfaed294d31141
tree9667757daf435f1387d7cda943b218cc808c02b7
parentb4934a9533a1cf290f7f967edf5cfc028967778d
s390x: fix ecx derive

Derivation via ecx-methods did not properly set the length.  Make the code
more similar to common code and set the length property.

Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19158)

(cherry picked from commit 3cca05cc194c0528865deea57d9e60ca3fb0e5d3)
crypto/ec/ecx_meth.c