• Herbert Xu's avatar
    crypto: tcrypt - Abort and only log if there is an error · bdecd228
    Herbert Xu authored
    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>
    bdecd228
tcrypt.c 50.6 KB