commit | 860ab2e50204c41e713c54c752617d2da57f0fd7 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Sun Jun 02 22:47:14 2019 -0700 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 13 14:31:40 2019 +0800 |
tree | 925afd2b64bb253f4963c9b6154ffb3306870824 | |
parent | 76cadf2244518d3b1610082d037b01e2651ea402 [diff] |
crypto: chacha - constify ctx and iv arguments 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@google.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>