[PATCH v3 6/6] test/py: ecdsa: Add test for mkimage ECDSA signing
sjg at chromium.org
Wed Jan 13 17:10:29 CET 2021
On Thu, 7 Jan 2021 at 15:34, Alexandru Gagniuc <mr.nuke.me at gmail.com> wrote:
> 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 at gmail.com>
> test/py/tests/test_fit_ecdsa.py | 111 ++++++++++++++++++++++++++++++++
> 1 file changed, 111 insertions(+)
> create mode 100644 test/py/tests/test_fit_ecdsa.py
This is fine for now, but I think it will need to be integrated with
the existing test somehow once you have the runtime side working.
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot