diff options
author | Werner Koch <wk@gnupg.org> | 2011-02-16 18:31:31 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-02-16 18:31:31 +0100 |
commit | 364799200d1fa8bfa159b6941cb74156bbfa7ec1 (patch) | |
tree | 4ca0a2df8d79f33d64c0c912117fc1af92dbe6e8 /src/g10lib.h | |
parent | d9795cfdd758e2aa22e7ab8a6790e2915d1f5334 (diff) | |
download | libgcrypt-364799200d1fa8bfa159b6941cb74156bbfa7ec1.tar.gz |
Add GCRYCTL_DISABLE_HWF
This option is useful to disable detected hardware features. It has
been implemented in benchmark, so that it is now possible to run
tests/benchmark --disable-hwf intel-aesni cipher aes aes192 aes256
to compare the use of AES-NI insns to the pure C code.
Diffstat (limited to 'src/g10lib.h')
-rw-r--r-- | src/g10lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/g10lib.h b/src/g10lib.h index 28c5e936..8d98ae38 100644 --- a/src/g10lib.h +++ b/src/g10lib.h @@ -152,7 +152,7 @@ int _gcry_log_verbosity( int level ); unsigned int _gcry_get_hw_features (void); -void _gcry_detect_hw_features (void); +void _gcry_detect_hw_features (unsigned int); /*-- mpi/mpiutil.c --*/ |