public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/5] Crypto Cleanup
@ 2019-01-17  6:47 Xiongfeng Wang
  2019-01-17  6:47 ` [PATCH V2 1/5] crypto: api - add a helper to (un)register a array of templates Xiongfeng Wang
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Xiongfeng Wang @ 2019-01-17  6:47 UTC (permalink / raw)
  To: herbert, davem, ebiggers
  Cc: wangxiongfeng2, linux-crypto, linux-kernel, broonie,
	ard.biesheuvel, jonathan.cameron

The patchset introduce a helper to (un)register a array of crypto templates.
The following patches use this helper to simplify the code. This is also
a preparation for a coming patchset, which will register several crypto
templates.

Changelog:
v1 -> v2: 
	rebased to cryptodev, fix some format issue

Xiongfeng Wang (5):
  crypto: api - add a helper to (un)register a array of templates
  crypto: ccm - use template array registering API to simplify the code
  crypto: gcm - use template array registering API to simplify the code
  crypto: ctr - use template array registering API to simplify the code
  crypto: chacha20poly1305 - use template array registering API to
    simplify the code

 crypto/algapi.c           | 27 ++++++++++++++++
 crypto/ccm.c              | 78 ++++++++++++++---------------------------------
 crypto/chacha20poly1305.c | 37 +++++++++-------------
 crypto/ctr.c              | 43 +++++++++-----------------
 crypto/gcm.c              | 73 ++++++++++++++------------------------------
 include/crypto/algapi.h   |  2 ++
 6 files changed, 104 insertions(+), 156 deletions(-)

-- 
1.7.12.4

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

end of thread, other threads:[~2019-01-18  2:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-17  6:47 [PATCH V2 0/5] Crypto Cleanup Xiongfeng Wang
2019-01-17  6:47 ` [PATCH V2 1/5] crypto: api - add a helper to (un)register a array of templates Xiongfeng Wang
2019-01-17  6:48 ` [PATCH V2 2/5] crypto: ccm - use template array registering API to simplify the code Xiongfeng Wang
2019-01-17  6:48 ` [PATCH V2 3/5] crypto: gcm " Xiongfeng Wang
2019-01-17  6:48 ` [PATCH V2 4/5] crypto: ctr " Xiongfeng Wang
2019-01-18  2:58   ` Eric Biggers
2019-01-17  6:48 ` [PATCH V2 5/5] crypto: chacha20poly1305 " Xiongfeng Wang
2019-01-18  2:57 ` [PATCH V2 0/5] Crypto Cleanup Eric Biggers

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