<div dir="ltr"><div>I am coding a 3GPP S1ap/NAS protocol test driver simulating a bunch of eNBs and UEs generating messages to the MME. The NAS protocol messages have a security header with a Message Authentication Field (MAC) in the header.<br><br><br></div><div>Does anyone know  of any Erlang code that can generate the MAC for the NAS header? When I searched the Internet, I found AES code on GITHUB implemented in C. I could use this, but I would have to use C port or NIF to use the use that code.<br><br></div><div>Any pointers or suggestions would be greatly appreciated<br></div><div><br><br><br></div><div>Thanks,<br><br></div><div>Ramana<br></div><div><br></div></div>