Re: [PATCH] crypto: chacha - constify ctx and iv arguments

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

 



Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
> From: Eric Biggers <ebiggers@xxxxxxxxxx>
> 
> Constify the ctx and iv arguments to crypto_chacha_init() and the
> various chacha*_stream_xor() functions.  This makes it clear that they
> are not modified.
> 
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> ---
> arch/arm/crypto/chacha-neon-glue.c   | 2 +-
> arch/arm64/crypto/chacha-neon-glue.c | 2 +-
> arch/x86/crypto/chacha_glue.c        | 2 +-
> crypto/chacha_generic.c              | 4 ++--
> include/crypto/chacha.h              | 2 +-
> 5 files changed, 6 insertions(+), 6 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



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

  Powered by Linux