Linux cryptographic layer development
 help / color / mirror / Atom feed
* Crypto Testmgr test vector questions
@ 2023-03-14 21:20 Ryan.Wanner
  2023-03-15  3:43 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan.Wanner @ 2023-03-14 21:20 UTC (permalink / raw)
  To: linux-crypto; +Cc: herbert, Nicolas.Ferre, Cyrille.Pitchen

Hello

What is the goal of test vector 4 on alg:aead authenc-hmac-shaX-cbc-aes
tests? I am trying to debug sam9x60ek board and only test vector 4 for
authenc fails. I am curious what the goal of test vector 4 test is as
this could help me in my debugging efforts.

BR,
Ryan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Crypto Testmgr test vector questions
  2023-03-14 21:20 Crypto Testmgr test vector questions Ryan.Wanner
@ 2023-03-15  3:43 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2023-03-15  3:43 UTC (permalink / raw)
  To: Ryan.Wanner; +Cc: linux-crypto, Nicolas.Ferre, Cyrille.Pitchen

On Tue, Mar 14, 2023 at 09:20:27PM +0000, Ryan.Wanner@microchip.com wrote:
> 
> What is the goal of test vector 4 on alg:aead authenc-hmac-shaX-cbc-aes
> tests? I am trying to debug sam9x60ek board and only test vector 4 for
> authenc fails. I am curious what the goal of test vector 4 test is as
> this could help me in my debugging efforts.

Are you talking about "RFC 3602 Case 4"? The only difference that
I can see from "Case 3" (48 bytes) is that "Case 4" is longer (64 bytes).

You may want to insert some printks into testmgr.c to assess the
nature of the failure by dumping the output from your algorithm.

Cheers,
-- 
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-15  4:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-14 21:20 Crypto Testmgr test vector questions Ryan.Wanner
2023-03-15  3:43 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox