Manuel Pégourié-Gonnard | 6d5f494 | 2023-07-07 12:00:49 +0200 | [diff] [blame] | 1 | This document explains how to create builds of Mbed TLS where some |
| 2 | cryptographic mechanisms are provided only by PSA drivers (that is, no |
| 3 | built-in implementation of those algorithms), from a user's perspective. |
| 4 | |
| 5 | This is useful to save code size for people who are using either a hardware |
Manuel Pégourié-Gonnard | 030f11b | 2023-09-23 09:02:42 +0200 | [diff] [blame] | 6 | accelerator, or an alternative software implementation that is more |
Manuel Pégourié-Gonnard | 6d5f494 | 2023-07-07 12:00:49 +0200 | [diff] [blame] | 7 | aggressively optimized for code size than the default one in Mbed TLS. |
| 8 | |
| 9 | General considerations |
| 10 | ---------------------- |
| 11 | |
| 12 | This document assumes that you already have a working driver. |
| 13 | Otherwise, please see the [PSA driver example and |
| 14 | guide](psa-driver-example-and-guide.md) for information on writing a |
| 15 | driver. |
| 16 | |
| 17 | In order to have some mechanism provided only by a driver, you'll want |
| 18 | the following compile-time configuration options enabled: |
| 19 | - `MBEDTLS_PSA_CRYPTO_C` (enabled by default) - this enables PSA Crypto. |
| 20 | - `MBEDTLS_USE_PSA_CRYPTO` (disabled by default) - this makes PK, X.509 and |
| 21 | TLS use PSA Crypto. You need to enable this if you're using PK, X.509 or TLS |
| 22 | and want them to have access to the algorithms provided by your driver. (See |
| 23 | [the dedicated document](use-psa-crypto.md) for details.) |
| 24 | - `MBEDTLS_PSA_CRYPTO_CONFIG` (disabled by default) - this enables |
| 25 | configuration of cryptographic algorithms using `PSA_WANT` macros in |
| 26 | `include/psa/crypto_config.h`. See [Conditional inclusion of cryptographic |
| 27 | mechanism through the PSA API in Mbed |
| 28 | TLS](proposed/psa-conditional-inclusion-c.md) for details. |
| 29 | |
| 30 | In addition, for each mechanism you want provided only by your driver: |
| 31 | - Define the corresponding `PSA_WANT` macro in `psa/crypto_config.h` - this |
| 32 | means the algorithm will be available in the PSA Crypto API. |
Manuel Pégourié-Gonnard | fb22c27 | 2023-07-18 10:40:56 +0200 | [diff] [blame] | 33 | - Define the corresponding `MBEDTLS_PSA_ACCEL` in your build. This could be |
| 34 | defined in `psa/crypto_config.h` or your compiler's command line. This |
| 35 | informs the PSA code that an accelerator is available for this mechanism. |
Manuel Pégourié-Gonnard | 6d5f494 | 2023-07-07 12:00:49 +0200 | [diff] [blame] | 36 | - Undefine / comment out the corresponding `MBEDTLS_xxx_C` macro in |
| 37 | `mbedtls/mbedtls_config.h`. This ensures the built-in implementation is not |
| 38 | included in the build. |
| 39 | |
| 40 | For example, if you want SHA-256 to be provided only by a driver, you'll want |
| 41 | `PSA_WANT_ALG_SHA_256` and `MBEDTLS_PSA_ACCEL_SHA_256` defined, and |
| 42 | `MBEDTLS_SHA256_C` undefined. |
| 43 | |
| 44 | In addition to these compile-time considerations, at runtime you'll need to |
| 45 | make sure you call `psa_crypto_init()` before any function that uses the |
Manuel Pégourié-Gonnard | fb22c27 | 2023-07-18 10:40:56 +0200 | [diff] [blame] | 46 | driver-only mechanisms. Note that this is already a requirement for any use of |
| 47 | the PSA Crypto API, as well as for use of the PK, X.509 and TLS modules when |
| 48 | `MBEDTLS_USE_PSA_CRYPTO` is enabled, so in most cases your application will |
| 49 | already be doing this. |
Manuel Pégourié-Gonnard | 6d5f494 | 2023-07-07 12:00:49 +0200 | [diff] [blame] | 50 | |
| 51 | Mechanisms covered |
| 52 | ------------------ |
| 53 | |
Manuel Pégourié-Gonnard | c977751 | 2023-07-11 11:11:20 +0200 | [diff] [blame] | 54 | For now, only the following (families of) mechanisms are supported: |
Manuel Pégourié-Gonnard | 6d5f494 | 2023-07-07 12:00:49 +0200 | [diff] [blame] | 55 | - hashes: SHA-3, SHA-2, SHA-1, MD5, etc. |
| 56 | - elliptic-curve cryptography (ECC): ECDH, ECDSA, EC J-PAKE, ECC key types. |
Manuel Pégourié-Gonnard | c977751 | 2023-07-11 11:11:20 +0200 | [diff] [blame] | 57 | - finite-field Diffie-Hellman: FFDH algorithm, DH key types. |
Valerio Setti | 20e93a2 | 2023-12-04 11:29:36 +0100 | [diff] [blame] | 58 | - AEADs: GCM, CCM and ChachaPoly |
Manuel Pégourié-Gonnard | 6d5f494 | 2023-07-07 12:00:49 +0200 | [diff] [blame] | 59 | |
| 60 | Supported means that when those are provided only by drivers, everything |
| 61 | (including PK, X.509 and TLS if `MBEDTLS_USE_PSA_CRYPTO` is enabled) should |
| 62 | work in the same way as if the mechanisms where built-in, except as documented |
| 63 | in the "Limitations" sub-sections of the sections dedicated to each family |
| 64 | below. |
| 65 | |
| 66 | In the near future (end of 2023), we are planning to also add support for |
Valerio Setti | 20e93a2 | 2023-12-04 11:29:36 +0100 | [diff] [blame] | 67 | ciphers (AES, ARIA, Camellia). |
Manuel Pégourié-Gonnard | 6d5f494 | 2023-07-07 12:00:49 +0200 | [diff] [blame] | 68 | |
Manuel Pégourié-Gonnard | c977751 | 2023-07-11 11:11:20 +0200 | [diff] [blame] | 69 | Currently (mid-2023) we don't have plans to extend this to RSA. If |
| 70 | you're interested in driver-only support for RSA, please let us know. |
Manuel Pégourié-Gonnard | 6d5f494 | 2023-07-07 12:00:49 +0200 | [diff] [blame] | 71 | |
| 72 | Hashes |
| 73 | ------ |
| 74 | |
Manuel Pégourié-Gonnard | 030f11b | 2023-09-23 09:02:42 +0200 | [diff] [blame] | 75 | It is possible to have all hash operations provided only by a driver. |
Manuel Pégourié-Gonnard | 1f61b7b | 2023-09-22 10:15:22 +0200 | [diff] [blame] | 76 | |
| 77 | More precisely: |
| 78 | - you can enable `PSA_WANT_ALG_SHA_256` without `MBEDTLS_SHA256_C`, provided |
| 79 | you have `MBEDTLS_PSA_ACCEL_ALG_SHA_256` enabled; |
| 80 | - and similarly for all supported hash algorithms: `MD5`, `RIPEMD160`, |
| 81 | `SHA_1`, `SHA_224`, `SHA_256`, `SHA_384`, `SHA_512`, `SHA3_224`, `SHA3_256`, |
| 82 | `SHA3_384`, `SHA3_512`. |
| 83 | |
| 84 | In such a build, all crypto operations (via the PSA Crypto API, or non-PSA |
| 85 | APIs), as well as X.509 and TLS, will work as usual, except that direct calls |
| 86 | to low-level hash APIs (`mbedtls_sha256()` etc.) are not possible for the |
| 87 | modules that are disabled. |
| 88 | |
Manuel Pégourié-Gonnard | 030f11b | 2023-09-23 09:02:42 +0200 | [diff] [blame] | 89 | You need to call `psa_crypto_init()` before any crypto operation that uses |
| 90 | a hash algorithm that is provided only by a driver, as mentioned in [General |
Manuel Pégourié-Gonnard | 1f61b7b | 2023-09-22 10:15:22 +0200 | [diff] [blame] | 91 | considerations](#general-considerations) above. |
| 92 | |
| 93 | If you want to check at compile-time whether a certain hash algorithm is |
| 94 | available in the present build of Mbed TLS, regardless of whether it's |
| 95 | provided by a driver or built-in, you should use the following macros: |
| 96 | - for code that uses only the PSA Crypto API: `PSA_WANT_ALG_xxx` from |
| 97 | `psa/crypto.h`; |
Manuel Pégourié-Gonnard | 030f11b | 2023-09-23 09:02:42 +0200 | [diff] [blame] | 98 | - for code that uses non-PSA crypto APIs: `MBEDTLS_MD_CAN_xxx` from |
Manuel Pégourié-Gonnard | 1f61b7b | 2023-09-22 10:15:22 +0200 | [diff] [blame] | 99 | `mbedtls/md.h`. |
Manuel Pégourié-Gonnard | 6d5f494 | 2023-07-07 12:00:49 +0200 | [diff] [blame] | 100 | |
| 101 | Elliptic-curve cryptography (ECC) |
| 102 | --------------------------------- |
| 103 | |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 104 | It is possible to have most ECC operations provided only by a driver: |
| 105 | - the ECDH, ECDSA and EC J-PAKE algorithms; |
| 106 | - key import, export, and random generation. |
| 107 | |
Manuel Pégourié-Gonnard | 89ae266 | 2023-09-22 13:05:25 +0200 | [diff] [blame] | 108 | More precisely, if: |
| 109 | - you have driver support for ECC public and using private keys (that is, |
| 110 | `MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_PUBLIC_KEY` and |
| 111 | `MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_BASIC` are enabled), and |
| 112 | - you have driver support for all ECC curves that are enabled (that is, for |
| 113 | each `PSA_WANT_ECC_xxx` macro enabled, the corresponding |
| 114 | `MBEDTLS_PSA_ACCEL_ECC_xxx` macros is enabled as well); |
Manuel Pégourié-Gonnard | 8c40f3d | 2023-09-28 11:06:09 +0200 | [diff] [blame] | 115 | |
Manuel Pégourié-Gonnard | 89ae266 | 2023-09-22 13:05:25 +0200 | [diff] [blame] | 116 | then you can: |
| 117 | - enable `PSA_WANT_ALG_ECDH` without `MBEDTLS_ECDH_C`, provided |
| 118 | `MBEDTLS_PSA_ACCEL_ALG_ECDH` is enabled |
| 119 | - enable `PSA_WANT_ALG_ECDSA` without `MBEDTLS_ECDSA_C`, provided |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 120 | `MBEDTLS_PSA_ACCEL_ALG_ECDSA` is enabled; |
Manuel Pégourié-Gonnard | 89ae266 | 2023-09-22 13:05:25 +0200 | [diff] [blame] | 121 | - enable `PSA_WANT_ALG_JPAKE` without `MBEDTLS_ECJPAKE_C`, provided |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 122 | `MBEDTLS_PSA_ACCEL_ALG_JPAKE` is enabled. |
| 123 | |
Manuel Pégourié-Gonnard | 89ae266 | 2023-09-22 13:05:25 +0200 | [diff] [blame] | 124 | In addition, if: |
| 125 | - none of `MBEDTLS_ECDH_C`, `MBEDTLS_ECDSA_C`, `MBEDTLS_ECJPAKE_C` are enabled |
| 126 | (see conditions above), and |
| 127 | - you have driver support for all enabled ECC key pair operations - that is, |
| 128 | for each `PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_xxx` macro enabled, the |
| 129 | corresponding `MBEDTLS_PSA_ACCEL_KEY_TYPE_ECC_KEY_PAIR_xxx` macros is also |
| 130 | enabled, |
Manuel Pégourié-Gonnard | 8c40f3d | 2023-09-28 11:06:09 +0200 | [diff] [blame] | 131 | |
Manuel Pégourié-Gonnard | 89ae266 | 2023-09-22 13:05:25 +0200 | [diff] [blame] | 132 | then you can also disable `MBEDTLS_ECP_C`. However, a small subset of it might |
| 133 | still be included in the build, see limitations sub-section below. |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 134 | |
Manuel Pégourié-Gonnard | 89ae266 | 2023-09-22 13:05:25 +0200 | [diff] [blame] | 135 | In addition, if: |
| 136 | - `MBEDTLS_ECP_C` is fully removed (see limitation sub-section below), and |
| 137 | - support for RSA key types and algorithms is fully disabled, and |
| 138 | - support for DH key types and the FFDH algorithm is either disabled, or |
| 139 | fully provided by a driver, |
Manuel Pégourié-Gonnard | 8c40f3d | 2023-09-28 11:06:09 +0200 | [diff] [blame] | 140 | |
Manuel Pégourié-Gonnard | 89ae266 | 2023-09-22 13:05:25 +0200 | [diff] [blame] | 141 | then you can also disable `MBEDTLS_BIGNUM_C`. |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 142 | |
Manuel Pégourié-Gonnard | 89ae266 | 2023-09-22 13:05:25 +0200 | [diff] [blame] | 143 | In such builds, all crypto operations via the PSA Crypto API will work as |
| 144 | usual, as well as the PK, X.509 and TLS modules if `MBEDTLS_USE_PSA_CRYPTO` is |
| 145 | enabled, with the following exceptions: |
| 146 | - direct calls to APIs from the disabled modules are not possible; |
| 147 | - PK, X.509 and TLS will not support restartable ECC operations (see |
| 148 | limitation sub-section below). |
| 149 | |
| 150 | If you want to check at compile-time whether a certain curve is available in |
| 151 | the present build of Mbed TLS, regardless of whether ECC is provided by a |
| 152 | driver or built-in, you should use the following macros: |
| 153 | - for code that uses only the PSA Crypto API: `PSA_WANT_ECC_xxx` from |
| 154 | `psa/crypto.h`; |
| 155 | - for code that may also use non-PSA crypto APIs: `MBEDTLS_ECP_HAVE_xxx` from |
| 156 | `mbedtls/build_info.h` where xxx can take the same values as for |
| 157 | `MBEDTLS_ECP_DP_xxx` macros. |
Valerio Setti | d31b284 | 2023-08-15 10:59:58 +0200 | [diff] [blame] | 158 | |
Manuel Pégourié-Gonnard | 140c08e | 2023-09-28 11:02:37 +0200 | [diff] [blame] | 159 | Note that for externally-provided drivers, the integrator is responsible for |
| 160 | ensuring the appropriate `MBEDTLS_PSA_ACCEL_xxx` macros are defined. However, |
| 161 | for the p256-m driver that's provided with the library, those macros are |
| 162 | automatically defined when enabling `MBEDTLS_PSA_P256M_DRIVER_ENABLED`. |
| 163 | |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 164 | ### Limitations regarding fully removing `ecp.c` |
| 165 | |
| 166 | A limited subset of `ecp.c` will still be automatically re-enabled if any of |
| 167 | the following is enabled: |
| 168 | - `MBEDTLS_PK_PARSE_EC_COMPRESSED` - support for parsing ECC keys where the |
| 169 | public part is in compressed format; |
| 170 | - `MBEDTLS_PK_PARSE_EC_EXTENDED` - support for parsing ECC keys where the |
| 171 | curve is identified not by name, but by explicit parameters; |
| 172 | - `PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE` - support for deterministic |
| 173 | derivation of an ECC keypair with `psa_key_derivation_output_key()`. |
| 174 | |
Manuel Pégourié-Gonnard | 1937cf8 | 2023-07-11 11:14:15 +0200 | [diff] [blame] | 175 | Note: when any of the above options is enabled, a subset of `ecp.c` will |
| 176 | automatically be included in the build in order to support it. Therefore |
| 177 | you can still disable `MBEDTLS_ECP_C` in `mbedtls_config.h` and this will |
| 178 | result in some code size savings, but not as much as when none of the |
| 179 | above features are enabled. |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 180 | |
| 181 | We do have plans to support each of these with `ecp.c` fully removed in the |
Manuel Pégourié-Gonnard | fb22c27 | 2023-07-18 10:40:56 +0200 | [diff] [blame] | 182 | future, however there is no established timeline. If you're interested, please |
| 183 | let us know, so we can take it into consideration in our planning. |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 184 | |
| 185 | ### Limitations regarding restartable / interruptible ECC operations |
| 186 | |
Manuel Pégourié-Gonnard | 89ae266 | 2023-09-22 13:05:25 +0200 | [diff] [blame] | 187 | At the moment, there is no driver support for interruptible operations |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 188 | (see `psa_sign_hash_start()` + `psa_sign_hash_complete()` etc.) so as a |
| 189 | consequence these are not supported in builds without `MBEDTLS_ECDSA_C`. |
| 190 | |
| 191 | Similarly, there is no PSA support for interruptible ECDH operations so these |
| 192 | are not supported without `ECDH_C`. See also limitations regarding |
| 193 | restartable operations with `MBEDTLS_USE_PSA_CRYPTO` in [its |
| 194 | documentation](use-psa-crypto.md). |
| 195 | |
Manuel Pégourié-Gonnard | fb22c27 | 2023-07-18 10:40:56 +0200 | [diff] [blame] | 196 | Again, we have plans to support this in the future but not with an established |
Manuel Pégourié-Gonnard | 7a82e27 | 2023-07-07 16:43:56 +0200 | [diff] [blame] | 197 | timeline, please let us know if you're interested. |
| 198 | |
Manuel Pégourié-Gonnard | f7dc6cf | 2023-09-27 10:34:52 +0200 | [diff] [blame] | 199 | ### Limitations regarding "mixed" builds (driver and built-in) |
| 200 | |
| 201 | In order for a build to be driver-only (no built-in implementation), all the |
| 202 | requested algorithms, key types (key operations) and curves must be |
| 203 | accelerated (plus a few other restrictions, see "Limitations regarding fully |
| 204 | removing `ecp.c`" above). However, what if you have an accelerator that only |
| 205 | supports some algorithms, some key types (key operations), or some curves, but |
| 206 | want to have more enabled in you build? |
| 207 | |
| 208 | It is possible to have acceleration for only a subset of the requested |
| 209 | algorithms. In this case, the built-in implementation of the accelerated |
| 210 | algorithms will be disabled, provided all the requested curves and key types |
| 211 | that can be used with this algorithm are also declared as accelerated. |
| 212 | |
| 213 | There is very limited support for having acceleration for only a subset of the |
| 214 | requested key type operations. The only configuration that's tested is that of |
| 215 | a driver accelerating `PUBLIC_KEY`, `KEY_PAIR_BASIC`, `KEY_PAIR_IMPORT`, |
| 216 | `KEY_PAIR_EXPORT` but not `KEY_PAIR_GENERATE`. (Note: currently the driver |
| 217 | interface does not support `KEY_PAIR_DERIVE`.) |
| 218 | |
| 219 | There is limited support for having acceleration for only a subset of the |
| 220 | requested curves. In such builds, only the PSA API is currently tested and |
| 221 | working; there are known issues in PK, and X.509 and TLS are untested. |
| 222 | |
Manuel Pégourié-Gonnard | c977751 | 2023-07-11 11:11:20 +0200 | [diff] [blame] | 223 | Finite-field Diffie-Hellman |
| 224 | --------------------------- |
| 225 | |
Valerio Setti | d31b284 | 2023-08-15 10:59:58 +0200 | [diff] [blame] | 226 | Support is pretty similar to the "Elliptic-curve cryptography (ECC)" section |
| 227 | above. |
| 228 | Key management and usage can be enabled by means of the usual `PSA_WANT` + |
| 229 | `MBEDTLS_PSA_ACCEL` pairs: |
| 230 | |
| 231 | - `[PSA_WANT|MBEDTLS_PSA_ACCEL]_KEY_TYPE_DH_PUBLIC_KEY`; |
| 232 | - `[PSA_WANT|MBEDTLS_PSA_ACCEL]_KEY_TYPE_DH_KEY_PAIR_BASIC`; |
| 233 | - `[PSA_WANT|MBEDTLS_PSA_ACCEL]_KEY_TYPE_DH_KEY_PAIR_IMPORT`; |
| 234 | - `[PSA_WANT|MBEDTLS_PSA_ACCEL]_KEY_TYPE_DH_KEY_PAIR_EXPORT`; |
| 235 | - `[PSA_WANT|MBEDTLS_PSA_ACCEL]_KEY_TYPE_DH_KEY_PAIR_GENERATE`; |
| 236 | |
| 237 | The same holds for the associated algorithm: |
Valerio Setti | 7373a66 | 2023-09-04 13:59:03 +0200 | [diff] [blame] | 238 | `[PSA_WANT|MBEDTLS_PSA_ACCEL]_ALG_FFDH` allow builds accelerating FFDH and |
Valerio Setti | d31b284 | 2023-08-15 10:59:58 +0200 | [diff] [blame] | 239 | removing builtin support (i.e. `MBEDTLS_DHM_C`). |
| 240 | |
| 241 | ### Limitations |
| 242 | Support for deterministic derivation of a DH keypair |
| 243 | (i.e. `PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE`) is not supported. |
Valerio Setti | 20e93a2 | 2023-12-04 11:29:36 +0100 | [diff] [blame] | 244 | |
| 245 | AEADs |
| 246 | ----- |
| 247 | |
Valerio Setti | acd7baf | 2023-12-06 15:17:12 +0100 | [diff] [blame^] | 248 | [This section might contain incomplete data and it is going to be updated in |
| 249 | #8358, i.e. the wrap-up task for accelerated ciphers and AEADs.] |
| 250 | |
Valerio Setti | 20e93a2 | 2023-12-04 11:29:36 +0100 | [diff] [blame] | 251 | It is possible to have all AEADs operations provided only by a driver. |
| 252 | |
| 253 | More precisely you can: |
| 254 | - enable desired PSA algorithm(s) and key type(s): |
| 255 | - `PSA_WANT_ALG_[CCM|GCM]` with `PSA_WANT_KEY_TYPE_[AES|ARIA|CAMELLIA]` |
| 256 | - `PSA_WANT_ALG_CHACHA20_POLY1305` with `PSA_WANT_KEY_TYPE_CHACHA20`; |
| 257 | - enable `MBEDTLS_PSA_ACCEL_xxx` symbol(s) which correspond to the |
Valerio Setti | acd7baf | 2023-12-06 15:17:12 +0100 | [diff] [blame^] | 258 | `PSA_WANT_xxx` of the previous step (both for algorithms and key types); |
| 259 | - disable builtin support of `MBEDTLS_[CCM|GCM|CHACHAPOLY|POLY1305]_C` |
| 260 | algorithms and key types `MBEDTLS_[AES|ARIA|CAMELLIA|CHACHA20]_C` for AEADs |
| 261 | which are accelerated. |
Valerio Setti | 20e93a2 | 2023-12-04 11:29:36 +0100 | [diff] [blame] | 262 | |
Valerio Setti | acd7baf | 2023-12-06 15:17:12 +0100 | [diff] [blame^] | 263 | In a build in which all AEADs algorithms and related key types are accelerated |
| 264 | all AEADs operations requested through the PSA Crypto API (including those in |
| 265 | TLS and X.509) will be performed by the driver. |
| 266 | Moreover if no unauthenticated cipher is required, it is also possible to |
| 267 | disable all built-in block cipher's key types |
| 268 | (i.e. `MBEDTLS_[AES|ARIA|CAMELLIA|CHACHA20]_C`) and `MBEDTLS_CIPHER_C`. This |
| 269 | helps in further reducing code's footprint, but unfortunately it makes the |
| 270 | following modules unavailable: |
| 271 | - `MBEDTLS_PKCS[5|12]_C` |
| 272 | - `MBEDTLS_CTR_DRBG_C` |
| 273 | - `MBEDTLS_NIST_KW_C` |
Valerio Setti | 20e93a2 | 2023-12-04 11:29:36 +0100 | [diff] [blame] | 274 | |