HomeFreeBSD

icp: reorganise SHA2 digest mechanisms

Description

icp: reorganise SHA2 digest mechanisms

sha2_mech_type_t serves double-duty, as the list of MAC providers and
also the algo type for direct callers to SHA2Init. Until we disentangle
that, reorganise it to make the separation more clear. While we're
there, remove the digest mechs we don't use.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16209

Details

Provenance
rob.norris_klarasystems.comAuthored on May 19 2024, 3:18 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 31 2024, 10:13 PM
Parents
rG1291c46ea4ba: icp: remove digest entry points
Branches
Unknown
Tags
Unknown