hwfeatures: add 'all' for disabling all hardware features
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 10 Dec 2016 10:29:12 +0000 (12:29 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 10 Dec 2016 10:29:12 +0000 (12:29 +0200)
commitc83d0d2a26059cf471d09f5cb8e7fc5d76c4907b
tree7084e4777cf56bb508f5f77e490e775bddffd1e0
parent2b7b227b8a0bd5ff286258bc187782efac180a7e
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>
.gitignore
configure.ac
src/hwfeatures.c
tests/Makefile.am
tests/basic-disable-all-hwf.in [new file with mode: 0644]