c25519[1] is a library optimized for embedded applications handling ed25519 signing and x25519 crypto. It uses significantly less memory and flash compared to TweetNaCl and is significantly faster when used on a samr21-xpro [1]: https://www.dlbeer.co.nz/oss/c25519.html