]> git.ipfire.org Git - thirdparty/hostap.git/commit
wolfSSL: Fix crypto_bignum_sub()
authorJouni Malinen <jouni@codeaurora.org>
Mon, 14 Oct 2019 16:27:47 +0000 (19:27 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 14 Oct 2019 16:38:41 +0000 (19:38 +0300)
commit1766e608ba1114220f3b3598e77aa53b50c38a6e
tree325c5d391f7ca1633089b49e66b6a69b82af93ab
parent2a1c84f4e5df0a93c9221388f5d0d58def96bb98
wolfSSL: Fix crypto_bignum_sub()

The initial crypto wrapper implementation for wolfSSL seems to have
included a copy-paste error in crypto_bignum_sub() implementation that
was identical to crypto_bignum_add() while mp_sub() should have been
used instead of mp_add().

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/crypto/crypto_wolfssl.c