Message309101
| Author |
christian.heimes |
| Recipients |
alex, aronacher, christian.heimes, dstufft, egbutter, gregory.p.smith, yselivanov |
| Date |
2017年12月27日.19:56:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1514404568.55.0.213398074469.issue21288@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Is anybody interested still to solve the problem? I don't see a viable way to solve the issue in a correct way (*). The hashlib API is not designed to provide sufficient information from a digestmod object. I don't want to include hacks like mapping _hashlib.openssl_sha256 function to SHA256 EVP_MD.
(*) correct means: don't call the function, always reuse the hasher's EVP_MD* context and never fall back to slow path silently. |
|