Kea 2.7.6
|
Botan implementation of Hash. More...
Public Member Functions | |
HashImpl (const HashAlgorithm hash_algorithm) | |
Constructor for specific hash algorithm. | |
HashImpl (const HashAlgorithm hash_algorithm) | |
Constructor for specific hash algorithm. | |
~HashImpl () | |
Destructor. | |
~HashImpl ()=default | |
Destructor. | |
void | final (isc::util::OutputBuffer &result, size_t len) |
Calculate the final digest. | |
void | final (isc::util::OutputBuffer &result, size_t len) |
Calculate the final digest. | |
std::vector< uint8_t > | final (size_t len) |
Calculate the final digest. | |
std::vector< uint8_t > | final (size_t len) |
Calculate the final digest. | |
void | final (void *result, size_t len) |
Calculate the final digest. | |
void | final (void *result, size_t len) |
Calculate the final digest. | |
HashAlgorithm | getHashAlgorithm () const |
Returns the HashAlgorithm of the object. | |
HashAlgorithm | getHashAlgorithm () const |
Returns the HashAlgorithm of the object. | |
size_t | getOutputLength () const |
Returns the output size of the digest. | |
size_t | getOutputLength () const |
Returns the output size of the digest. | |
void | update (const void *data, const size_t len) |
Adds data to the digest. | |
void | update (const void *data, const size_t len) |
Adds data to the digest. | |
Botan implementation of Hash.
OpenSSL implementation of Hash.
Each method is the counterpart of the Hash corresponding method.
Definition at line 50 of file openssl_hash.cc.
|
inlineexplicit |
Constructor for specific hash algorithm.
hash_algorithm | The hash algorithm |
Definition at line 51 of file botan_hash.cc.
References isc::cryptolink::btn::getHashAlgorithmName(), isc_throw, and isc::Exception::what().
|
default |
Destructor.
|
inlineexplicit |
Constructor for specific hash algorithm.
hash_algorithm | The hash algorithm |
Definition at line 56 of file openssl_hash.cc.
References isc::cryptolink::ossl::getHashAlgorithm(), and isc_throw.
|
inline |
Destructor.
Definition at line 75 of file openssl_hash.cc.
|
inline |
Calculate the final digest.
See isc::cryptolink::Hash::final() for details.
Definition at line 97 of file botan_hash.cc.
References isc_throw, and isc::Exception::what().
Referenced by isc::cryptolink::Hash::final(), isc::cryptolink::Hash::final(), and isc::cryptolink::Hash::final().
|
inline |
Calculate the final digest.
See isc::cryptolink::Hash::final() for details.
Definition at line 104 of file openssl_hash.cc.
References isc::cryptolink::digest(), and getOutputLength().
|
inline |
Calculate the final digest.
See isc::cryptolink::Hash::final() for details.
Definition at line 131 of file botan_hash.cc.
References isc_throw, and isc::Exception::what().
|
inline |
Calculate the final digest.
See isc::cryptolink::Hash::final() for details.
Definition at line 130 of file openssl_hash.cc.
References isc::cryptolink::digest(), and getOutputLength().
|
inline |
Calculate the final digest.
See isc::cryptolink::Hash::final() for details.
Definition at line 114 of file botan_hash.cc.
References getOutputLength(), isc_throw, and isc::Exception::what().
|
inline |
Calculate the final digest.
See isc::cryptolink::Hash::final() for details.
Definition at line 117 of file openssl_hash.cc.
References isc::cryptolink::digest(), and getOutputLength().
|
inline |
Returns the HashAlgorithm of the object.
Definition at line 71 of file botan_hash.cc.
Referenced by isc::cryptolink::Hash::getHashAlgorithm().
|
inline |
Returns the HashAlgorithm of the object.
Definition at line 83 of file openssl_hash.cc.
|
inline |
Returns the output size of the digest.
Definition at line 78 of file botan_hash.cc.
Referenced by final(), final(), final(), and isc::cryptolink::Hash::getOutputLength().
|
inline |
Returns the output size of the digest.
Definition at line 90 of file openssl_hash.cc.
|
inline |
Adds data to the digest.
See isc::cryptolink::Hash::update() for details.
Definition at line 85 of file botan_hash.cc.
References isc_throw, and isc::Exception::what().
Referenced by isc::cryptolink::Hash::update().
|
inline |
Adds data to the digest.
See isc::cryptolink::Hash::update() for details.
Definition at line 97 of file openssl_hash.cc.