Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Tadeusz Struk <tadeusz.struk@intel.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-crypto@vger.kernel.org, qat-linux@intel.com
Subject: Re: [PATCH v4 0/3] crypto: akcipher - Changes to asymmetric key API
Date: Thu, 1 Oct 2015 20:40:26 -0700	[thread overview]
Message-ID: <560DFCAA.2040609@intel.com> (raw)
In-Reply-To: <20151002032000.GA32754@gondor.apana.org.au>

On 10/01/2015 08:20 PM, Herbert Xu wrote:
>> Changes in v4:
>> > - add back src_len and dst_len
> So why do you still use sg_len? The length of the SG list is
> irrelevant now that you have src_len/dst_len.

I do use src_len for processing. The sg_len() is still useful for
parameter checking to make sure that src_len <= sg_len(req->src)
Thanks

  reply	other threads:[~2015-10-02  3:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 20:28 [PATCH v4 0/3] crypto: akcipher - Changes to asymmetric key API Tadeusz Struk
2015-10-01 20:28 ` [PATCH v4 1/3] lib/scatterlist: Add sg_len helper Tadeusz Struk
2015-10-01 20:28 ` [PATCH v4 2/3] lib/mpi: Add mpi sgl helpers Tadeusz Struk
2015-10-01 20:29 ` [PATCH v4 3/3] crypto: akcipher - Changes to asymmetric key API Tadeusz Struk
2015-10-02  3:20 ` [PATCH v4 0/3] " Herbert Xu
2015-10-02  3:40   ` Tadeusz Struk [this message]
2015-10-02  4:04     ` Herbert Xu
2015-10-02  4:09       ` Tadeusz Struk
2015-10-02  4:14         ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560DFCAA.2040609@intel.com \
    --to=tadeusz.struk@intel.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=qat-linux@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox