Tor  0.4.7.0-alpha-dev
crypto_options.inc
Go to the documentation of this file.
1 
2 /**
3  * @file crypto_options.inc
4  * @brief Declare configuration options for the crypto_ops module.
5  **/
6 
7 /** Holds configuration about our cryptography options. */
9 
10 /** Should we enable extra OpenSSL hardware acceleration (where available)? */
11 CONF_VAR(HardwareAccel, BOOL, CFLG_IMMUTABLE, "0")
12 
13 /** Optional OpenSSL hardware-acceleration engine name */
14 CONF_VAR(AccelName, STRING, CFLG_IMMUTABLE, NULL)
15 
16 /** Optional OpenSSL hardware-acceleration engine search directory. */
17 CONF_VAR(AccelDir, FILENAME, CFLG_IMMUTABLE, NULL)
18 
#define END_CONF_STRUCT(name)
Definition: confdecl.h:64
#define CONF_VAR(varname, vartype, varflags, initval)
Definition: confdecl.h:70
#define BEGIN_CONF_STRUCT(name)
Definition: confdecl.h:59
#define CFLG_IMMUTABLE
Definition: conftypes.h:199