crypto: doc - Fix hash export state information
authorRabin Vincent <rabinv@axis.com>
Thu, 26 Jan 2017 15:33:00 +0000 (16:33 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2017 10:16:11 +0000 (18:16 +0800)
commit379d972b81151b811ab769db5ab8da9c71bbfb00
treea7d06c3ee62729cd191f76e22179b07707e1aadb
parent34cb58213948a0c26a228da903a3b37c2505843c
crypto: doc - Fix hash export state information

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 <rabinv@axis.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/crypto/api-digest.rst
include/crypto/hash.h