From: Rabin Vincent
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
---
v2: Add crypto_ahash_statesize() to api-d
On Wed, Jan 25, 2017 at 05:18:05PM +0100, Stephan Müller wrote:
> Am Mittwoch, 25. Januar 2017, 16:55:06 CET schrieb Rabin Vincent:
> > The documentation states that crypto_ahash_reqsize() provides the size
> > of the state structure used by crypto_ahash_export(). Bu
From: Rabin Vincent
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
---
include/crypto/hash.h
On Mon, Jan 23, 2017 at 10:14:03PM +0800, Herbert Xu wrote:
> On Wed, Jan 18, 2017 at 05:25:00PM +0100, Rabin Vincent wrote:
> > From: Rabin Vincent
> > tcrypt offers a bunch of mode= values to test various (groups of)
> > algorithms, but there is no way provided to
From: Rabin Vincent
tcrypt offers a bunch of mode= values to test various (groups of)
algorithms, but there is no way provided to test a subset of the
algorithms. This adds a new mode=2000 which interprets alg= as a
colon-separated list of algorithms to test with alg_test(). Colon is
used
From: Rabin Vincent
tcrypt is very tight-lipped when it succeeds, but a bit more feedback
would be useful when developing or debugging crypto drivers, especially
since even a successful run ends with the module failing to insert. Add
a couple of debug prints, which can be enabled with dynamic
n the driver handles the now-freed
request. Use wait_for_completion() instead.
Signed-off-by: Rabin Vincent
---
crypto/tcrypt.c | 10 --
crypto/testmgr.c | 50 ++
2 files changed, 26 insertions(+), 34 deletions(-)
diff --git a/c
000 \
-p >/dev/null & done
Signed-off-by: Rabin Vincent
---
crypto/af_alg.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/crypto/af_alg.c b/crypto/af_alg.c
index 1fa7bc3..4665b79 100644
--- a/crypto/af_alg.c
+++ b/crypto/af_alg.c
@@ -455,6 +455,9 @@