Padlock Support broken…
-
I revived some old embedded systems running on VIA processors. The OpenSSL support seems to be broken possible due to not being compiled in 2.2.2??
openssl speed -evp aes-128-cbc aes-256-cbc sha1 sha256 -engine padlock
invalid engine "padlock"
675592508:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:/usr/pfSensesrc/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_dlfcn.c:185:filename(/usr/lib/engines/libpadlock.so): Cannot open "/usr/lib/engines/libpadlock.so"
675592508:error:25070067:DSO support routines:DSO_load:could not load the shared library:/usr/pfSensesrc/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_lib.c:244:
675592508:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:/usr/pfSensesrc/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_dyn.c:447:
675592508:error:2606A074:engine routines:ENGINE_by_id:no such engine:/usr/pfSensesrc/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_list.c:418:id=padlock
675592508:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:/usr/pfSensesrc/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_dlfcn.c:185:filename(libpadlock.so): Shared object "libpadlock.so" not found, required by "openssl"
675592508:error:25070067:DSO support routines:DSO_load:could not load the shared library:/usr/pfSensesrc/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_lib.c:244:
675592508:error:260B6084:engine routines:DYNAMIC_LOAD:dso not found:/usr/pfSensesrc/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_dyn.c:447:
OpenSSL 1.0.1l-freebsd 15 Jan 2015
built on: date not available
options:bn(64,32) rc4(4x,int) des(ptr,risc1,16,long) aes(partial) idea(int) blowfish(idx)
compiler: clang
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
sha1 3784.07k 11418.10k 26178.96k 38529.89k 44943.03k
aes-256 cbc 4323.71k 4415.29k 4462.63k 10879.53k 11051.36k
aes-128-cbc 17273.17k 109723.65k 377068.54k 1725836.94k 12676085.47k
sha256 3472.61k 7676.73k 13061.32k 15859.06k 16745.92k$ openssl speed -evp aes-128-cbc aes-256-cbc sha1 sha256 -engine cryptodev
engine "cryptodev" set.
OpenSSL 1.0.1l-freebsd 15 Jan 2015
built on: date not available
options:bn(64,32) rc4(4x,int) des(ptr,risc1,16,long) aes(partial) idea(int) blowfish(idx)
compiler: clang
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
sha1 3836.19k 11529.48k 26329.75k 38699.51k 44986.73k
aes-256 cbc 4318.75k 4434.28k 4474.52k 10956.18k 11050.38k
aes-128-cbc 22382.59k 100482.35k 397870.55k 1816723.46k 11191684.66k
sha256 3498.20k 7700.30k 13122.90k 15911.28k 16945.34kCopyright 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.1-RELEASE-p9 #0 57b23e7(releng/10.1)-dirty: Mon Apr 13 20:37:21 CDT 2015
root@pfs22-i386-builder:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_wrap.10.i386 i386
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
VT: running with driver "vga".
CPU: VIA Nehemiah (998.72-MHz 686-class CPU)
Origin = "CentaurHauls" Id = 0x698 Family = 0x6 Model = 0x9 Stepping = 8
Features=0x381b93f <fpu,vme,de,pse,tsc,msr,cx8,sep,mtrr,pge,cmov,pat,mmx,fxsr,sse>VIA Padlock Features=0xdd <rng,aes>real memory = 536870912 (512 MB)
avail memory = 481312768 (459 MB)
ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_bss_fw, 0xc080ef30, 0) error 1
ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc080efe0, 0) error 1
ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.
ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc080f090, 0) error 1
iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/.
iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (iwi_bss_fw, 0xc08376c0, 0) error 1
iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/.
iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (iwi_ibss_fw, 0xc0837770, 0) error 1
iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/.
iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (iwi_monitor_fw, 0xc0837820, 0) error 1
wlan: mac acl policy registered
kbd1 at kbdmux0
random: <software, yarrow="">initialized
cryptosoft0: <software crypto="">on motherboard
padlock0: <aes-cbc>on motherboard
acpi0: <via601 awrdacpi="">on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 1f6f0000 (3) failed
cpu0: <acpi cpu="">on acpi0
attimer0: <at timer="">port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <at realtime="" clock="">port 0x70-0x73 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_button0: <power button="">on acpi0
pcib0: <acpi host-pci="" bridge="">port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 4 range: f00 vs eff
pcib0: Length mismatch for 4 range: ff0 vs fef
pcib0: Length mismatch for 4 range: 9f80 vs 9f7f
pci_link3: BIOS IRQ 5 for 0.7.INTC does not match previous BIOS IRQ 11
pci0: <acpi pci="" bus="">on pcib0
agp0: <via 8601="" (apollo="" promedia="" ple133ta)="" host="" to="" pci="" bridge="">on hostb0
agp0: aperture size is 64M
pcib1: <pci-pci bridge="">at device 1.0 on pci0
pci1: <pci bus="">on pcib1
vgapci0: <vga-compatible display="">mem 0xe4000000-0xe47fffff,0xe5000000-0xe501ffff,0xe4800000-0xe4ffffff irq 12 at device 0.0 on pci1
vgapci0: Boot video device
isab0: <pci-isa bridge="">at device 7.0 on pci0
isa0: <isa bus="">on isab0
atapci0: <via 82c686b="" udma100="" controller="">port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc000-0xc00f at device 7.1 on pci0
ata0: <ata channel="">at channel 0 on atapci0
ata1: <ata channel="">at channel 1 on atapci0
uhci0: <via 83c572="" usb="" controller="">port 0xc400-0xc41f at device 7.2 on pci0
usbus0 on uhci0
uhci1: <via 83c572="" usb="" controller="">port 0xc800-0xc81f at device 7.3 on pci0
usbus1 on uhci1
pci0: <bridge>at device 7.4 (no driver attached)
pci0: <multimedia, audio="">at device 7.5 (no driver attached)
fxp0: <intel 100="" 82551="" pro="" ethernet="">port 0xd800-0xd83f mem 0xe58a0000-0xe58a0fff,0xe5800000-0xe581ffff irq 12 at device 8.0 on pci0
miibus0: <mii bus="">on fxp0
inphy0: <i82555 10="" 100="" media="" interface="">PHY 1 on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp1: <intel 100="" 82551="" pro="" ethernet="">port 0xdc00-0xdc3f mem 0xe58a1000-0xe58a1fff,0xe5820000-0xe583ffff irq 10 at device 9.0 on pci0
miibus1: <mii bus="">on fxp1
inphy1: <i82555 10="" 100="" media="" interface="">PHY 1 on miibus1
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
em0: <intel(r) 1000="" pro="" legacy="" network="" connection="" 1.0.6="">port 0xe000-0xe03f mem 0xe5840000-0xe585ffff,0xe5860000-0xe587ffff irq 11 at device 11.0 on pci0
fdc0: <floppy drive="" controller="">port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (115200,n,8,1)
pmtimer0 on isa0
orm0: <isa option="" roms="">at iomem 0xc0000-0xcbfff,0xcc000-0xcffff,0xd0000-0xde7ff pnpid ORM0000 on isa0
atkbdc0: <keyboard controller="" (i8042)="">at port 0x60,0x64 on isa0
atkbd0: <at keyboard="">irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: parallel port not found.
acpi_throttle0: <acpi cpu="" throttling="">on cpu0
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
random: unblocking device.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
ugen0.1: <via>at usbus0
uhub0: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus0
ugen1.1: <via>at usbus1
uhub1: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus1
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
ada0 at ata1 bus 0 scbus1 target 0 lun 0
ada0: <ts8gcf133 20130426="">CFA-0 device
ada0: Serial Number A96690AC247205000570
ada0: 16.700MB/s transfers (PIO4, PIO 512bytes)
ada0: 7647MB (15662304 512 byte sectors: 16H 63S/T 15538C)
ada0: Previously was known as ad2
Timecounter "TSC" frequency 998718560 Hz quality 800
Trying to mount root from ufs:/dev/ufs/pfsense1 [ro,sync,noatime]…</ts8gcf133></via></via></via></via></acpi></at></keyboard></isa></floppy></intel(r)></i82555></mii></intel></i82555></mii></intel></multimedia,></bridge></via></via></ata></ata></via></isa></pci-isa></vga-compatible></pci></pci-pci></via></acpi></acpi></power></at></at></acpi></via601></aes-cbc></software></software,></rng,aes></fpu,vme,de,pse,tsc,msr,cx8,sep,mtrr,pge,cmov,pat,mmx,fxsr,sse>