diff options
author | Martin Peck <coder@peertech.org> | 2009-05-23 16:42:44 -0700 |
---|---|---|
committer | Martin Peck <coder@peertech.org> | 2009-05-23 16:42:44 -0700 |
commit | 7703b887f5db0d8d62e9eb87305bb8e2113276f1 (patch) | |
tree | 4cf6f080b0f3ac0f70ff2f4e6e35097c41fcecd0 /src/common/crypto.h | |
parent | 75f963e9517ba8702fe1ed1d470e28b0462fb3d2 (diff) | |
download | tor-7703b887f5db0d8d62e9eb87305bb8e2113276f1.tar.gz tor-7703b887f5db0d8d62e9eb87305bb8e2113276f1.zip |
Add support for dynamic OpenSSL hardware crypto acceleration engines.
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index dd353ef030..fa6735d788 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -55,7 +55,9 @@ typedef struct crypto_digest_env_t crypto_digest_env_t; typedef struct crypto_dh_env_t crypto_dh_env_t; /* global state */ -int crypto_global_init(int hardwareAccel); +int crypto_global_init(int hardwareAccel, + const char *accelName, + const char *accelPath); void crypto_thread_cleanup(void); int crypto_global_cleanup(void); |