diff options
author | Matt Caswell <matt@openssl.org> | 2018-02-07 17:03:14 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-02-20 12:59:31 +0000 |
commit | 909c68ae7253a718993cf9d89412e4c9b403eb9b (patch) | |
tree | 9be35905a3fc7e89381a3f2927f373b75f6864a3 /crypto/ec/curve448/scalar.c | |
parent | c1f15b76ef13823ddd1f006ba75128c369eca067 (diff) |
Yet more style updates to the curve448 code
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5105)
Diffstat (limited to 'crypto/ec/curve448/scalar.c')
-rw-r--r-- | crypto/ec/curve448/scalar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/curve448/scalar.c b/crypto/ec/curve448/scalar.c index f899ce2ae6..0f14bc4b98 100644 --- a/crypto/ec/curve448/scalar.c +++ b/crypto/ec/curve448/scalar.c @@ -39,7 +39,7 @@ static const curve448_scalar_t sc_p = { #define WBITS C448_WORD_BITS /* NB this may be different from ARCH_WORD_BITS */ const curve448_scalar_t curve448_scalar_one = {{{1}}}; -const curve448_scalar_t curve448_scalar_zero = {{{0}}}; +const curve448_scalar_t curve448_scalar_zero = {{{0}}}; /* * {extra,accum} - sub +? p @@ -198,7 +198,7 @@ void curve448_scalar_decode_long(curve448_scalar_t s, while (i) { i -= C448_SCALAR_BYTES; sc_montmul(t1, t1, sc_r2); - ignore_result(curve448_scalar_decode(t2, ser + i)); + (void)curve448_scalar_decode(t2, ser + i); curve448_scalar_add(t1, t1, t2); } |