crypto: lib/chacha20poly1305 - use chacha20_crypt()
authorEric Biggers <ebiggers@google.com>
Mon, 18 Nov 2019 07:22:16 +0000 (23:22 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Nov 2019 10:48:39 +0000 (18:48 +0800)
commit413808b71e6204b0cc1eeaa77960f7c3cd381d33
tree066de837a558fe66c353eda30ffd2ee15c1f0b64
parentb62755aed3a3f5ca9edd2718339ccea3b6bbbe57
crypto: lib/chacha20poly1305 - use chacha20_crypt()

Use chacha20_crypt() instead of chacha_crypt(), since it's not really
appropriate for users of the ChaCha library API to be passing the number
of rounds as an argument.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
lib/crypto/chacha20poly1305.c