rsa_md_to_mgf1
if (!rsa_md_to_mgf1(&oaep->maskGenFunc, mgf1md))
if (!rsa_md_to_mgf1(&pss->maskGenAlgorithm, mgf1md))