Re: [PATCH v3 2/2] fscrypt: Add SM4 XTS/CTS symmetric algorithm support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Tianjia Zhang <tianjia.zhang@xxxxxxxxxxxxxxxxx>, Eric Biggers <ebiggers@xxxxxxxxxx>, "Theodore Y. Ts o" <tytso@xxxxxxx>, Jaegeuk Kim <jaegeuk@xxxxxxxxxx>, Jonathan Corbet <corbet@xxxxxxx>, Jens Axboe <axboe@xxxxxxxxx>, Ard Biesheuvel <ardb@xxxxxxxxxx>, linux-fscrypt@xxxxxxxxxxxxxxx, linux-doc@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-block@xxxxxxxxxxxxxxx
- Subject: Re: [PATCH v3 2/2] fscrypt: Add SM4 XTS/CTS symmetric algorithm support
- From: Bagas Sanjaya <bagasdotme@xxxxxxxxx>
- Date: Mon, 28 Nov 2022 20:33:54 +0700
- In-reply-to: <20221125121630.87793-3-tianjia.zhang@linux.alibaba.com>
- References: <20221125121630.87793-1-tianjia.zhang@linux.alibaba.com> <20221125121630.87793-3-tianjia.zhang@linux.alibaba.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0
On 11/25/22 19:16, Tianjia Zhang wrote:
> SM4 is a symmetric algorithm widely used in China, and is even mandatory
> in many scenarios. We need to provide these users with the ability to
> encrypt files or disks using SM4-XTS, and many other algorithms that use
> SM2/3/4 algorithms or their combined algorithm scenarios, these features
> are demanded by many users, this patch enables to use SM4-XTS mode to
> encrypt file content, and use SM4-CBC-CTS to encrypt filename.
>
Similar reply as [1]. That is, better say:
```
Add support for XTS and CTS mode variant of SM4 algorithm, in similar
fashion to SM2 and SM3. The former is used to encrypt file contents, while
the latter (SM4-CBC-CTS) is used to encrypt filenames.
```
Thanks.
[1]: https://lore.kernel.org/linux-doc/42624542-6ccb-26a5-db98-d7944972246e@xxxxxxxxx/
--
An old man doll... just what I always wanted! - Clara
[Index of Archives]
[linux Cryptography]
[Asterisk App Development]
[PJ SIP]
[Gnu Gatekeeper]
[IETF Sipping]
[Info Cyrus]
[ALSA User]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite News]
[Deep Creek Hot Springs]
[Yosemite Campsites]
[ISDN Cause Codes]