crypto: octeontx2 - register with linux crypto framework
CPT offload module utilises the linux crypto framework to offload crypto processing. This patch registers supported algorithms by calling registration functions provided by the kernel crypto API. The module currently supports: - AES block cipher in CBC,ECB and XTS mode. - 3DES block cipher in CBC and ECB mode. - AEAD algorithms. authenc(hmac(sha1),cbc(aes)), authenc(hmac(sha256),cbc(aes)), authenc(hmac(sha384),cbc(aes)), authenc(hmac(sha512),cbc(aes)), authenc(hmac(sha1),ecb(cipher_null)), authenc(hmac(sha256),ecb(cipher_null)), authenc(hmac(sha384),ecb(cipher_null)), authenc(hmac(sha512),ecb(cipher_null)), rfc4106(gcm(aes)). Signed-off-by:Suheil Chandran <schandran@marvell.com> Signed-off-by:
Lukasz Bartosik <lbartosik@marvell.com> Signed-off-by:
Srujana Challa <schalla@marvell.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
Showing
- drivers/crypto/marvell/Kconfig 4 additions, 0 deletionsdrivers/crypto/marvell/Kconfig
- drivers/crypto/marvell/octeontx2/Makefile 2 additions, 1 deletiondrivers/crypto/marvell/octeontx2/Makefile
- drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h 1 addition, 0 deletionsdrivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h
- drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c 1758 additions, 0 deletionsdrivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
- drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h 178 additions, 0 deletionsdrivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h
- drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c 11 additions, 1 deletiondrivers/crypto/marvell/octeontx2/otx2_cptvf_main.c
- drivers/crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c 7 additions, 0 deletionsdrivers/crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c
Please register or sign in to comment