Re: [PATCH v2] crypto: doc - clarify hash callbacks state machine

2018-03-20 Thread Kamil Konieczny
mind the resource allocation and > clean-up. > +No resources related to request objects should remain allocated after a call -- > +to .init() or .update(), since there might be no chance to free them. is it for crypto api users or for drivers ? the creator of request context is re

[PATCH] Documentation: crypto: Fixed bugs, added example usage of calc_hash().

2017-05-12 Thread Kamil Konieczny
ixed. Signed-off-by: Kamil Konieczny --- Documentation/crypto/api-samples.rst | 38 ++-- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/Documentation/crypto/api-samples.rst b/Documentation/crypto/api-samples.rst index d021fd96a76d..2531948db89f 100644