|
Botan
1.11.4
|
#include <rmd160.h>
Public Member Functions | |
| void | clear () |
| HashFunction * | clone () const |
| void | final (byte out[]) |
| secure_vector< byte > | final () |
| size_t | hash_block_size () const |
| std::string | name () const |
| size_t | output_length () const |
| secure_vector< byte > | process (const byte in[], size_t length) |
| secure_vector< byte > | process (const secure_vector< byte > &in) |
| secure_vector< byte > | process (const std::vector< byte > &in) |
| secure_vector< byte > | process (const std::string &in) |
| RIPEMD_160 () | |
| void | update (const byte in[], size_t length) |
| void | update (const secure_vector< byte > &in) |
| void | update (const std::vector< byte > &in) |
| void | update (const std::string &str) |
| void | update (byte in) |
| template<typename T > | |
| void | update_be (const T in) |
Protected Member Functions | |
| void | add_data (const byte input[], size_t length) |
| void | final_result (byte output[]) |
| virtual void | write_count (byte out[]) |
|
protectedvirtualinherited |
Add more data to the computation
| input | is an input buffer |
| length | is the length of input in bytes |
Implements Botan::Buffered_Computation.
Definition at line 41 of file mdx_hash.cpp.
References Botan::buffer_insert(), and Botan::MDx_HashFunction::compress_n().
|
virtual |
Zeroize internal state
Reimplemented from Botan::MDx_HashFunction.
Definition at line 199 of file rmd160.cpp.
References Botan::MDx_HashFunction::clear(), and Botan::zeroise().
|
inlinevirtual |
Implements Botan::HashFunction.
Definition at line 23 of file rmd160.h.
|
inlineinherited |
Complete the computation and retrieve the final result.
| out | The byte array to be filled with the result. Must be of length output_length() |
Definition at line 90 of file buf_comp.h.
Referenced by Botan::LubyRackoff::decrypt_n(), Botan::Lion::decrypt_n(), Botan::X942_PRF::derive(), Botan::KDF2::derive(), Botan::KDF1::derive(), Botan::EMSA2::EMSA2(), Botan::LubyRackoff::encrypt_n(), Botan::Lion::encrypt_n(), Botan::Hash_Filter::end_msg(), Botan::MAC_Filter::end_msg(), Botan::PKCS5_PBKDF2::key_derivation(), Botan::PKCS5_PBKDF1::key_derivation(), Botan::MGF1::mask(), Botan::EMSA3::raw_data(), Botan::Randpool::reseed(), Botan::HMAC_RNG::reseed(), and Botan::TLS::write_record().
|
inlineinherited |
Complete the computation and retrieve the final result.
Definition at line 97 of file buf_comp.h.
|
protectedvirtualinherited |
Write the final output to out
| out | is an output buffer of output_length() |
Implements Botan::Buffered_Computation.
Definition at line 71 of file mdx_hash.cpp.
References Botan::MDx_HashFunction::clear(), Botan::MDx_HashFunction::compress_n(), Botan::MDx_HashFunction::copy_out(), Botan::MDx_HashFunction::write_count(), and Botan::zeroise().
|
inlinevirtualinherited |
Reimplemented from Botan::HashFunction.
Definition at line 32 of file mdx_hash.h.
Referenced by Botan::MD4::compress_n(), Botan::MD5::compress_n(), Botan::SHA_160::compress_n(), and Botan::MDx_HashFunction::write_count().
|
inlinevirtual |
Implements Botan::Algorithm.
|
inlinevirtual |
Implements Botan::Buffered_Computation.
|
inlineinherited |
Update and finalize computation. Does the same as calling update() and final() consecutively.
| in | the input to process as a byte array |
| length | the length of the byte array |
Definition at line 111 of file buf_comp.h.
Referenced by Botan::Randpool::add_entropy(), Botan::EME1::EME1(), Botan::RTSS_Share::split(), and Botan::Cert_Extension::Subject_Key_ID::Subject_Key_ID().
|
inlineinherited |
Update and finalize computation. Does the same as calling update() and final() consecutively.
| in | the input to process |
Definition at line 123 of file buf_comp.h.
|
inlineinherited |
Update and finalize computation. Does the same as calling update() and final() consecutively.
| in | the input to process |
Definition at line 135 of file buf_comp.h.
|
inlineinherited |
Update and finalize computation. Does the same as calling update() and final() consecutively.
| in | the input to process as a string |
Definition at line 147 of file buf_comp.h.
References Botan::TLS::update().
|
inlineinherited |
Add new input to process.
| in | the input to process as a byte array |
| length | of param in in bytes |
Definition at line 34 of file buf_comp.h.
Referenced by Botan::HMAC_RNG::add_entropy(), Botan::Comb4P::clear(), Botan::LubyRackoff::decrypt_n(), Botan::Lion::decrypt_n(), Botan::X942_PRF::derive(), Botan::KDF2::derive(), Botan::KDF1::derive(), Botan::LubyRackoff::encrypt_n(), Botan::Lion::encrypt_n(), Botan::PKCS5_PBKDF2::key_derivation(), Botan::PKCS5_PBKDF1::key_derivation(), Botan::MGF1::mask(), Botan::HMAC_RNG::reseed(), Botan::time_algorithm_ops(), Botan::EMSA3::update(), and Botan::TLS::write_record().
|
inlineinherited |
Add new input to process.
| in | the input to process as a secure_vector |
Definition at line 40 of file buf_comp.h.
|
inlineinherited |
Add new input to process.
| in | the input to process as a std::vector |
Definition at line 49 of file buf_comp.h.
|
inlineinherited |
Add new input to process.
| str | the input to process as a std::string. Will be interpreted as a byte array based on the strings encoding. |
Definition at line 73 of file buf_comp.h.
|
inlineinherited |
|
inlineinherited |
Add an integer in big-endian order
| in | the value |
Definition at line 58 of file buf_comp.h.
References Botan::get_byte().
Referenced by Botan::KDF2::derive(), Botan::PKCS5_PBKDF2::key_derivation(), Botan::MGF1::mask(), and Botan::TLS::write_record().
|
protectedvirtualinherited |
Write the count, if used, to this spot
| out | where to write the counter to |
Definition at line 93 of file mdx_hash.cpp.
References Botan::MDx_HashFunction::hash_block_size(), Botan::Buffered_Computation::output_length(), Botan::store_be(), and Botan::store_le().
Referenced by Botan::MDx_HashFunction::final_result().
1.8.3.1