Re: [PATCH v3 2/2] crypto: akcipher - Changes to asymmetric key API

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

 



On Tue, Sep 22, 2015 at 09:34:03AM -0700, Tadeusz Struk wrote:
>
>  struct akcipher_request {
>  	struct crypto_async_request base;
> -	void *src;
> -	void *dst;
> -	unsigned int src_len;
> -	unsigned int dst_len;
> +	struct scatterlist *src;
> +	struct scatterlist *dst;
> +	unsigned int out_len;

I think src_len/dst_len should be kept as the SG list may contain
more entries than the ones that you need to process.

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