Hello everyone,
I would like to use the aesni engine support but openvpn (last version) cannot load aesni engine. I have OpenSSL 1.0.1c and i guess it detects fine the aesni because those results looks like it:
# openssl speed -evp aes-128-cbc
Doing aes-128-cbc for 3s on 16 size blocks: 118578707 aes-128-cbc's in 2.99s
Doing aes-128-cbc for 3s on 64 size blocks: 31635854 aes-128-cbc's in 2.99s
Doing aes-128-cbc for 3s on 256 size blocks: 8036497 aes-128-cbc's in 2.99s
Doing aes-128-cbc for 3s on 1024 size blocks: 2017312 aes-128-cbc's in 2.99s
Doing aes-128-cbc for 3s on 8192 size blocks: 252454 aes-128-cbc's in 3.00s
OpenSSL 1.0.1c 10 May 2012
built on: Wed Jun 6 18:32:58 CEST 2012
options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wa,--noexecstack -Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128-cbc 634534.89k 677155.40k 688074.66k 690878.76k 689367.72k
Is there any option in OpenVPN-2.2.2 to compile with support for aesni engine?