tree: 146b963b19ad087a49e12c470334dda0cef2f756 [path history] [tgz]
  1. p256-m/
  2. CMakeLists.txt
  3. Makefile.inc
  4. p256-m_driver_entrypoints.c
  5. p256-m_driver_entrypoints.h
  6. README.md
3rdparty/p256-m/README.md

The files within the p256-m/ subdirectory originate from the p256-m GitHub repository, which is distributed under the Apache 2.0 license. They are authored by Manuel Pégourié-Gonnard. p256-m is a minimalistic implementation of ECDH and ECDSA on NIST P-256, especially suited to constrained 32-bit environments. Mbed TLS documentation for integrating drivers uses p256-m as an example of a software accelerator, and describes how it can be integrated alongside Mbed TLS. It should be noted that p256-m files in the Mbed TLS repo will not be updated regularly, so they may not have fixes and improvements present in the upstream project.

The files p256-m.c and .h, along with the license, have been taken from the p256-m repository. It should be noted that p256-m deliberately does not supply its own cryptographically secure RNG function. As a result, the PSA RNG is used, with p256_generate_random() wrapping psa_generate_random().