commit | bdecd22821a0fab1f5c9e4c9b7fba894593507d4 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jul 31 14:03:44 2008 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Aug 29 15:49:52 2008 +1000 |
tree | c741a5f39ca2f75c7f4f94a0b592f45bf3ff58ea | |
parent | 8cb51ba8e06570a5fff674b3744d12a1b089f2d0 [diff] |
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>