It is very strange. When I run " openssl speed aes-256-cbc -engine padlock ", it display:
$ openssl speed aes-256-cbc -engine padlock
OpenSSL 0.9.8n 24 Mar 2010
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx)
compiler: cc
available timing options: USE_TOD HZ=128 [sysconf value]
timing function used: getrusage
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256 cbc 46770864.00k 48338688.00k 48958464.00k 48905216.00k 48988160.00k
When I run "openssl speed aes-256-cbc -engine cryptodev", it display:```
$ openssl speed aes-256-cbc -engine cryptodev
OpenSSL 0.9.8n 24 Mar 2010
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx)
compiler: cc
available timing options: USE_TOD HZ=128 [sysconf value]
timing function used: getrusage
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-256 cbc 46375136.00k 48188992.00k 48698624.00k 48657408.00k 48701440.00k
The results are same. It didn't report any errors. But I think the BCM5823 cryptographic accelerator is working. Because I run the "openssl speed aes-256-cbc" on the INTEL D510 ATOM CPU, the resulte is "
> %openssl speed aes-256-cbc
> To get the most accurate results, try to run this
> program when this computer is idle.
> Doing aes-256 cbc for 3s on 16 size blocks: 3360500 aes-256 cbc's in 3.00s
> Doing aes-256 cbc for 3s on 64 size blocks: 870605 aes-256 cbc's in 3.00s
> Doing aes-256 cbc for 3s on 256 size blocks: 219803 aes-256 cbc's in 3.00s
> Doing aes-256 cbc for 3s on 1024 size blocks: 55177 aes-256 cbc's in 3.00s
> Doing aes-256 cbc for 3s on 8192 size blocks: 6817 aes-256 cbc's in 3.00s
> OpenSSL 0.9.8q 2 Dec 2010
> built on: date not available
> options:bn(64,64) md2(int) rc4(ptr,int) des(idx,cisc,16,int) aes(partial) blowfish(idx)
> compiler: cc
> available timing options: USE_TOD HZ=128 [sysconf value]
> timing function used: getrusage
> The 'numbers' are in 1000s of bytes per second processed.
> type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
> aes-256 cbc 17913.94k 18567.19k 18767.78k 18826.61k 18606.98k