Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559724 - dev-libs/libgcrypt: Re-enable VIA padlock support
Summary: dev-libs/libgcrypt: Re-enable VIA padlock support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-06 00:01 UTC by Matt Turner
Modified: 2015-09-06 04:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2015-09-06 00:01:46 UTC
In bug 201917, VIA padlock support was disabled because of a bug in libgcrypt (around version 1.4.0). The NEWS file says that in version 1.4.5:

> * Fixed sigill during Padlock detection on old CPUs.

I believe that was the fix for bug 201917.


Removing 

>         --disable-padlock-support # bug 201917

from the ebuild shows

>         Try using Padlock crypto:  yes

in the build log.

I see appropriate instructions ("xstore-rng" and "repz xcrypt-ecb") in libgcrypt.so and all tests in the test suite pass on my VIA C7 (with padlock support) and on another x86/amd64 system without padlock support.

Please remove --disable-padlock-support.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2015-09-06 04:16:29 UTC
thanks for testing, added in libgcrypt-1.6.3-r5