summaryrefslogtreecommitdiff
path: root/src/g10lib.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-16 18:31:31 +0100
committerWerner Koch <wk@gnupg.org>2011-02-16 18:31:31 +0100
commit364799200d1fa8bfa159b6941cb74156bbfa7ec1 (patch)
tree4ca0a2df8d79f33d64c0c912117fc1af92dbe6e8 /src/g10lib.h
parentd9795cfdd758e2aa22e7ab8a6790e2915d1f5334 (diff)
downloadlibgcrypt-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.h2
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 --*/