linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] use SM3 instead of SM3_256
@ 2021-10-26  7:56 Tianjia Zhang
  2021-10-26  7:56 ` [PATCH v3 1/2] crypto: " Tianjia Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tianjia Zhang @ 2021-10-26  7:56 UTC (permalink / raw)
  To: James Bottomley, Jarkko Sakkinen, Mimi Zohar, Jonathan Corbet,
	Herbert Xu, David S. Miller, Peter Huewe, Jason Gunthorpe,
	David Howells, James Morris, Serge E. Hallyn, Jerry Snitselaar,
	linux-integrity, keyrings, linux-doc, linux-kernel, linux-crypto,
	linux-security-module
  Cc: Tianjia Zhang

According to https://tools.ietf.org/id/draft-oscca-cfrg-sm3-01.html,
SM3 always produces a 256-bit hash value and there are no plans for
other length development, so there is no ambiguity in the name of sm3.

---
v3 changes:
 - The fix of document trusted-encrypted.rst is put in patch 2

v2 changes:
 - an additional macro with the same value is defined for uapi instead
   of renaming directly

Tianjia Zhang (2):
  crypto: use SM3 instead of SM3_256
  tpm: use SM3 instead of SM3_256

 Documentation/security/keys/trusted-encrypted.rst | 2 +-
 crypto/hash_info.c                                | 4 ++--
 drivers/char/tpm/tpm-sysfs.c                      | 4 ++--
 drivers/char/tpm/tpm2-cmd.c                       | 2 +-
 include/crypto/hash_info.h                        | 2 +-
 include/linux/tpm.h                               | 2 +-
 include/uapi/linux/hash_info.h                    | 3 ++-
 security/keys/trusted-keys/trusted_tpm2.c         | 2 +-
 8 files changed, 11 insertions(+), 10 deletions(-)

-- 
2.19.1.3.ge56e4f7


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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-26  7:56 [PATCH v3 0/2] use SM3 instead of SM3_256 Tianjia Zhang
2021-10-26  7:56 ` [PATCH v3 1/2] crypto: " Tianjia Zhang
2021-10-28  6:44   ` Jarkko Sakkinen
2021-10-26  7:56 ` [PATCH v3 2/2] tpm: " Tianjia Zhang
2021-10-28 12:56   ` James Bottomley
2021-10-26 16:08 ` [PATCH v3 0/2] " Ard Biesheuvel
2021-10-28 13:07   ` James Bottomley
2021-11-29 13:01   ` Tianjia Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).