lkml.org 
[lkml]   [2023]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] crypto: Add some test vectors for cmac(camellia)
On Thu, Apr 13, 2023 at 04:40:18PM +0100, David Howells wrote:
>
> Add some test vectors for 128-bit cmac(camellia) as found in
> draft-kato-ipsec-camellia-cmac96and128-01 section 6.2.
>
> The document also shows vectors for camellia-cmac-96, and for VK with a
> length greater than 16, but I'm not sure how to express those in testmgr.
>
> This also leaves cts(cbc(camellia)) untested, but I can't seem to find any
> tests for that that I could put into testmgr.
>
> Signed-off-by: David Howells <dhowells@redhat.com>
> cc: Herbert Xu <herbert@gondor.apana.org.au>
> cc: Chuck Lever <chuck.lever@oracle.com>
> cc: Scott Mayhew <smayhew@redhat.com>
> cc: linux-nfs@vger.kernel.org
> cc: linux-crypto@vger.kernel.org
> Link: https://datatracker.ietf.org/doc/pdf/draft-kato-ipsec-camellia-cmac96and128-01
> ---
> crypto/testmgr.c | 6 ++++++
> crypto/testmgr.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 53 insertions(+)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2023-04-20 12:24    [W:0.061 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site