[PATCH] feat: crypt support sm3 algorithm

Cristian Rodríguez crrodriguez@opensuse.org
Thu Aug 4 15:02:22 GMT 2022


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.


More information about the Libc-alpha mailing list