]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix ECDSA signature generation
authorJouni Malinen <j@w1.fi>
Sun, 17 Mar 2019 14:53:05 +0000 (16:53 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 17 Mar 2019 14:53:05 +0000 (16:53 +0200)
commit421d658a6734adf72eb00de7ab4c66a6aa5baeb8
tree8460155d781306c36e993de35bb724fa7b996151
parent3a88b7e6e9ab8e48f8f8d4bdf00c592d4aae5d75
tests: Fix ECDSA signature generation

Parsing of the DER encoded signature was unable to handle results that
were shorter than the prime. These need to be zero padded from left to
generate the correct value.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_dpp.py