Re: [PATCH] crypto: padlock: fix for non-64byte aligned data

2010-12-07 Thread Harald Welte
buffers for encryption. I'm returning home on December 11, and hopfeully can do some testing at that time. Is there a list of machines (/proc/cpuinfo) on which the problem has shown up so far? Regards, Harald -- - Harald Welte http://linux.via.com.tw/ -- To unsubscribe from

Re: [patch 0/3] crypto: padlock-aes: enable on VIA Nano

2009-06-10 Thread Harald Welte
27; is also correct, as stepping 3 no longer has this issue. Chuck, I'd be more than thankful if you could rebase and resubmit as requested. If not, please drop me a not so i can put it on my todo list. Acked-by: HaraldWelte -- - Harald Welte http://linux.via.com.tw/

Re: [patch 0/3] crypto: padlock-aes: enable on VIA Nano

2009-06-09 Thread Harald Welte
tra memcpy :( p.s.: the patch to enable padlock on x86_64 is already in the crypto-dev tree, as far as I know. Interestingly, I have not observed this problem so far, despite running dm-crypt on a nano for quite some time. Cheers, -- - Harald Welte

Re: [PATCH] The VIA Hardware RNG driver is for the CPU, not Chipset

2009-05-11 Thread Harald Welte
Hi Arjan, On Mon, May 11, 2009 at 01:22:01PM +0200, Arjan Koers wrote: > Harald Welte wrote: > >> How can multiple RNGs in current dual-processor setups and in the future > >> multicore Nano be handled? > > > > That's actually a good question. I'll pr

Re: [PATCH] The VIA Hardware RNG driver is for the CPU, not Chipset

2009-05-10 Thread Harald Welte
additional comment/explanation) to this list. The question is: Since according to MAINTAINERS drivers/char/hw_random is orphaned, which route should patches go? Herbert: Do you accept hw_random related patches, or should they go some different route? Regards, -- - Harald Welte http

[PATCH] Support VIA Nano hardware RNG on X86_64 builds

2009-05-10 Thread Harald Welte
Fix Kconfig to build via-rng.ko on X86_64 builds, as the VIA Nano CPU supports x86_64, too. Signed-off-by: Harald Welte --- drivers/char/hw_random/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig

[PATCH] Support VIA Nano hardware RNG

2009-05-10 Thread Harald Welte
Support VIA Nano hardware RNG The VIA Nano CPU supports the same XSTORE instruction based RNG, but it lacks the MSR present in earlier CPUs. Signed-off-by: Harald Welte diff --git a/drivers/char/hw_random/via-rng.c b/drivers/char/hw_random/via-rng.c index 4e9573c..794aacb 100644 --- a/drivers

Re: [PATCH] The VIA Hardware RNG driver is for the CPU, not Chipset

2009-05-10 Thread Harald Welte
Dear Arjan, On Mon, May 11, 2009 at 02:12:17AM +0200, Arjan Koers wrote: > Harald Welte wrote: > > This is a cosmetic change, fixing the MODULE_DESCRIPTION() of via-rng.c > > Coincidentally, I was trying to make my RNG work for x86_64 today and I > was wondering about th

Re: [PATCH] Enable VIA PadLock on x86_64

2009-05-10 Thread Harald Welte
On Mon, May 11, 2009 at 12:03:41AM +0800, Harald Welte wrote: > [CRYPTO] Support VIA PadLock hardware crypto on x86-64 Sorry, I should have read the list archives before posting. Please apply the more correct patch from Sebastian Andrzej Siewior as available since March 14 at http://www.m

[PATCH] Enable VIA PadLock on x86_64

2009-05-10 Thread Harald Welte
Signed-off-by: Harald Welte diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 01afd75..39eedd4 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -12,7 +12,7 @@ if CRYPTO_HW config CRYPTO_DEV_PADLOCK tristate "Support for VIA PadLock ACE" -

[RFC] how to auto-load via-rng ?

2009-05-10 Thread Harald Welte
andom Number Generators (RNG) * (c) Copyright 2003 Red Hat Inc + * (c) Copyright 2009 Harald Welte * * derived from * @@ -28,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -171,7 +173,6 @@ static int via_rng_init(struct hwrng *rng) return 0

[PATCH] The VIA Hardware RNG driver is for the CPU, not Chipset

2009-05-10 Thread Harald Welte
This is a cosmetic change, fixing the MODULE_DESCRIPTION() of via-rng.c Signed-off-by: Harald Welte --- drivers/char/hw_random/via-rng.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/hw_random/via-rng.c b/drivers/char/hw_random/via-rng.c index eea0814

Re: PadLock XSHA

2008-10-02 Thread Harald Welte
d rumors that with the CN / Nano this is changing. VIA will update the padlock programming manual about that. Since AFAIK Nano is still only sampling and thre's no end-user product with that CPU in the market yet, there's no hurry right now. I'll make sure to ping you

Re: PadLock XSHA

2008-10-02 Thread Harald Welte
pect there will be a new release for padlock in the CN/Nano at some not too distant point. -- - Harald Welte <[EMAIL PROTECTED]> http://laforge.gnumonks.org/