[openssl-users] evp test for CTR mode

stacy kiwi.tigrou at yopmail.com
Wed Apr 22 09:24:20 UTC 2015


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


More information about the openssl-users mailing list