Re: What does EVP_PKEY_CTX_set_signature_md do?
Stef Bon <[email protected]> Thu, 11 Jun 2026 01:53:00 -0700 (PDT)
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_36730_1880624656.1781167980410 Content-Type: multipart/alternative; boundary="----=_Part_36731_305492530.1781167980410" ------=_Part_36731_305492530.1781167980410 Content-Type: text/plain; charset="UTF-8" Ok, so the signature contains a code about the hashalgorithm used? I did not know that. Ok that explains it. Since is also written: "The functions described here can't be used to combine separate algorithms. In particular, neither EVP_PKEY_CTX_set_signature_md(3) nor the OSSL_PARAM parameter "digest" (OSSL_SIGNATURE_PARAM_DIGEST) can be used to combine a signature algorithm with a hash algorithm to process the input. " That the hash algo used iis encoded n the signature is not documented. Stef -- You received this message because you are subscribed to the Google Groups "openssl-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/2830fa09-c1ff-4453-8b58-eb34183c5b94n%40openssl.org. ------=_Part_36731_305492530.1781167980410 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div>Ok,</div><div><br /></div><div>so the signature contains a code about = the hashalgorithm used?</div><div>I did not know that. Ok that explains it.= </div><div><br /></div><div>Since is also written:</div><div><br /></div><d= iv>"The functions described here can't be used to combine separate algorith= ms. In particular, neither EVP_PKEY_CTX_set_signature_md(3) nor the OSSL_PA= RAM parameter "digest" (OSSL_SIGNATURE_PARAM_DIGEST) can be used to combine= a signature algorithm with a hash algorithm to process the input. "</div><= div><br /></div><div>That the hash algo used iis encoded n the=C2=A0 signat= ure is not documented.</div><div><br /></div><div>Stef</div><br /> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;openssl-users" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:openssl-users+unsubscribe-MCmKBN63+BlAfugRpC6u6w@public.gmane.org">openssl-us= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/a/openss= l.org/d/msgid/openssl-users/2830fa09-c1ff-4453-8b58-eb34183c5b94n%40openssl= .org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/a/op= enssl.org/d/msgid/openssl-users/2830fa09-c1ff-4453-8b58-eb34183c5b94n%40ope= nssl.org</a>.<br /> ------=_Part_36731_305492530.1781167980410-- ------=_Part_36730_1880624656.1781167980410--