Mimi Zohar <zo...@linux.vnet.ibm.com> wrote: > Hi, > > Looking at different examples of the same crypto call, it's unclear > whether it only returns negative error values. Some examples only test > for negative values, while others test for not 0. tcrypt.c does "if > (ret)". Would appreciate some clarification.
Unless the call can return positive values then it makes no difference. Which particular call are you talking about? Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html