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

Philippe REYNES philippe.reynes at softathome.com
Thu Oct 31 13:33:11 UTC 2019


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) ?

>> 
>> Changelog:
>> v2:
>> - add a really simple commit text
>> - re-write the test with the new version of test for aes128
>> - add a test to check that results of aes128/192/256 are differents
> 
> 
> Regards,
> SImon

Regards,
Philippe


More information about the U-Boot mailing list