public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add SM4 XTS symmetric algorithm for blk-crypto and fscrypt
@ 2022-11-16  8:24 Tianjia Zhang
  2022-11-16  8:24 ` [PATCH 1/2] blk-crypto: Add support for SM4-XTS blk crypto mode Tianjia Zhang
  2022-11-16  8:24 ` [PATCH 2/2] fscrypt: Add SM4 XTS/CTS symmetric algorithm support Tianjia Zhang
  0 siblings, 2 replies; 5+ messages in thread
From: Tianjia Zhang @ 2022-11-16  8:24 UTC (permalink / raw)
  To: Theodore Y. Ts o, Jaegeuk Kim, Eric Biggers, Jonathan Corbet,
	Jens Axboe, linux-fscrypt, linux-doc, linux-kernel, linux-block
  Cc: Tianjia Zhang

SM4 is widely used in China's data encryption software and hardware.
This serial of patches enables the SM4-XTS algorithm in blk-crypto and
enables the SM4-XTS/CTS algorithm in fscrypt to encrypt file content
and filename.

Tianjia Zhang (2):
  blk-crypto: Add support for SM4-XTS blk crypto mode
  fscrypt: Add SM4 XTS/CTS symmetric algorithm support

 Documentation/filesystems/fscrypt.rst |  1 +
 block/blk-crypto.c                    |  6 ++++++
 fs/crypto/fscrypt_private.h           |  2 +-
 fs/crypto/keysetup.c                  | 15 +++++++++++++++
 fs/crypto/policy.c                    |  4 ++++
 include/linux/blk-crypto.h            |  1 +
 include/uapi/linux/fscrypt.h          |  4 +++-
 7 files changed, 31 insertions(+), 2 deletions(-)

-- 
2.24.3 (Apple Git-128)


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

end of thread, other threads:[~2022-11-17  2:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-16  8:24 [PATCH 0/2] Add SM4 XTS symmetric algorithm for blk-crypto and fscrypt Tianjia Zhang
2022-11-16  8:24 ` [PATCH 1/2] blk-crypto: Add support for SM4-XTS blk crypto mode Tianjia Zhang
2022-11-16  8:24 ` [PATCH 2/2] fscrypt: Add SM4 XTS/CTS symmetric algorithm support Tianjia Zhang
2022-11-16 17:26   ` Eric Biggers
2022-11-17  2:58     ` Tianjia Zhang

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