micropython / micropython-lib

Core Python libraries ported to MicroPython
Other
2.3k stars 980 forks source link

aes-cmac: aes-cmac function using cryptolib. #888

Open KianBahasadri opened 6 days ago

KianBahasadri commented 6 days ago

Hello, I've added a simple function that performs AES CMAC using the builtin cryptolib library. The code is from my own repository micropython-aes-cmac.

I did my best to meet the code and commit conventions, I used black to format my code, I also signed off my commit and followed the specified format.

Please let me know what improvements I could make. Thanks.