-3

I'm looking for AES128 library with CMAC for Arduino. Help me to find one

2
  • Did you ask Professor Google? Apr 26, 2018 at 18:55
  • Yes, i search in google but i don't find any library aes128 cmac with example to use it, thank you
    – MED-AMINE
    Apr 26, 2018 at 18:58

1 Answer 1

2

I happen to know some libraries which use this. AES128-CMAC is for example used in the LoRaWAN MAC / driver implementation (LoRa is a low-power-wide-range radio technology). For example, the library Arduino-LMIC (LoRa MAC in C) uses this AES-CMAC implementation (has actually 2 built-in, Ideetron is the other one):

Other stacks use the mbedtls library with only the AES and CMAC layer activated. The library, written by ARM, is entirely in C and thus easily configrable (config.h) and compilable for the Arduino platform:

Semetech's LoRa stack even has AES and CMAC abstracted in 4 four files:

Another good point would be to search PlatformIO's library index for "AES CMAC". Then this library comes up:

This also offers a CMAC implementation specifically designed for the Atmel AVR MCUs (Arduino Uno and likes) and partially written in Assembler. This should be best suited for you.

1
  • Thanks for your answer, I am already working on LoraWan device and a network server .
    – MED-AMINE
    Apr 26, 2018 at 22:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.