From: Alexandru Gagniuc Date: Fri, 19 Feb 2021 18:45:20 +0000 (-0600) Subject: test/py: ecdsa: Use mkimage keyfile instead of keydir argument X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=78015263b9789ef12fa6e454cf5041f97ce40da4;p=u-boot.git test/py: ecdsa: Use mkimage keyfile instead of keydir argument Originally, the ECDSA code path used 'keydir' as the key filename. mkimage has since been updated to include a new 'keyfile' argument. Use the new argument for passing in the key. Signed-off-by: Alexandru Gagniuc Reviewed-by: Simon Glass --- diff --git a/test/py/tests/test_fit_ecdsa.py b/test/py/tests/test_fit_ecdsa.py index f597570281..87b6081222 100644 --- a/test/py/tests/test_fit_ecdsa.py +++ b/test/py/tests/test_fit_ecdsa.py @@ -52,7 +52,7 @@ class SignableFitImage(object): self.__fdt_set(f'{image}/signature', algo='sha256,ecdsa256') def sign(self, mkimage, key_file): - util.run_and_log(self.cons, [mkimage, '-F', self.fit, f'-k{key_file}']) + util.run_and_log(self.cons, [mkimage, '-F', self.fit, f'-G{key_file}']) def check_signatures(self, key): for image in self.signable_nodes: