mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/6] crypto: hisilicon - supports hash algorithm for SEC engine
@ 2021-10-22  9:10 Kai Ye
  2021-10-22  9:10 ` [PATCH v3 1/6] crypto: hisilicon/sec - add ping-pong buffer for ahash Kai Ye
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Kai Ye @ 2021-10-22  9:10 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto, linux-kernel, wangzhou1, yekai13, liulongfang

The driver adds hash algorithms, sm3, md5, sha1,
sha256, sha512. Add fallback tfm supporting. Modify 
the driver as needed. The fuzzing test has been passed.

changes v1->v2:
	1. Modify the process of export and import. Using the ahash_req as
	   hash state. By copying the content of structure sec_ahash_req to
	   avoid dereferencing random pointers from import path. User can
	   export the hash state and then import the hash state, and it 
	   still work.
	2. Add sm3/md5 generic selection
	
changes v2->v3:
	1. Modify the process of export and import. Export the block of hash
	   state from the mac address, then user can import the existing hash
	   state.

Kai Ye (6):
  crypto: hisilicon/sec - add ping-pong buffer for ahash
  crypto: hisilicon/sec - add ahash alg features for Kunpeng920
  crypto: hisilicon/sec - support the larger packets for digest mode
  crypto: hisilicon/sec - ahash adapt to Kunpeng930 SQE
  crypto: hisilicon/sec - add fallback tfm supporting for ahash
  crypto: hisilicon/sec - add sm3/md5 generic selection for ahash

 drivers/crypto/hisilicon/Kconfig           |    2 +
 drivers/crypto/hisilicon/sec2/sec.h        |   56 +-
 drivers/crypto/hisilicon/sec2/sec_crypto.c | 1345 +++++++++++++++++++-
 drivers/crypto/hisilicon/sec2/sec_crypto.h |   10 +
 4 files changed, 1396 insertions(+), 17 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-11-13  6:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22  9:10 [PATCH v3 0/6] crypto: hisilicon - supports hash algorithm for SEC engine Kai Ye
2021-10-22  9:10 ` [PATCH v3 1/6] crypto: hisilicon/sec - add ping-pong buffer for ahash Kai Ye
2021-10-22  9:10 ` [PATCH v3 2/6] crypto: hisilicon/sec - add ahash alg features for Kunpeng920 Kai Ye
2021-11-13  6:01   ` Herbert Xu
2021-10-22  9:10 ` [PATCH v3 3/6] crypto: hisilicon/sec - support the larger packets for digest mode Kai Ye
2021-10-22  9:10 ` [PATCH v3 4/6] crypto: hisilicon/sec - ahash adapt to Kunpeng930 SQE Kai Ye
2021-10-22  9:10 ` [PATCH v3 5/6] crypto: hisilicon/sec - add fallback tfm supporting for ahash Kai Ye
2021-10-22  9:10 ` [PATCH v3 6/6] crypto: hisilicon/sec - add sm3/md5 generic selection " Kai Ye
2021-10-30  1:06 ` [PATCH v3 0/6] crypto: hisilicon - supports hash algorithm for SEC engine yekai(A)
2021-11-02  3:52   ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®