|  | Kea 3.1.0
    | 
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 45 of file botan_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 54 of file openssl_hash.cc.
References isc::cryptolink::ossl::getHashAlgorithm(), and isc_throw.
| 
 | inline | 
Destructor.
Definition at line 73 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().
| 
 | inline | 
Calculate the final digest.
See isc::cryptolink::Hash::final() for details.
Definition at line 102 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 128 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 115 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.
| 
 | inline | 
Returns the HashAlgorithm of the object.
Definition at line 81 of file openssl_hash.cc.
| 
 | inline | 
Returns the output size of the digest.
Definition at line 78 of file botan_hash.cc.
| 
 | inline | 
Returns the output size of the digest.
Definition at line 88 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().
| 
 | inline | 
Adds data to the digest.
See isc::cryptolink::Hash::update() for details.
Definition at line 95 of file openssl_hash.cc.