Thomas Nikolajsen <[email protected]> added the comment: hifn(4) works with this patch. cryptotest works, and 'openssl enc' also doesn't have plaintext in encoded text. There is problem: LINT build fails. Also if hifn(4) is unloaded, then loading it again fails, with message below.
I did hifn(4) test on both amd64 system (only i386; will do x86_64 test), and on low mem system, soekris 4801 w/ vpn1411 (same pciconf output as vpn1401). I also did padlock(4) test on Via C7 system, and got same result as below: 'openssl enc' using cipher supported by cryptodev contains plaintext. This is not the case when using 'openssl enc -engine padlock'. >From above it seems to be a problem in padlock(4). Also tools/tools/crypto/cryptotest doesn't work with padlock(4). -thomas - hifn0 mem 0xec040000-0xec047fff,0xec048000-0xec049fff,0xec04b000-0xec04bfff irq 11 at device 12.0 on pci0 contigmalloc_map: failed size 262143 low=0 high=ffffffff align=1 boundary=0 flags=00001601 hifn0: cannot alloc dma buffer device_probe_and_attach: hifn0 attach returned 6 _____________________________________________________ DragonFly issue tracker <[email protected]> <http://bugs.dragonflybsd.org/issue1638> _____________________________________________________
