Extend the test of BN_GF2m_mod_inv
authorMatt Caswell <matt@openssl.org>
Wed, 6 Dec 2023 11:19:24 +0000 (11:19 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 12 Dec 2023 16:11:52 +0000 (16:11 +0000)
commit601be4b60eb3d525b77306ce54ba30e88aadf7e5
treec104e8e566358053fe084190718700e45ae5b50d
parentbde822724fa50dfd636414b2830710c16dbfe037
Extend the test of BN_GF2m_mod_inv

Test that input value of 1 for p is treated as an error

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/22960)

(cherry picked from commit b83c719ecb884f609ade7ad7f52bd5e09737585b)
test/bntest.c