Message ID | 20240328182652.3587727-1-pavitrakumarm@vayavyalabs.com (mailing list archive) |
---|---|
Headers | show |
Series | Add spacc crypto driver support | expand |
On Thu, Mar 28, 2024 at 11:56:48PM +0530, Pavitrakumar M wrote: > Add the driver for SPAcc(Security Protocol Accelerator), which is a > crypto acceleration IP from Synopsys. The SPAcc supports many cipher, > hash, aead algorithms and various modes.The driver currently supports > below, > > aead: > - ccm(sm4) > - ccm(aes) > - gcm(sm4) > - gcm(aes) > - rfc8998(gcm(sm4)) > - rfc7539(chacha20,poly1305) > > cipher: > - cbc(sm4) > - ecb(sm4) > - ofb(sm4) > - cfb(sm4) > - ctr(sm4) > - cbc(aes) > - ecb(aes) > - ctr(aes) > - xts(aes) > - cts(cbc(aes)) > - cbc(des) > - ecb(des) > - cbc(des3_ede) > - ecb(des3_ede) > - chacha20 > - xts(sm4) > - cts(cbc(sm4)) > - ecb(kasumi) > - f8(kasumi) > - snow3g_uea2 > - cs1(cbc(aes)) > - cs2(cbc(aes)) > - cs1(cbc(sm4)) > - cs2(cbc(sm4)) > - f8(sm4) > > hash: > - michael_mic > - sm3 > - hmac(sm3) > - sha3-512 > - sha3-384 > - sha3-256 > - sha3-224 > - hmac(sha512) > - hmac(sha384) > - hmac(sha256) > - hmac(sha224) > - sha512 > - sha384 > - sha256 > - sha224 > - sha1 > - hmac(sha1) > - md5 > - hmac(md5) > - cmac(sm4) > - xcbc(aes) > - cmac(aes) > - xcbc(sm4) > - sha512-224 > - hmac(sha512-224) > - sha512-256 > - hmac(sha512-256) > - mac(kasumi_f9) > - mac(snow3g) > - mac(zuc) > - sslmac(sha1) > - shake128 > - shake256 > - cshake128 > - cshake256 > - kcmac128 > - kcmac256 > - kcmacxof128 > - kcmacxof256 > - sslmac(md5) We don't add hardware implementations without software counterparts. So please prune your list of algorithms according to this rule. Thanks,
Sure Herbert, I have removed all those that dont have software implementation and pushing v2 patch. wwr, PK On Fri, Apr 5, 2024 at 12:38 PM Herbert Xu <herbert@gondor.apana.org.au> wrote: > > On Thu, Mar 28, 2024 at 11:56:48PM +0530, Pavitrakumar M wrote: > > Add the driver for SPAcc(Security Protocol Accelerator), which is a > > crypto acceleration IP from Synopsys. The SPAcc supports many cipher, > > hash, aead algorithms and various modes.The driver currently supports > > below, > > > > aead: > > - ccm(sm4) > > - ccm(aes) > > - gcm(sm4) > > - gcm(aes) > > - rfc8998(gcm(sm4)) > > - rfc7539(chacha20,poly1305) > > > > cipher: > > - cbc(sm4) > > - ecb(sm4) > > - ofb(sm4) > > - cfb(sm4) > > - ctr(sm4) > > - cbc(aes) > > - ecb(aes) > > - ctr(aes) > > - xts(aes) > > - cts(cbc(aes)) > > - cbc(des) > > - ecb(des) > > - cbc(des3_ede) > > - ecb(des3_ede) > > - chacha20 > > - xts(sm4) > > - cts(cbc(sm4)) > > - ecb(kasumi) > > - f8(kasumi) > > - snow3g_uea2 > > - cs1(cbc(aes)) > > - cs2(cbc(aes)) > > - cs1(cbc(sm4)) > > - cs2(cbc(sm4)) > > - f8(sm4) > > > > hash: > > - michael_mic > > - sm3 > > - hmac(sm3) > > - sha3-512 > > - sha3-384 > > - sha3-256 > > - sha3-224 > > - hmac(sha512) > > - hmac(sha384) > > - hmac(sha256) > > - hmac(sha224) > > - sha512 > > - sha384 > > - sha256 > > - sha224 > > - sha1 > > - hmac(sha1) > > - md5 > > - hmac(md5) > > - cmac(sm4) > > - xcbc(aes) > > - cmac(aes) > > - xcbc(sm4) > > - sha512-224 > > - hmac(sha512-224) > > - sha512-256 > > - hmac(sha512-256) > > - mac(kasumi_f9) > > - mac(snow3g) > > - mac(zuc) > > - sslmac(sha1) > > - shake128 > > - shake256 > > - cshake128 > > - cshake256 > > - kcmac128 > > - kcmac256 > > - kcmacxof128 > > - kcmacxof256 > > - sslmac(md5) > > We don't add hardware implementations without software counterparts. > So please prune your list of algorithms according to this rule. > > Thanks, > -- > Email: Herbert Xu <herbert@gondor.apana.org.au> > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt