]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0cd8d34d8f498be4b5f9011c8bc109e8e598cf5
treea7d06c3ee62729cd191f76e22179b07707e1aadb
parentac35ded96af085ded66fbd6d00fc83d4fcba3207
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