]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
crypto: tcrypt - Abort and only log if there is an error
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 31 Jul 2008 06:03:44 +0000 (14:03 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Aug 2008 05:49:52 +0000 (15:49 +1000)
commitbdecd22821a0fab1f5c9e4c9b7fba894593507d4
treec741a5f39ca2f75c7f4f94a0b592f45bf3ff58ea
parent8cb51ba8e06570a5fff674b3744d12a1b089f2d0
crypto: tcrypt - Abort and only log if there is an error

The info printed is a complete waste of space when there is no error
since it doesn't tell us anything that we don't already know.  If there
is an error, we can also be more verbose.

In case that there is an error, this patch also aborts the test and
returns the error to the caller.  In future this will be used to
algorithms at registration time.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c