crypto: dh - Check mpi_rshift errors
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 10 Aug 2024 06:20:59 +0000 (14:20 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 17 Aug 2024 05:55:50 +0000 (13:55 +0800)
commit560efa7fca4f4f5bd390e54d43cd2cd1831c60cd
treec43b63927176754a74c8631b5192d6c3cb46c0e7
parent8e3a67f2de87ee94ac11ea69beb4edc2993b17a0
crypto: dh - Check mpi_rshift errors

Now that mpi_rshift can return errors, check them.

Fixes: 35d2bf20683f ("crypto: dh - calculate Q from P for the full public key verification")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/dh.c