crypto: doc - clarify hash callbacks state machine
authorHoria Geantă <horia.geanta@nxp.com>
Tue, 20 Mar 2018 07:56:12 +0000 (09:56 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Mar 2018 17:33:02 +0000 (01:33 +0800)
commit0550f5a5f0c5bac10e982c1e968db9f3f297dda3
tree20acb9b0e96728b7c717049f543638e7b8bbaeb3
parenteb02c38f019726ede53eb31c3c604fd77cfedc2e
crypto: doc - clarify hash callbacks state machine

Add a note that it is perfectly legal to "abandon" a request object:
- call .init() and then (as many times) .update()
- _not_ call any of .final(), .finup() or .export() at any point in
  future

Link: https://lkml.kernel.org/r/20180222114741.GA27631@gondor.apana.org.au
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/crypto/devel-algos.rst