]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: chacha20poly1305 - Use skcipher
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Jul 2016 05:17:40 +0000 (13:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 18 Jul 2016 09:35:41 +0000 (17:35 +0800)
commit160116386227282b653f71ed10dbf92b4df46155
treeb2bfcc3cc716d88628b8b7561e98791162aa27b1
parent8dc29cc60ee5bd46e5eb02711429c884a1b2f886
crypto: chacha20poly1305 - Use skcipher

This patch converts chacha20poly1305 to use the new skcipher
interface as opposed to ablkcipher.

It also fixes a buglet where we may end up with an async poly1305
when the user asks for a async algorithm.  This shouldn't be a
problem yet as there aren't any async implementations of poly1305
out there.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/chacha20poly1305.c