On Wed, Sep 18, 2019 at 11:25:55PM +0200, Pascal van Leeuwen wrote: > Extend driver support with chacha20, rfc7539(chacha20,poly1305) and > rfc7539esp(chacha20,poly1305) ciphers. > The patchset has been tested with the eip197c_iesb and eip197c_iewxkbc > configurations on the Xilinx VCU118 development board, including the > crypto extra tests. > > Note that this patchset applies on top of the earlier submitted > "Add support for the CBCMAC" series. > > 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: > - for rfc7539 and rfc7539esp, allow more (smaller) AAD lenghts to be > handled by the hardware instead of the fallback cipher (this allows > running the tcrypt performance tests on the actual hardware) > > Pascal van Leeuwen (3): > crypto: inside-secure - Added support for the CHACHA20 skcipher > crypto: inside-secure - Add support for the Chacha20-Poly1305 AEAD > crypto: Kconfig - Add CRYPTO_CHACHA20POLY1305 to CRYPTO_DEV_SAFEXCEL > > drivers/crypto/Kconfig | 3 +- > drivers/crypto/inside-secure/safexcel.c | 3 + > drivers/crypto/inside-secure/safexcel.h | 11 + > drivers/crypto/inside-secure/safexcel_cipher.c | 336 ++++++++++++++++++++++++- > 4 files changed, 339 insertions(+), 14 deletions(-) All applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt