aboutsummaryrefslogtreecommitdiff
path: root/3rdparty
diff options
context:
space:
mode:
authorAditya Deshpande <aditya.deshpande@arm.com>2023-02-08 14:26:23 +0000
committerAditya Deshpande <aditya.deshpande@arm.com>2023-04-28 17:54:15 +0100
commitcaed18e741f8afe02cf54ad3c575552e00ee67b3 (patch)
tree49a40138d7689ea8c4d8b1775602f0b2c8f4fe29 /3rdparty
parenta9612d00a4a54e143da21584d9339df15bbca2a8 (diff)
downloadmbedtls-caed18e741f8afe02cf54ad3c575552e00ee67b3.zip
mbedtls-caed18e741f8afe02cf54ad3c575552e00ee67b3.tar.gz
mbedtls-caed18e741f8afe02cf54ad3c575552e00ee67b3.tar.bz2
Add README in p256-m/
Signed-off-by: Aditya Deshpande <aditya.deshpande@arm.com>
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/p256-m/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/3rdparty/p256-m/README.md b/3rdparty/p256-m/README.md
new file mode 100644
index 0000000..5efbd12
--- /dev/null
+++ b/3rdparty/p256-m/README.md
@@ -0,0 +1,3 @@
+The files within the `p256-m/` subdirectory originate from the [p256-m GitHub repository](https://github.com/mpg/p256-m), 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.