[PATCH] Enable VIA Padlock on x86_64 platforms

Rafaël Carré funman at videolan.org
Wed Apr 11 13:03:27 CEST 2012

Le 2012-04-11 04:18, Werner Koch a écrit :
> On Wed, 11 Apr 2012 06:20, funman at videolan.org said:
>> Note: make check actually fails, but it's not a regression from 32 bits,
>> where that test fails with the exact same output.
> Does that mean, there is a regression in Libgcrypt if a newer 32 bit VIA
> CPU is used?

I would not know, I don't own another (older) VIA CPU.

> On what OS platform?

Linux x86_64 (Ubuntu 12.04)

I noticed the test fails only with GCRY_CIPHER_MODE_CTR.

After starting to understand what is this mode, I noticed it also failed
on 32 bits and just gave up on it, hoping that someone (the padlock code
author?) could explain it.

Do you happen to have a VIA CPU on which libgcrypt was fully tested around?

If it fails with a recent version of libgcrypt too I could bisect the bug.

> Salam-Shalom,
>    Werner

More information about the Gcrypt-devel mailing list