]> git.baikalelectronics.ru Git - uboot.git/commit
test/py: ecdsa: Add test for mkimage ECDSA signing
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Fri, 19 Feb 2021 18:45:15 +0000 (12:45 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 14 Apr 2021 19:23:01 +0000 (15:23 -0400)
commit2403e91a80fe3672ef678323917a6fe330aa91c3
tree8e69b5026ef9f4ee0c2595d053a66a0bc4f958d4
parent1850d83472e1c7585ce5b79460ae3180b67092fa
test/py: ecdsa: Add test for mkimage ECDSA signing

Add a test to make sure that the ECDSA signatures generated by
mkimage can be verified successfully. pyCryptodomex was chosen as the
crypto library because it integrates much better with python code.
Using openssl would have been unnecessarily painful.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_fit_ecdsa.py [new file with mode: 0644]