Hi guys, Im triying to use the EVP_MAC OpenSSL API with the CMAC_AES256, I have been using some testing vectors I found on github, but seems they doesn’t work on the CMAC of OpenSSl, as the expected output of the test vectors are different
from the OpenSSL CMAC output. I attach a screenshot of the test vectors we are using, and how we are introducing it on our key and plaintext variables, the CMAC code is the demo code on OpenSSL github. |
Attachment:
Capture.PNG
Description: Capture.PNG
Attachment:
Capture2.PNG
Description: Capture2.PNG
Attachment:
Capture3.PNG
Description: Capture3.PNG