xof: Fix mapping for SHA3-512 to a corresponding MGF1 identifier

Fixes: 3b7c49bc31 ("mgf1: Support of RSA PSS with SHA3 hash")
This commit is contained in:
Tobias Brunner
2026-05-19 17:27:33 +02:00
parent a26dd3da33
commit 3b224a70ba
+1 -1
View File
@@ -57,7 +57,7 @@ ext_out_function_t xof_mgf1_from_hash_algorithm(hash_algorithm_t alg)
case HASH_SHA3_384:
return XOF_MGF1_SHA3_384;
case HASH_SHA3_512:
return XOF_MGF1_SHA3_384;
return XOF_MGF1_SHA3_512;
case HASH_IDENTITY:
case HASH_UNKNOWN:
case HASH_MD4: