The aim of the PolarSSL project is to provide a quality, open-source cryptographic library written in C and targeted at embedded systems. See https://polarssl.org for more details.