Fast AES on Software using AES NI ISA. Mostly borrowed from here.
Compile using the following command.
g++ main.cpp -O3 -msse2 -msse -march=native -maes -o aes_ni
Remember! -O3
is important!
Fast AES on Software using AES NI ISA. Mostly borrowed from here.
Compile using the following command.
g++ main.cpp -O3 -msse2 -msse -march=native -maes -o aes_ni
Remember! -O3
is important!