]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: chacha20 - use rol32() macro from bitops.h
authorEric Biggers <ebiggers@google.com>
Mon, 1 Jan 2018 00:02:45 +0000 (18:02 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 Jan 2018 12:03:01 +0000 (23:03 +1100)
commit7660b1fb367eb3723b48d3980451fc4f25a05021
treebacea5539f6c0d2590e158fbef956bfed8971da0
parent75d68369b544acc5d14c18a827654dfff248d09d
crypto: chacha20 - use rol32() macro from bitops.h

For chacha20_block(), use the existing 32-bit left-rotate function
instead of defining one ourselves.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
lib/chacha20.c