2016-07-04 12:20:14

by Harsh Jain

[permalink] [raw]
Subject: Why null skcipher to copy AAD data?

Hi,

Why we need null skcipher to copy AAD from src to dst buffer. We can
do the same with some function,who can copy data from src sg list to
dst sg list.

Regards
Harsh Jain


2016-07-05 05:04:00

by Herbert Xu

[permalink] [raw]
Subject: Re: Why null skcipher to copy AAD data?

Harsh Jain <[email protected]> wrote:
>
> Why we need null skcipher to copy AAD from src to dst buffer. We can
> do the same with some function,who can copy data from src sg list to
> dst sg list.

Well first of all we don't have such a function, and even if
you took the trouble of actually writing one would it really
be that much faster than using the null skcipher?

Cheers,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt