Re: [PATCH] crypto: Add some test vectors for cmac(camellia)

From: Herbert Xu
Date: Thu Apr 20 2023 - 06:24:01 EST


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@xxxxxxxxxx>
> cc: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> cc: Chuck Lever <chuck.lever@xxxxxxxxxx>
> cc: Scott Mayhew <smayhew@xxxxxxxxxx>
> cc: linux-nfs@xxxxxxxxxxxxxxx
> cc: linux-crypto@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt