Tor
0.4.7.0-alpha-dev
lib
crypt_ops
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. */
8
BEGIN_CONF_STRUCT
(
crypto_options_t
)
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
19
END_CONF_STRUCT
(
crypto_options_t
)
END_CONF_STRUCT
#define END_CONF_STRUCT(name)
Definition:
confdecl.h:64
CONF_VAR
#define CONF_VAR(varname, vartype, varflags, initval)
Definition:
confdecl.h:70
BEGIN_CONF_STRUCT
#define BEGIN_CONF_STRUCT(name)
Definition:
confdecl.h:59
CFLG_IMMUTABLE
#define CFLG_IMMUTABLE
Definition:
conftypes.h:199
crypto_options_t
Definition:
crypto_options.inc:8
Generated by
1.9.1