Tor  0.4.6.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 
CFLG_IMMUTABLE
#define CFLG_IMMUTABLE
Definition: conftypes.h:199
BEGIN_CONF_STRUCT
#define BEGIN_CONF_STRUCT(name)
Definition: confdecl.h:59
CONF_VAR
#define CONF_VAR(varname, vartype, varflags, initval)
Definition: confdecl.h:70
crypto_options_t
Definition: crypto_options.inc:8
END_CONF_STRUCT
#define END_CONF_STRUCT(name)
Definition: confdecl.h:64