public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Philippe REYNES <philippe.reynes@softathome.com>
To: u-boot@lists.denx.de
Subject: [PATCH V2 4/4] pytest: aes: add test for aes192 and aes256
Date: Mon, 6 Jan 2020 11:51:33 +0100 (CET)	[thread overview]
Message-ID: <743863291.594131.1578307893745.JavaMail.zimbra@softathome.com> (raw)
In-Reply-To: <CAPnjgZ3XPO9g2p_xG_DcsrLWEcWy3r_z+VS91gAJX=yoUY+TFA@mail.gmail.com>



Hi Simon,

> Hi Philippe,
> 
> On Thu, 31 Oct 2019 at 07:33, Philippe REYNES
> <philippe.reynes@softathome.com> wrote:
>> 
>> Hi Simonn
>> 
>> > Hi Philippe,
>> > 
>> > On Tue, 29 Oct 2019 at 11:29, Philippe Reynes
>> > <philippe.reynes@softathome.com> wrote:
>> >> 
>> >> This commit update the aes tests to check the
>> >> aes192 and aes256.
>> >> 
>> >> Signed-off-by: Philippe Reynes <philippe.reynes@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

      reply	other threads:[~2020-01-06 10:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29 17:29 [U-Boot] [PATCH V2 0/4] aes: add support for aes192 and aes256 Philippe Reynes
2019-10-29 17:29 ` [U-Boot] [PATCH V2 1/4] aes: add a define for the size of a block Philippe Reynes
2019-10-30  1:48   ` Simon Glass
2019-10-29 17:29 ` [U-Boot] [PATCH V2 2/4] aes: add support of aes192 and aes256 Philippe Reynes
2019-10-30  1:49   ` Simon Glass
2019-10-29 17:29 ` [U-Boot] [PATCH V2 3/4] tegra20: crypto: update code to use new aes api Philippe Reynes
2019-10-30  1:48   ` Simon Glass
2019-10-29 17:29 ` [U-Boot] [PATCH V2 4/4] pytest: aes: add test for aes192 and aes256 Philippe Reynes
2019-10-30  1:49   ` Simon Glass
2019-10-31 13:33     ` Philippe REYNES
2019-12-10 15:18       ` Simon Glass
2020-01-06 10:51         ` Philippe REYNES [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=743863291.594131.1578307893745.JavaMail.zimbra@softathome.com \
    --to=philippe.reynes@softathome.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox