Re: [PATCH v6 4/4] crypto: RSA padding algorithm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Zaborowski <andrew.zaborowski@xxxxxxxxx> wrote:
>
> +       err = crypto_akcipher_encrypt(&req_ctx->child_req);
> +       if (err != -EINPROGRESS && err != -EBUSY)
> +               return pkcs1pad_encrypt_sign_complete(req, err);

What if err == -EBUSY but the bit MAY_BACKLOG is not set? In that
case you need to call complete, right?

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux