Discussion:
[libtorrent] Crypto
Michael Mckeown
2016-08-21 12:58:57 UTC
Permalink
* built-in - (default) uses built-in SHA-1 implementation.
* openssl - links against openssl and libcrypto to use for SHA-1 hashing.
* gcrypt - links against libgcrypt to use for SHA-1 hashing.

Out the three what one is the fastest?
------------------------------------------------------------------------------
Arvid Norberg
2016-08-21 16:44:37 UTC
Permalink
Post by Michael Mckeown
* built-in - (default) uses built-in SHA-1 implementation.
* openssl - links against openssl and libcrypto to use for SHA-1 hashing.
* gcrypt - links against libgcrypt to use for SHA-1 hashing.
Out the three what one is the fastest?
My expectation would be that the libcrypto/libssl have the most carefully
optimized sha-1 implementation. Certainly the built-in one is not the
fastest, it's more or less a reference C implementation.
--
Arvid Norberg
------------------------------------------------------------------------------
Loading...