Re: Crypto Testmgr test vector questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 14, 2023 at 09:20:27PM +0000, Ryan.Wanner@xxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux