[PATCH V2 4/4] pytest: aes: add test for aes192 and aes256
Philippe REYNES
philippe.reynes at softathome.com
Mon Jan 6 11:51:33 CET 2020
Hi Simon,
> 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.
Sorry for this late answer, and thanks for the clarification.
I've sent a V3 few weeks ago with a test using ut command.
Then, this test is automaticaly executed in pytest when
runnning ut_subtest.
> Regards,
> Simon
Regards,
Philippe
More information about the U-Boot
mailing list