Home
last modified time | relevance | path

Searched refs:macro (Results 1 – 22 of 22) sorted by relevance

/mbedtls-latest/scripts/data_files/
Dquery_config.fmt15 * Include all the headers with public APIs in case they define a macro to its
83 * Helper macros to convert a macro or its expansion into a string
87 #define MACRO_EXPANSION_TO_STR(macro) MACRO_NAME_TO_STR(macro)
88 #define MACRO_NAME_TO_STR(macro) \
89 mbedtls_printf("%s", strlen( #macro "") > 0 ? #macro "\n" : "")
91 #define STRINGIFY(macro) #macro
92 #define OUTPUT_MACRO_NAME_VALUE(macro) mbedtls_printf( #macro "%s\n", \
93 … (STRINGIFY(macro) "")[0] != 0 ? "=" STRINGIFY( \
94 macro) : "")
100 * the macro MBEDTLS_EXPANSION_TO_STR is being invoked without arguments as
/mbedtls-latest/tests/scripts/
Dcheck_names.py282 for macro in all_macros[scope]:
283 if macro.name not in identifiers_justname:
284 actual_macros[scope].append(macro)
389 for macro in macro_regex.finditer(line):
390 if macro.group("macro").startswith(exclusions):
397 macro.span("macro"),
398 macro.group("macro")))
/mbedtls-latest/programs/test/
Dquery_config.c87 #define MACRO_EXPANSION_TO_STR(macro) MACRO_NAME_TO_STR(macro) argument
88 #define MACRO_NAME_TO_STR(macro) \ argument
89 mbedtls_printf("%s", strlen( #macro "") > 0 ? #macro "\n" : "")
91 #define STRINGIFY(macro) #macro argument
92 #define OUTPUT_MACRO_NAME_VALUE(macro) mbedtls_printf( #macro "%s\n", \ argument
93 … (STRINGIFY(macro) "")[0] != 0 ? "=" STRINGIFY( \
94 macro) : "")
/mbedtls-latest/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers_no_static.c.jinja53 {% macro entry_point_name(capability, entry_point, driver) -%}
130 {% macro entry_point_param(driver) -%}
199 {% macro entry_point_param(driver) -%}
Dpsa_crypto_driver_wrappers.h.jinja54 {% macro entry_point_name(capability, entry_point, driver) -%}
848 {% macro entry_point_param(driver) -%}
926 {% macro entry_point_param(driver) -%}
988 {% macro entry_point_param(driver) -%}
/mbedtls-latest/tests/suites/
Dtest_suite_psa_crypto_metadata.function15 * algorithm classification macro PSA_ALG_IS_xxx except for the
18 * classification macro without the PSA_ prefix. */
52 * key type classification macro PSA_KEY_TYPE_IS_xxx except for some that
54 * the name of the classification macro without the PSA_ prefix. */
66 * lifetime classification macro PSA_KEY_LIFETIME_IS_xxx. The name of the
67 * flag is the name of the classification macro without the PSA_ prefix. */
72 /* Check that in the value of flags, the bit flag (which should be a macro
Dmain_test.function61 * \brief Evaluates an expression/macro into its literal integer value.
62 * For optimizing space for embedded targets each expression/macro
Dtest_suite_psa_crypto_se_driver_hal.function53 * If an error happens, this macro returns from the calling function.
55 * Use this macro to assert on guarantees provided by the core.
68 * In case of error, this macro sets `status` and jumps to the
71 * Use this macro to assert on guarantees provided by the core.
Dtest_suite_alignment.function304 /* Overwrite sentinel with endian-aware write macro */
/mbedtls-latest/docs/
Dpsa-driver-example-and-guide.md52 **1. Choose a driver prefix and a macro name that indicates whether the driver is enabled** \
53macro name can follow the form `DRIVER_PREFIX_ENABLED` or something similar; it will be used to in…
126 …ngside your project. If building with a driver present, the chosen driver macro (`DRIVER_PREFIX_EN…
137 … configuration that is significantly different to the default. Define the macro for the driver, al…
143 …nstructions needed to build p256-m. To build with and use p256-m, set the macro `MBEDTLS_PSA_P256M…
Dpsa-transition.md82 …nitialized (or equivalently, initialized with the provided `PSA_XXX_INIT` macro or `psa_xxx_init()…
84 …crypto API functions that have an output buffer, there is a corresponding macro, generally called …
180 …file `"psa/crypto_config.h"`. You can override the file location with the macro [`MBEDTLS_PSA_CRYP…
185 …For parametrized algorithms, there is a `PSA_WANT_` symbol both for the main macro and for each ar…
318 | Legacy macro | PSA macro |
326 | Legacy function | PSA macro |
371 … a specified IV, use the multi-part API described below.) You can use the macro [`PSA_CIPHER_ENCRY…
372 …306d80929215e) to perform decryption with a specified IV. You can use the macro [`PSA_CIPHER_DECRY…
376 …ga1399de29db657e3737bb09927aae51fa) and zero-initialize it (or use the corresponding `INIT` macro).
400 …the ciphertext, use the multi-part API described below.) You can use the macro [`PSA_AEAD_ENCRYPT…
[all …]
Ddriver-only-builds.md33 - Define the corresponding `PSA_WANT` macro in `psa/crypto_config.h` - this
38 - Undefine / comment out the corresponding `MBEDTLS_xxx_C` macro in
145 each `PSA_WANT_ECC_xxx` macro enabled, the corresponding
162 for each `PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_xxx` macro enabled, the
D3.0-migration-guide.md275 - The macro `MBEDTLS_ERR_RSA_UNSUPPORTED_OPERATION` was removed;
/mbedtls-latest/docs/architecture/
Dtls13-support.md189 Example 1: #define CLIENT_HELLO_RANDOM_LEN 32, macro for the length of the
229 - the macro to check for space when writing into an output buffer
231 - the macro to check for data when reading from an input buffer
286 writing TLS handshake message) there is no need to define a macro for it.
Dpsa-shared-memory.md322 1. Using Valgrind's memcheck tool. Valgrind provides a macro `VALGRIND_MAKE_MEM_NO_ACCESS` that all…
334 …nd (3) are much more convenient. We are simply required to call a special macro on some buffer tha…
582 …tate (the copy pointer is valid, but the original pointer is `NULL`) this macro sets an error stat…
/mbedtls-latest/docs/architecture/testing/
Dinvasive-testing.md67macro which is defined to be a system function (like `mbedtls_calloc` or `mbedtls_fopen`), which w…
69 Sometimes the substitutable function is a `static inline` function that does nothing (not a macro, …
302 `PSA_DONE` is a macro defined in `psa_crypto_helpers.h` which uses `mbedtls_psa_get_stats()` to get…
/mbedtls-latest/
D.uncrustify.cfg205 # At least 1 space between a macro's name and its definition
DChangeLog443 PSA_WANT_DH_RFC7919_XXXX. You now need to defined the corresponding macro
635 suggest. This did not affect any library code, because this macro was
637 This may affect application code that uses this macro.
680 configuration macro MBEDTLS_ECDSA_SIGN_ALT was defined.
993 * Previously the macro MBEDTLS_SSL_DTLS_CONNECTION_ID implemented version 05
1274 feature requirements in the file named by the new macro
1277 file with the macro MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE.
1504 the macro MBEDTLS_CHECK_RETURN. The warnings are always enabled
1591 * The existing predicate macro name PSA_ALG_IS_HASH_AND_SIGN is now reserved
1594 PSA_ALG_ECDSA_ANY. The new predicate macro PSA_ALG_IS_SIGN_HASH covers
[all …]
/mbedtls-latest/docs/proposed/
Dpsa-driver-interface.md152macro that specifies a cryptographic algorithm or an algorithm wildcard policy defined by the PSA …
166 …xx` macro that specifies a key type defined by the PSA Cryptography API. If the macro takes an arg…
1330 … have to be JSON integers? C preprocessor integers (which could be e.g. a macro defined in some he…
1369 …e output buffer size has the size indicated by the applicable buffer size macro (which may be an o…
Dpsa-conditional-inclusion-c.md110 For each constant or constructor macro of the form `PSA_ALG_xxx`, the symbol **`PSA_WANT_ALG_xxx`**…
/mbedtls-latest/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md328 …_USE_PSA_CRYPTO`. Users who want to take full advantage of drivers will need to enabled this macro.
330 …ommon with TLS 1.2, hence governed by `MBEDTLS_USE_PSA_CRYPTO`, see [this macro's extended documen…
421 For each hash algorithm, `md.h` defines a macro `MBEDTLS_MD_CAN_xxx` whenever the corresponding has…
Dstrategy.md331 macro that can be used to express dependencies everywhere (except pure PSA