]> git.dujemihanovic.xyz Git - u-boot.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)
commitf91de329abb6f3a247758354bccb172070ccc4ac
tree8e69b5026ef9f4ee0c2595d053a66a0bc4f958d4
parenta4515f0ff775fb5e1ba35cc86b1b2c4e9caf6a99
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]