Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python support for AES-NI

Tags:

python

aes

aes-ni

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.

like image 343
Hamza Avatar asked Nov 04 '22 07:11

Hamza


1 Answers

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.

like image 151
Maarten Bodewes Avatar answered Nov 12 '22 18:11

Maarten Bodewes