From d11faedb02216af6fb359412bf97205934a5ca5a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 4 Jun 2015 18:12:05 +0300 Subject: README update --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1c46946..7f4b01e 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,12 @@ I've used the compiler and the assembler shipped with Visual Studio Express 2013 You can generate the solution using CMake and build it using Visual Studio. +To make AES block I/O functions use big-endian by default (also used in the original FIPS standard; required for the tests), +pass the `LIBAESNI_BE_IO_BY_DEFAULT=1` preprocessor definition. +Using CMake, you can pass the definition like this: + + cmake -D CMAKE_C_FLAGS=/DLIBAESNI_BE_IO_BY_DEFAULT=1 ... + ## Running on older CPUs To run programs that are using the AES-NI instruction set on a CPU w/o the support for these instructions, one can use -- cgit v1.2.3