aboutsummaryrefslogtreecommitdiff
path: root/lib/mbedtls-2.27.0/docs/proposed/psa-driver-integration-guide.md
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-07-06 06:37:41 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-07-06 06:37:41 -0400
commit9db10386430479067795bec66bb26343ff176ded (patch)
tree5ad0cf95abde7cf03afaf8f70af8549d46b09a46 /lib/mbedtls-2.27.0/docs/proposed/psa-driver-integration-guide.md
parent57092d80cb07fa1a84873769fa92165426196054 (diff)
downloadlite-xl-plugin-manager-9db10386430479067795bec66bb26343ff176ded.tar.gz
lite-xl-plugin-manager-9db10386430479067795bec66bb26343ff176ded.zip
Removed old mbedtls, replacing with submodule.
Diffstat (limited to 'lib/mbedtls-2.27.0/docs/proposed/psa-driver-integration-guide.md')
-rw-r--r--lib/mbedtls-2.27.0/docs/proposed/psa-driver-integration-guide.md45
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/mbedtls-2.27.0/docs/proposed/psa-driver-integration-guide.md b/lib/mbedtls-2.27.0/docs/proposed/psa-driver-integration-guide.md
deleted file mode 100644
index bfd765e..0000000
--- a/lib/mbedtls-2.27.0/docs/proposed/psa-driver-integration-guide.md
+++ /dev/null
@@ -1,45 +0,0 @@
-Building Mbed TLS with PSA cryptoprocessor drivers
-==================================================
-
-**This is a specification of work in progress. The implementation is not yet merged into Mbed TLS.**
-
-This document describes how to build Mbed TLS with additional cryptoprocessor drivers that follow the PSA cryptoprocessor driver interface.
-
-The interface is not fully implemented in Mbed TLS yet and is disabled by default. You can enable the experimental work in progress by setting `MBEDTLS_PSA_CRYPTO_DRIVERS` in the compile-time configuration. Please note that the interface may still change: until further notice, we do not guarantee backward compatibility with existing driver code when `MBEDTLS_PSA_CRYPTO_DRIVERS` is enabled.
-
-## Introduction
-
-The PSA cryptography driver interface provides a way to build Mbed TLS with additional code that implements certain cryptographic primitives. This is primarily intended to support platform-specific hardware.
-
-Note that such drivers are only available through the PSA cryptography API (crypto functions beginning with `psa_`, and X.509 and TLS interfaces that reference PSA types).
-
-Concretely speaking, a driver consists of one or more **driver description files** in JSON format and some code to include in the build. The driver code can either be provided in binary form as additional object file to link, or in source form.
-
-## How to build Mbed TLS with drivers
-
-To build Mbed TLS with drivers:
-
-1. Activate `MBEDTLS_PSA_CRYPTO_DRIVERS` in the library configuration.
-
- ```
- cd /path/to/mbedtls
- scripts/config.py set MBEDTLS_PSA_CRYPTO_DRIVERS
- ```
-
-2. Pass the driver description files through the Make variable `PSA_DRIVERS` when building the library.
-
- ```
- cd /path/to/mbedtls
- make PSA_DRIVERS="/path/to/acme/driver.json /path/to/nadir/driver.json" lib
- ```
-
-3. Link your application with the implementation of the driver functions.
-
- ```
- cd /path/to/application
- ld myapp.o -L/path/to/acme -lacmedriver -L/path/to/nadir -lnadirdriver -L/path/to/mbedtls -lmbedcrypto
- ```
-
-<!-- TODO: what if the driver is provided as C source code? -->
-
-<!-- TODO: what about additional include files? -->