We can use hashLengthInternal() to check if the buffer is big enough.
This matches what the QCH::hash() method does, it also has an assert
that `result.size() == ba.size()`, so we can assume this works with
OpenSSL's EVP_MD_get_size() in EVP::finalizeUnchecked().
Amends
|
||
|---|---|---|
| .. | ||
| data | ||
| .gitignore | ||
| CMakeLists.txt | ||
| tst_qcryptographichash.cpp | ||