[openssl/openssl] 81bafa: Add support for SHA256/192

Fergus Dall noreply at github.com
Tue Jun 27 22:03:06 UTC 2023

  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 81bafac5cbbd195ff9c53a06aaca7c3eacbb2fc0
  Author: Fergus Dall <sidereal at google.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M CHANGES.md
    M crypto/sha/sha256.c
    M doc/man7/EVP_MD-SHA2.pod
    M include/crypto/sha.h
    M include/openssl/core_names.h.in
    M include/openssl/sha.h
    M providers/defltprov.c
    M providers/implementations/digests/sha2_prov.c
    M providers/implementations/include/prov/implementations.h
    M providers/implementations/include/prov/names.h
    M test/recipes/30-test_evp_data/evpmac_common.txt
    M test/recipes/30-test_evp_data/evpmd_sha.txt

  Log Message:
  Add support for SHA256/192

This is defined in NIST SP 800-208 as the truncation to 192 bits of
SHA256. Unlike other truncated hashes in the SHA2 suite, this variant
doesn't have a different initial state, it is just a pure truncation
of the output.

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

More information about the openssl-commits mailing list