All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Horia Geantă" <horia.geanta@freescale.com>
To: Vakul Garg <vakul@freescale.com>
Cc: <linux-crypto@vger.kernel.org>,
	Kim Phillips <kim.phillips@freescale.com>
Subject: Re: [PATCH] crypto: testmgr - add aead cbc des, des3_ede tests.
Date: Wed, 27 Feb 2013 18:08:02 +0200	[thread overview]
Message-ID: <512E2F62.8090609@freescale.com> (raw)
In-Reply-To: <1357715865-10357-1-git-send-email-vakul@freescale.com>

On 1/9/2013 9:17 AM, Vakul Garg wrote:
> Test vectors were taken from existing test for CBC(DES3_EDE).
> Associated data has been added to test vectors.
> HMAC computed with Crypto++ has been used.
> Following algos have been covered.
>
> 	(a) "authenc(hmac(sha1),cbc(des))"
> 	(b) "authenc(hmac(sha1),cbc(des3_ede))"
> 	(c) "authenc(hmac(sha224),cbc(des))"
> 	(d) "authenc(hmac(sha224),cbc(des3_ede))"
> 	(e) "authenc(hmac(sha256),cbc(des))"
> 	(f) "authenc(hmac(sha256),cbc(des3_ede))"
> 	(g) "authenc(hmac(sha384),cbc(des))"
> 	(h) "authenc(hmac(sha384),cbc(des3_ede))"
> 	(i) "authenc(hmac(sha512),cbc(des))"
> 	(j) "authenc(hmac(sha512),cbc(des3_ede))"
>
> Signed-off-by: Vakul Garg <vakul@freescale.com>
> ---
>   crypto/testmgr.c |  120 ++++++++++
>   crypto/testmgr.h |  647 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>   2 files changed, 767 insertions(+), 0 deletions(-)

A good idea would be to cross-check by verifying that both caam and 
talitos pass these builtin tests, if you haven't done so already.
If you have other platforms at hand, the more the better.

Some time ago I wanted to add support for cbc(des), but Kim argued it 
ain't worth the effort due to low interest in des algo. But since you 
already did the work and submitted the patch, I guess it's fine.

Regards,
Horia

  reply	other threads:[~2013-02-27 16:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-09  7:17 [PATCH] crypto: testmgr - add aead cbc des, des3_ede tests Vakul Garg
2013-02-27 16:08 ` Horia Geantă [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-15  9:05 Nitesh Lal
2014-05-21 11:39 Nitesh Lal
2014-05-22 13:09 ` Herbert Xu

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=512E2F62.8090609@freescale.com \
    --to=horia.geanta@freescale.com \
    --cc=kim.phillips@freescale.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=vakul@freescale.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.