tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

crypto_options.inc (600B)


      1 /**
      2 * @file crypto_options.inc
      3 * @brief Declare configuration options for the crypto_ops module.
      4 **/
      5 
      6 /** Holds configuration about our cryptography options. */
      7 BEGIN_CONF_STRUCT(crypto_options_t)
      8 
      9 /** Should we enable extra OpenSSL hardware acceleration (where available)?  */
     10 CONF_VAR(HardwareAccel, BOOL, CFLG_IMMUTABLE, "0")
     11 
     12 /** Optional OpenSSL hardware-acceleration engine name */
     13 CONF_VAR(AccelName, STRING, CFLG_IMMUTABLE, NULL)
     14 
     15 /** Optional OpenSSL hardware-acceleration engine search directory. */
     16 CONF_VAR(AccelDir, FILENAME, CFLG_IMMUTABLE, NULL)
     17 
     18 END_CONF_STRUCT(crypto_options_t)