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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user