AES-CFB-128 test failed (using wpa_supplicant)
marek.belisko at gmail.com
Tue Jun 6 23:13:02 CEST 2017
On Tue, Jun 6, 2017 at 6:55 PM, Jussi Kivilinna <jussi.kivilinna at iki.fi> wrote:
> On 06.06.2017 10:17, Belisko Marek wrote:
>> I'm using wpa_supplicant v2.4 on custom x86 platform (VIA board). When
>> I'm trying
>> connect to AP with WPA2 and AES encryption I cannot connect due to the
>> errors like (with TKIP it works fine):
>> selftest for CFB failed - see syslog for details
> Looks like there is wrong use of assembly operand constraints in Padlock
> accelerated AES code. Can you test if the attached patch helps? Patch is
> for libgcrypt-1.6.x.
After applying patch there are no more erro messages in syslog and I
can connect to wifi successfully.
Thanks a lot. Is this patch present in newer version of libgcrypt? Thanks.
>> and when inspecting syslog I found :
>> Libgcrypt warning: AES-CFB-128 test failed (plaintext mismatch, parallel path)
>> I'm using libgcryp 1.6.3 and whole system is build using yocto.
>> Compared to my laptop with same version of wpa_suplicant (v2.4) but
>> libgcrypt was 1.6.5 it works fine here . Could it be some missing
>> configuration or any pointer where to look? I have enabled in kernel
>> config CONFIG_CRYPTO_AES_NI_INTEL=y and also
>> CONFIG_CRYPTO_DEV_PADLOCK_AES=y. Thanks a lot.
> Gcrypt-devel mailing list
> Gcrypt-devel at gnupg.org
as simple and primitive as possible
Marek Belisko - OPEN-NANDRA
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
More information about the Gcrypt-devel