OSDN Git Service

crypto: chacha20 - Export common ChaCha20 helpers
authorMartin Willi <martin@strongswan.org>
Thu, 16 Jul 2015 17:14:00 +0000 (19:14 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 17 Jul 2015 13:20:21 +0000 (21:20 +0800)
commit31d7247da57226e847f0f102a10c27c0722c429b
tree3ca25c75fc443d974213e845d5999fd41b578091
parent2dce063a31ae6cbaf39964663fc59d10bef38d15
crypto: chacha20 - Export common ChaCha20 helpers

As architecture specific drivers need a software fallback, export a
ChaCha20 en-/decryption function together with some helpers in a header
file.

Signed-off-by: Martin Willi <martin@strongswan.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/chacha20_generic.c
crypto/chacha20poly1305.c
include/crypto/chacha20.h [new file with mode: 0644]