[PATCH V2 4/4] pytest: aes: add test for aes192 and aes256

Simon Glass sjg at chromium.org
Tue Dec 10 16:18:18 CET 2019


Hi Philippe,

On Thu, 31 Oct 2019 at 07:33, Philippe REYNES
<philippe.reynes at softathome.com> wrote:
>
> Hi Simonn
>
> > Hi Philippe,
> >
> > On Tue, 29 Oct 2019 at 11:29, Philippe Reynes
> > <philippe.reynes at softathome.com> wrote:
> >>
> >> This commit update the aes tests to check the
> >> aes192 and aes256.
> >>
> >> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> >> ---
> >> test/py/tests/test_aes.py | 118 +++++++++++++++++++++++++++++++++++-----------
> >> 1 file changed, 91 insertions(+), 27 deletions(-)
> >
> > Any way we could write these tests in C?
>
> I'm not sure to understand. Do you mean
> - write this code in C and then call it from python (in pytest) ?
> - write this test in C to implement a ut command (like UT_TIME) ?

I think I mean both. Write the test in C as a 'ut ae' command, for
example, then call it from a pytest. It should be much faster.

Regards,
Simon


More information about the U-Boot mailing list