]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Remove direct call to OpenSSL in dpp_test_gen_invalid_key()
authorCedric Izoard <cedric.izoard@ceva-dsp.com>
Mon, 28 Jun 2021 16:25:35 +0000 (18:25 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 27 Oct 2021 20:41:32 +0000 (23:41 +0300)
commit87f2fb88637295195e041fcc4fbf380703888cc0
treece0fa3fd445b6854bd4f4e5f1a15120d105feaab
parentc88b7fcaef7ef76c7c464970b17a9b4c121db136
DPP: Remove direct call to OpenSSL in dpp_test_gen_invalid_key()

Instead of generating EC point with random coordinates, generate a
valid EC point and then corrupt the coordinates after exporting them
in binary format.

Signed-off-by: Cedric Izoard <cedric.izoard@ceva-dsp.com>
src/common/dpp_crypto.c
src/common/dpp_i.h