Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 547 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 547 Bytes

BastWAN_SHA2

cf this thread.

I need to add MAC to my LoRa messaging code, to authenticate the messages. On WisBlock, the Adafruit nRFCrypto library provides SHA-1, SHA-224, SHA-256 and SHA-512, but there's no such luxury on ATSAMR34 (that powers the RAK4260 & BastWAN). So there you go.

Sample code does just a couple of tests. Feel free to enhance it. SHA and HMAC implementation by Olivier Gay.