diff options
author | Eric Biggers <ebiggers@google.com> | 2019-06-03 08:47:14 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-06-13 09:31:40 +0300 |
commit | 860ab2e50204c41e713c54c752617d2da57f0fd7 (patch) | |
tree | 925afd2b64bb253f4963c9b6154ffb3306870824 /drivers/crypto/bcm/cipher.c | |
parent | 76cadf2244518d3b1610082d037b01e2651ea402 (diff) | |
download | linux-860ab2e50204c41e713c54c752617d2da57f0fd7.tar.xz |
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>
Diffstat (limited to 'drivers/crypto/bcm/cipher.c')
0 files changed, 0 insertions, 0 deletions