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
_______________________________________________
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to