public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "Cristian Rodríguez" <crrodriguez@opensuse.org>
To: Mingjun Yang <yangmingjun@uniontech.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH] feat: crypt support sm3 algorithm
Date: Thu, 4 Aug 2022 11:02:22 -0400	[thread overview]
Message-ID: <CAPBLoAc_ve5AafK-+jtFSJo68T+kWjUj4O=_T9O3YaiRRVRovw@mail.gmail.com> (raw)
In-Reply-To: <20220801025359.1363-1-yangmingjun@uniontech.com>

On Sun, Jul 31, 2022 at 10:54 PM Mingjun Yang <yangmingjun@uniontech.com> wrote:
>
> This patch aim to let crypt packet support SM3 algorithms, the
> proccess of SM3 encryption is the same to this semi-formal
> SHA-crypt document (https://www.akkadia.org/drepper/SHA-crypt.txt).
> noted that this patch define that SM3 algorithms ID is 8.
>
> SM3 algorithm is defined in section 23 of ISO/IEC 10118-3:2018
> (https://www.iso.org/standard/67116.html)
> SM3 is similar to SHA256, but its algorithm is more complex.
> SM3 is much safer than SHA256 at the same bit size.
>
> Signed-off-by: Mingjun Yang <yangmingjun@uniontech.com>


Cool, but you have a talk to libxcrypt developers.

https://github.com/besser82/libxcrypt

No mainstream distribution uses the version included with glibc anymore AFAIK.

      parent reply	other threads:[~2022-08-04 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-01  2:53 Mingjun Yang
2022-08-04 14:44 ` Carlos O'Donell
2022-08-04 15:02 ` Cristian Rodríguez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPBLoAc_ve5AafK-+jtFSJo68T+kWjUj4O=_T9O3YaiRRVRovw@mail.gmail.com' \
    --to=crrodriguez@opensuse.org \
    --cc=libc-alpha@sourceware.org \
    --cc=yangmingjun@uniontech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).