]> 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)
commitef19b7326454c56185253783976face78210874c
treea7d06c3ee62729cd191f76e22179b07707e1aadb
parentdad22d1f5b125d192a422eaa20fb2486815fa942
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