2008-10-31 13:36:18

by Andreas Gerlich

[permalink] [raw]
Subject: hifn_7955 and Linux

Hello,

I have following hardware:

net5501 - Board of Soekris with AMD GoedeLX Processor 500 MHz
vpn1401 - PCI-Card with HIFN 7955 Crypto acceleration chip also
from Soekris.

I'am use Debian Lenny/sid on this board. It works fine.
I can also use the geode-aes engine for encryption partiions on the HD.
But I can only use 128 bit keysize with this engine.

So I bougth the vpn1401 card with the HIFN 7955 Chip. I tought that this
Chip is fully supported by the hifn_795x module which is included in the
kernel 2.6.27 of Lenny/sid.
But it doesn't work. I get errors when I try tu use the AES-engine
of the hifn_795x/Chip/Module.

Can you tell me what the parameters are nessesary for cryptsetup to use
the hifn_7955?

I try with cryptsetup: aes-cbc-essiv:sha256, keysize=256 but that
doesn't work.

Regards
Andreas Gerlich
--
Andreas Gerlich, University of Ulm, Germany
open source project --> http://yaze-ag.de/ (Yet Another Z80 Emulator)


2008-10-31 20:31:14

by Evgeniy Polyakov

[permalink] [raw]
Subject: Re: hifn_7955 and Linux

Hi.

On Fri, Oct 31, 2008 at 02:36:16PM +0100, Andreas Gerlich ([email protected]) wrote:
> But it doesn't work. I get errors when I try tu use the AES-engine
> of the hifn_795x/Chip/Module.
>
> Can you tell me what the parameters are nessesary for cryptsetup to use
> the hifn_7955?

Please show the dmesg output for the failed command and optionally (but
very helpful) enable debug and send us its output.

--
Evgeniy Polyakov