Linux block layer
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add SM4 XTS symmetric algorithm for blk-crypto and fscrypt
@ 2022-11-22  7:06 Tianjia Zhang
  2022-11-22  7:06 ` [PATCH v2 1/2] blk-crypto: Add support for SM4-XTS blk crypto mode Tianjia Zhang
  2022-11-22  7:06 ` [PATCH v2 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-22  7:06 UTC (permalink / raw)
  To: Theodore Y. Ts o, Jaegeuk Kim, Eric Biggers, Jonathan Corbet,
	Jens Axboe, Ard Biesheuvel, 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.

v2 change:
  - As Eric said, the new FSCRYPT_MODE is defined for the unused numbers 7 and 8

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/keysetup.c                  | 15 +++++++++++++++
 fs/crypto/policy.c                    |  4 ++++
 include/linux/blk-crypto.h            |  1 +
 include/uapi/linux/fscrypt.h          |  2 ++
 6 files changed, 29 insertions(+)

-- 
2.24.3 (Apple Git-128)


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

end of thread, other threads:[~2022-11-24  7:59 UTC | newest]

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

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