mbedtls/3rdparty/p256-m
Aditya Deshpande caed18e741 Add README in p256-m/
Signed-off-by: Aditya Deshpande <aditya.deshpande@arm.com>
2023-04-28 17:54:15 +01:00
..
p256-m Integrate p256-m as an example driver alongside Mbed TLS and write documentation for the example. 2023-04-28 17:54:09 +01:00
Makefile.inc Integrate p256-m as an example driver alongside Mbed TLS and write documentation for the example. 2023-04-28 17:54:09 +01:00
p256-m_driver_entrypoints.c Rename p256m to p256 for uniform function/macro prefixes 2023-04-28 17:54:15 +01:00
p256-m_driver_entrypoints.h Remove unnecessary no-check-names comments 2023-04-28 17:54:15 +01:00
README.md Add README in p256-m/ 2023-04-28 17:54:15 +01:00

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. The files p256-m.c and .h have been taken from the repository. 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 does not supply its own cryptographically secure RNG function. An implementation based on rand() (taken from benchmark.c in the p256-m repo) has been added to p256-m.c to support key generation. This means that while key generation will work, p256-m's key generation entry point should not be called in production builds.