Some hash functions in the freebl3 library ignore the length of the output buffer and always return the length of the digest.