libedhoc

libedhoc is a C implementation of the Ephemeral Diffie-Hellman Over COSE (EDHOC) protocol — a lightweight authenticated key exchange for IoT and constrained devices. It provides mutual authentication, forward secrecy and identity protection, and is standardised by the IETF as RFC 9528 and verified against the test vectors of RFC 9529.

Start here