[openssl/openssl] 7ae2bc: Add SM3 implementation in RISC-V Zksh asm

Tomas Mraz noreply at reply.github.openssl.org
Wed Jun 22 10:47:43 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 7ae2bc9df6e0916a8f16183f07dfa1815dd4b66d
      https://github.openssl.org/openssl/openssl/commit/7ae2bc9df6e0916a8f16183f07dfa1815dd4b66d
  Author: Hongren (Zenithal) Zheng <i at zenithal.me>
  Date:   2022-06-22 (Wed, 22 Jun 2022)

  Changed paths:
    M crypto/sm3/sm3_local.h

  Log Message:
  -----------
  Add SM3 implementation in RISC-V Zksh asm

This works for both RV32 and RV64

Signed-off-by: Hongren (Zenithal) Zheng <i at zenithal.me>

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18287)


  Commit: eea820f3e239a4c11d618741fd5d00a6bc877347
      https://github.openssl.org/openssl/openssl/commit/eea820f3e239a4c11d618741fd5d00a6bc877347
  Author: Hongren (Zenithal) Zheng <i at zenithal.me>
  Date:   2022-06-22 (Wed, 22 Jun 2022)

  Changed paths:
    M crypto/sm3/sm3_local.h
    M include/crypto/md32_common.h

  Log Message:
  -----------
  Add ROTATE inline asm support for SM3

And move ROTATE inline asm to header.

Now this benefits SM3, SHA (when with Zbb only and no Zknh)
and other hash functions

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18287)


Compare: https://github.openssl.org/openssl/openssl/compare/5317b6ee1fc3...eea820f3e239


More information about the openssl-commits mailing list