Home GnuPG

hwfeatures: add 'all' for disabling all hardware features
c83d0d2a2605Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

hwfeatures: add 'all' for disabling all hardware features

* .gitignore: Add 'tests/basic-disable-all-hwf'.
* configure.ac: Ditto.
* tests/Makefile.am: Ditto.
* src/hwfeatures.c (_gcry_disable_hw_feature): Match 'all' for
masking all HW features off.
(parse_hwf_deny_file): Use '_gcry_disable_hw_feature' for matching.
* tests/basic-disable-all-hwf.in: New.

Also add new test to run 'basic' with all HWF disable. With current
assembly implementations and build servers using new CPUs, generic
implementations are not being tested enough anymore and compiler
problems might end up unnoticed.

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Dec 10 2016, 11:29 AM
Parents
rC2b7b227b8a0b: tests/hashtest-256g: add missing executable extension for Win32
Branches
Unknown
Tags
Unknown

Event Timeline

Jussi Kivilinna <jussi.kivilinna@iki.fi> committed rCc83d0d2a2605: hwfeatures: add 'all' for disabling all hardware features (authored by Jussi Kivilinna <jussi.kivilinna@iki.fi>).Dec 10 2016, 11:29 AM