Thread (8 messages) 8 messages, 4 authors, 2021-11-29

Re: [PATCH v3 0/2] use SM3 instead of SM3_256

From: James Bottomley <hidden>
Date: 2021-10-28 13:08:25
Also in: keyrings, linux-doc, linux-integrity, linux-security-module, lkml

On Tue, 2021-10-26 at 18:08 +0200, Ard Biesheuvel wrote:
On Tue, 26 Oct 2021 at 09:56, Tianjia Zhang
[off-list ref] wrote:
quoted
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.
What is the point of these changes? Having '256' in the identifiers
is merely redundant and not factually incorrect, so why can't we just
leave these as they are?
Me too on this.  Plus the various standards bodies we follow are still
using the 256 suffix and it's not clear they'll change.

Finally, I'm not sure, given the confusion over sha256 and sha3-256,
that the IETF won't eventually decide that all hash algorithms should
be designated by <algorithm>-<bitlength> in which case this will get
churned again ...

James

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help