[New-bugs-announce] [issue47125] Explore hashlib use of the Windows Crypto API NG

Gregory P. Smith report at bugs.python.org
Fri Mar 25 20:53:13 EDT 2022


New submission from Gregory P. Smith <greg at krypto.org>:

https://docs.microsoft.com/en-us/windows/win32/seccng/creating-a-hash-with-cng

See if these are worthwhile vs using OpenSSL for the hashlib algorithms it supports.  OS APIs can in theory take better advantage of HW acceleration for performance.  Verify this on supported architectures.  Regardless it would allow some things to be fast if someone wanted to use a build without OpenSSL.

I'm not a Windows or Microsoft user.  I'm filing this for completeness, someone else would need to do the work.

similar macOS issue: https://bugs.python.org/issue47124
similar Linux issue: https://bugs.python.org/issue47102

----------
components: Extension Modules, Windows
messages: 416033
nosy: gregory.p.smith, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Explore hashlib use of the Windows Crypto API NG
type: performance

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47125>
_______________________________________


More information about the New-bugs-announce mailing list