Skip to content
Commit bdecd228 authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 8cb51ba8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment