The TinyCrypt Library provides an implementation for constrained devices of a minimal set of standard cryptography primitives. See the "documentation" folder at
ISSM_ROOT/firmware/lib/tinycrypt-0.1.0/ for more information on the supported cryptographic primitives and the limitations of TinyCrypt library.
Note that the sample code is provided only as a reference. Use README and docs included as a guide to adapt TinyCrypt in your desired use case.