]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - Added support for the CHACHA20 skcipher
authorPascal van Leeuwen <pascalvanl@gmail.com>
Wed, 18 Sep 2019 21:25:56 +0000 (23:25 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:04:32 +0000 (01:04 +1000)
commitdb66109abb5e4946d6a054a9e2a03b83c07ffbe2
treed368a2c83ba2223e98318e187b81a3cdede48a2d
parentfe3b7938ca3a9a2dd797b8a7f8f4db6454bcd639
crypto: inside-secure - Added support for the CHACHA20 skcipher

Added support for the CHACHA20 skcipher algorithm.
Tested on an eip197c-iesb configuration in the Xilinx VCU118 devboard,
passes all testmgr vectors plus the extra fuzzing tests.

changes since v1:
- rebased on top of DES library changes done on cryptodev/master
- fixed crypto/Kconfig so that generic fallback is compiled as well

changes since v2:
- made switch entry SAFEXCEL_AES explit and added empty default, as
  requested by Antoine Tenart. Also needed to make SM4 patches apply.

changes since v3:
- nothing

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_cipher.c