> Andy has made some recent fixes to the AES code too which may be

> relevant. Please check the next snapshot to see if you still have problems.

I get the same results with openssl-1.0.1-stable-SNAP-20120403.tar.gz

To narrow down the problem, I built the "no-asm" version, (which works),
saved off the .o files from crypto/sha, then rebuilt with asm enabled.
I then replaced the sha object files with the no-asm flavor, edited
and rebuilt evp/e_aes_cbc_hmac_sha1.c, (to not use asm), and then
linked all that back together... in other words only SHA was non-asm.

That worked, which (again) points to the x86_64 sha-1 assembler.

Regards,
John

PS. For what it's worth, here are my CPU details:

[    0.002720] CPU: Physical Processor ID: 0
[    0.002721] CPU: Processor Core ID: 0
[    0.002724] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.002725] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.002727] mce: CPU supports 9 MCE banks
[    0.002737] CPU0: Thermal monitoring enabled (TM1)
[    0.002744] using mwait in idle threads.
[    0.003826] ACPI: Core revision 20120111
[    0.006109] ftrace: allocating 22586 entries in 89 pages
[    0.016336] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.026335] CPU0: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz stepping 07
[    0.127985] Performance Events: PEBS fmt1+, SandyBridge events, Intel PMU 
driver.
[    0.127989] PEBS disabled due to CPU errata.
[    0.127991] ... version:                3
[    0.127991] ... bit width:              48
[    0.127992] ... generic registers:      8
[    0.127993] ... value mask:             0000ffffffffffff
[    0.127994] ... max period:             000000007fffffff
[    0.127995] ... fixed-purpose events:   3
[    0.127996] ... event mask:             00000007000000ff
[    0.128088] NMI watchdog enabled, takes one hw-pmu counter.
[    0.128142] Booting Node   0, Processors  #1
[    0.128143] smpboot cpu 1: start_ip = 95000
[    0.159370] NMI watchdog enabled, takes one hw-pmu counter.
[    0.159433]  #2
[    0.159434] smpboot cpu 2: start_ip = 95000
[    0.190654] NMI watchdog enabled, takes one hw-pmu counter.
[    0.190714]  #3 Ok.
[    0.190715] smpboot cpu 3: start_ip = 95000
[    0.221937] NMI watchdog enabled, takes one hw-pmu counter.
[    0.221962] Brought up 4 CPUs
[    0.221964] Total of 4 processors activated (24741.86 BogoMIPS).
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to