New submission from Gregory P. Smith <g...@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). https://www.kernel.org/doc/html/v4.10/crypto/userspace-if.html https://www.kernel.org/doc/html/v5.17/crypto/userspace-if.html https://www.chronox.de/libkcapi.html 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 <rep...@bugs.python.org> <https://bugs.python.org/issue47102> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com