evp test for CTR mode

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

 



Hi,

I played with autotest offered by openssl, more precisely 
/test/evp_test.

Is there a way to test vectors tests from NIST SP800-38A for CTR mode 
(only vectors from RFC 3686 are taillable in evptests.txt).
I add the vectors in the files but the results are not the expected 
results. Is there a link with endianess? I read in the code (extract 
from /crypto/modes/ctr128.c) :

/* NOTE: the IV/counter CTR mode is big-endian.  The code itself
  * is endian-neutral. */

Maybe i have to modified IV before passing it to openssl?

Thanks


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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux