[New-bugs-announce] [issue47102] explore hashlib use of the Linux Kernel CryptoAPI

Gregory P. Smith report at bugs.python.org
Wed Mar 23 15:30:13 EDT 2022

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

Linux kernels provide a CryptoAPI. This is a common place for platform specific hardware accelerated hash algorithms to be exposed to the user (especially on SoCs which often have non-standard hardware).


hashlib currently uses OpenSSL when possible for performance.  We could also look at querying the kernel API.  How to decide between the two implementations when both are present is something TBD.

This would probably be best done via a configure time check for libkcapi?

messages: 415896
nosy: christian.heimes, gregory.p.smith
priority: normal
severity: normal
status: open
title: explore hashlib use of the Linux Kernel CryptoAPI
type: enhancement

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list