Python support for AES-NI

独自空忆成欢 提交于 2019-12-10 17:17:23

问题


Is there a way to make use of AES-NI in Python? I do want to make HMAC faster by making use of my hardware support for AES-NI. Thanks.


回答1:


HMAC is using a secure cryptographic hash, not a symmetric cipher. You can make a "normal" MAC such as AES-CMAC perform better, but not a HMAC.



来源:https://stackoverflow.com/questions/14007542/python-support-for-aes-ni

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!