I wonder if this can be adapted to an Arduino library?

https://blogs.aws.amazon.com/security/post/TxCKZM94ST1S6Y/Introducing-s2n-a