[PATCH] sm3: implement SM3 hash algorithm
Werner Koch
wk at gnupg.org
Mon Oct 16 11:27:41 CEST 2017
On Sun, 15 Oct 2017 10:47, w.k at berkeley.edu said:
> gcrypt cannot have all new functions -- otherwise, why not balloon
> hashing and scrypt (the latter is used in many kinds of
> cryptocurrency)?
Libgcrypt features the SCRYPT KDF since 1.6.0.
Whether or not a algorithm is added to Libgcrypt does not only depend on
the strongness of a algorithm. There are algorithm in Libgcrypt which
are either known as weak or somehow suspect (MD5, MD2, Arcfour, RC2,
several curves). Reasons to include them are: They used to be
considered string, they are used in in protocols or data format
(e.g. MD5 in PGP-2), or there are political reasons (e.g. Camellia,
Seed). It is up to the application to decide which algorithm to use.
Recall that Libgcrypt is not GnuPG. GnuPG it is merely an application
using Libgcrypt and its has its own list of algorithms. Some of these
algorithm are used in a read-only way and will even print a warning when
used.
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 357 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20171016/c8953679/attachment.sig>
More information about the Gcrypt-devel
mailing list