Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: VIA C3 Processors
On Thu, Sep 29, 2011 at 08:34:11PM -0400, Andy Ball wrote:
>
> Hello,
>
> I found mention of "VIA_PADLOCK" in the kernel config file. I
> think this refers to the AES accelleration rather than the
> random number generation. I'm running a C3 Nehemiah chip
> but I'm not sure which of those features (if any) it has.
> If I try to include VIA_PADLOCK in my kernel, the build
> fails as follows.
>
> - Andy Ball
>
>
> # link NEHEMIAH/netbsd
> ld -Map netbsd.map --cref -T ../../../../arch/i386/conf/kern.ldscript -Ttext
> c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
> via_padlock.o: In function `via_padlock_crypto_swauth':
> via_padlock.c:(.text+0x5b6): undefined reference to `swcr_authcompute'
> via_padlock.o: In function `via_padlock_crypto_newsession':
> via_padlock.c:(.text+0xd68): undefined reference to `rijndaelKeySetupEnc'
> via_padlock.c:(.text+0xd7f): undefined reference to `rijndaelKeySetupDec'
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src/sys/arch/i386/compile/NEHEMIAH
> nehemiah#
VIA_PADLOCK should depend on "swcrypto",
you could work around this by adding
pseudo-device swcrypto
back to your kernel config.
Jonathan Kollasch
Home |
Main Index |
Thread Index |
Old Index