The documentation states that crypto_ahash_reqsize() provides the size of the state structure used by crypto_ahash_export(). But it's actually crypto_ahash_statesize() which provides this size.
Signed-off-by: Rabin Vincent Signed-off-by: Herbert Xu