问题
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