This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gregory.p.smith
Recipients gregory.p.smith, ned.deily, ronaldoussoren
Date 2022-03-27.17:57:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648403832.93.0.775501598034.issue47124@roundup.psfhosted.org>
In-reply-to
Content
I only pointed to that API after a brief search without looking at details (Swift? oops!). If there is one available from C that'd also make sense to consider.

The only things I expect, relevant to hashlib, that would be accelerated by OS native APIs most platforms are SHA2, maybe SHA1, and sometimes HMAC using those.

I'm in no position to judge if there is value in using them, I'm just assuming there might be.  The irony is that builds without OpenSSL are rare, so unless the OS native APIs provide tangible benefits it may not matter.

(ex: the Linux APIs may allow for an efficient zero-copy variant of the new `hashlib.file_digest()` function)
History
Date User Action Args
2022-03-27 17:57:12gregory.p.smithsetrecipients: + gregory.p.smith, ronaldoussoren, ned.deily
2022-03-27 17:57:12gregory.p.smithsetmessageid: <1648403832.93.0.775501598034.issue47124@roundup.psfhosted.org>
2022-03-27 17:57:12gregory.p.smithlinkissue47124 messages
2022-03-27 17:57:12gregory.p.smithcreate