Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 168) sorted by relevance

1234567

/mbedtls-latest/scripts/data_files/
Dquery_config.fmt2 * Query Mbed TLS compile time configurations from mbedtls_config.h
8 #include "mbedtls/build_info.h"
10 #include "query_config.h"
12 #include "mbedtls/platform.h"
16 * default value when that configuration is not set in mbedtls_config.h, or
17 * for PSA_WANT macros, in case they're auto-defined based on mbedtls_config.h
18 * rather than defined directly in crypto_config.h.
20 #include "psa/crypto.h"
22 #include "mbedtls/aes.h"
23 #include "mbedtls/aria.h"
[all …]
Derror.fmt8 #include "common.h"
10 #include "mbedtls/error.h"
16 #include "mbedtls/platform.h"
18 #include <stdio.h>
19 #include <string.h>
/mbedtls-latest/tests/
DMakefile56 GENERATED_FILES += src/test_keys.h src/test_certs.h
122 generated_psa_test_data: ../include/psa/crypto_values.h
123 generated_psa_test_data: ../include/psa/crypto_extra.h
150 src/test_certs.h: ../framework/scripts/generate_test_cert_macros.py \
154 src/test_keys.h: ../framework/scripts/generate_test_keys.py
157 TEST_OBJS_DEPS = $(wildcard include/test/*.h include/test/*/*.h)
162 TEST_OBJS_DEPS += include/test/instrument_record_status.h
164 TEST_OBJS_DEPS += src/test_certs.h src/test_keys.h
216 rm -f include/test/instrument_record_status.h
217 rm -f include/alt-extra/*/*_alt.h
[all …]
D.gitignore11 /include/alt-extra/psa/crypto_platform_alt.h
12 /include/alt-extra/psa/crypto_struct_alt.h
13 /include/test/instrument_record_status.h
26 #/src/test_keys.h
27 #/src/test_certs.h
/mbedtls-latest/tests/scripts/
Dcomponents-build-system.sh139 cp "$CONFIG_H" include/mbedtls_config_in_tree_copy.h
150 scripts/config.py -w full_config.h full
152 cmake -DGEN_FILES=OFF -DMBEDTLS_CONFIG_FILE=full_config.h "$MBEDTLS_ROOT_DIR"
158 echo '#undef MBEDTLS_NIST_KW_C' >user_config.h
160 …make -DGEN_FILES=OFF -DMBEDTLS_CONFIG_FILE=full_config.h -DMBEDTLS_USER_CONFIG_FILE=user_config.h
164 rm -f user_config.h full_config.h
172 mv include/mbedtls_config_in_tree_copy.h "$CONFIG_H"
179 scripts/config.py -w full_config.h full
181 cmake -DGEN_FILES=OFF -DMBEDTLS_CONFIG_FILE=full_config.h .
187 echo '#undef MBEDTLS_NIST_KW_C' >user_config.h
[all …]
Dcomponents-configuration.sh244 ! grep -q -F time.h /usr/include/x86_64-linux-gnu/sys/types.h
287 cp configs/config-tfm.h "$CONFIG_H"
368 scripts/config.py -w full_config.h full
378 echo '#undef MBEDTLS_NIST_KW_C' >user_config.h
382 rm -f user_config.h full_config.h
/mbedtls-latest/tests/suites/
Dhelpers.function5 #include <test/arguments.h>
6 #include <test/helpers.h>
7 #include <test/macros.h>
8 #include <test/random.h>
9 #include <test/bignum_helpers.h>
10 #include <test/psa_crypto_helpers.h>
11 #include <test/threading_helpers.h>
13 #include <errno.h>
14 #include <limits.h>
15 #include <stdint.h>
[all …]
Dtest_suite_pkcs7.function2 #include "mbedtls/bignum.h"
3 #include "mbedtls/pkcs7.h"
4 #include "mbedtls/x509.h"
5 #include "mbedtls/x509_crt.h"
6 #include "mbedtls/x509_crl.h"
7 #include "x509_internal.h"
8 #include "mbedtls/oid.h"
9 #include "sys/types.h"
10 #include "sys/stat.h"
11 #include "mbedtls/rsa.h"
[all …]
Dtest_suite_constant_time.function7 * (see tests/include/test/constant_flow.h) so that running the tests
11 #include <stdio.h>
13 #include <limits.h>
14 #include <stdlib.h>
15 #include <errno.h>
17 #include <mbedtls/bignum.h>
18 #include <mbedtls/constant_time.h>
19 #include <constant_time_internal.h>
21 #include <test/constant_flow.h>
97 unsigned char l = li, h = hi, t = ti;
[all …]
Dtest_suite_random.function5 #include "mbedtls/bignum.h"
6 #include "mbedtls/ctr_drbg.h"
7 #include "mbedtls/ecdsa.h"
8 #include "mbedtls/entropy.h"
9 #include "mbedtls/hmac_drbg.h"
10 #include "mbedtls/psa_util.h"
11 #include "psa/crypto.h"
Dtest_suite_net.function3 #include "mbedtls/net_sockets.h"
12 #include <sys/resource.h>
13 #include <sys/stat.h>
14 #include <sys/time.h>
15 #include <sys/types.h>
16 #include <fcntl.h>
17 #include <unistd.h>
Dtest_suite_psa_crypto_memory.function2 #include <stdint.h>
4 #include "common.h"
6 #include "psa/crypto.h"
8 #include "psa_crypto_core.h"
9 #include "psa_crypto_invasive.h"
11 #include "test/psa_crypto_helpers.h"
12 #include "test/memory.h"
Dtest_suite_constant_time_hmac.function3 #include <mbedtls/constant_time.h>
4 #include <mbedtls/md.h>
5 #include <constant_time_internal.h>
6 #include "mbedtls/psa_util.h"
7 #include <ssl_misc.h>
9 #include <test/constant_flow.h>
/mbedtls-latest/docs/architecture/
Dpsa-crypto-implementation-structure.md52h header file, the non-static ones are generated in a psa_crypto_driver_wrappers_no_static.c C fil…
73h. The functions implementing a driver entry point as defined in the PSA driver interface specific…
80 * [ ] `include/psa/crypto_values.h` or `include/psa/crypto_extra.h` — [New functions and macros](#n…
81 * [ ] `include/psa/crypto_config.h`, `tests/include/test/drivers/crypto_config_test_driver_extensio…
82 * Occasionally `library/check_crypto_config.h` — [Preprocessor symbols](#preprocessor-symbols)
83 * [ ] `include/mbedtls/config_psa.h` — [Preprocessor symbols](#preprocessor-symbols)
85 * [ ] `include/psa/crypto_builtin_*.h` — [Translucent data structures](#translucent-data-structures)
94 * [ ] `include/psa/crypto.h` and `include/psa/crypto_sizes.h`, or `include/psa/crypto_extra.h` — [N…
96 …functions: `include/psa/crypto_struct.h`, `include/psa/crypto_builtin_*.h`, `include/psa/crypto_dr…
113h`, apart from structure accessors defined in `include/psa/crypto_struct.h`. Functions that have o…
[all …]
/mbedtls-latest/docs/proposed/
Dpsa-conditional-inclusion-c.md18 …sms are included in a build through its configuration file (`mbedtls_config.h`). This mechanism is…
52 The PSA Crypto configuration file `psa/crypto_config.h` defines a series of symbols of the form `PS…
54 …`MBEDTLS_PSA_CRYPTO_CONFIG` in `mbedtls/mbedtls_config.h` determines whether `psa/crypto_config.h`…
57 …es.c` is enabled if either `mbedtls/mbedtls_config.h` contains `MBEDTLS_AES_C` or `psa/crypto_conf…
135h` needs to define all the `MBEDTLS_xxx_C` configuration symbols, including the ones deduced from …
137 `mbedtls/config_psa.h` includes `psa/crypto_config.h`, the user-editable file that defines applicat…
141 …s defined (or not) in `mbedtls/mbedtls_config.h`. Furthermore, the new header file **`mbedtls/conf…
143h` are needed not only to build the PSA parts of the library, but also to build code that uses the…
145h` or an edited copy of `mbedtls/mbedtls_config.h` from an earlier version of Mbed TLS, `mbedtls/c…
149 …TLS_PSA_CRYPTO_CONFIG` is set or not, `mbedtls/config_psa.h` includes `mbedtls/crypto_drivers.h`, …
[all …]
Dpsa-driver-wrappers-codegen-migration-guide.md1 Migrating to an auto generated psa_crypto_driver_wrappers.h file
4 This document describes how to migrate to the auto generated psa_crypto_driver_wrappers.h file.
30 (1) psa_crypto_driver_wrappers.h will from this point on be auto generated.
31 …on the template file at **scripts/data_files/driver_templates/psa_crypto_driver_wrappers.h.jinja**.
32 (3) The driver JSONS to be used for generating the psa_crypto_driver_wrappers.h file can be found a…
33 …psa_crypto_driver_wrappers.h file, the user will need to patch into the template file as needed (p…
/mbedtls-latest/library/
Decjpake.c199 mbedtls_mpi *h) in ecjpake_hash() argument
232 MBEDTLS_MPI_CHK(mbedtls_mpi_read_binary(h, hash, in ecjpake_hash()
234 MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(h, h, &grp->N)); in ecjpake_hash()
254 mbedtls_mpi r, h; in ecjpake_zkp_read() local
260 mbedtls_mpi_init(&h); in ecjpake_zkp_read()
292 MBEDTLS_MPI_CHK(ecjpake_hash(md_type, grp, pf, G, &V, X, id, &h)); in ecjpake_zkp_read()
294 &VV, &h, X, &r, G)); in ecjpake_zkp_read()
305 mbedtls_mpi_free(&h); in ecjpake_zkp_read()
328 mbedtls_mpi h; /* later recycled to hold r */ in ecjpake_zkp_write() local
337 mbedtls_mpi_init(&h); in ecjpake_zkp_write()
[all …]
/mbedtls-latest/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers_no_static.c.jinja12 #include "common.h"
13 #include "psa_crypto_aead.h"
14 #include "psa_crypto_cipher.h"
15 #include "psa_crypto_core.h"
16 #include "psa_crypto_driver_wrappers_no_static.h"
17 #include "psa_crypto_hash.h"
18 #include "psa_crypto_mac.h"
19 #include "psa_crypto_pake.h"
20 #include "psa_crypto_rsa.h"
22 #include "mbedtls/platform.h"
[all …]
/mbedtls-latest/programs/test/
Dgenerate_cpp_dummy_build.sh40 for header in include/mbedtls/*.h include/psa/*.h; do
42 mbedtls/mbedtls_config.h) :;; # not meant for direct inclusion
43 mbedtls/config_*.h) :;; # not meant for direct inclusion
44 psa/crypto_config.h) :;; # not meant for direct inclusion
45 psa/crypto_ajdust_config*.h) :;; # not meant for direct inclusion
DCMakeLists.txt48 ${CMAKE_CURRENT_SOURCE_DIR}/../../include/mbedtls/mbedtls_config.h
49 ${CMAKE_CURRENT_SOURCE_DIR}/../../include/psa/crypto_config.h
54 ${CMAKE_CURRENT_SOURCE_DIR}/../../include/mbedtls/mbedtls_config.h
55 ${CMAKE_CURRENT_SOURCE_DIR}/../../include/psa/crypto_config.h
70 ${CMAKE_CURRENT_SOURCE_DIR}/query_config.h
/mbedtls-latest/
DMakefile182 3rdparty/*/include/*/*.h 3rdparty/*/include/*/*/*.h 3rdparty/*/include/*/*/*/*.h \
184 include/*/*.h \
187 tests/include/*/*.h tests/include/*/*/*.h \
192 CTAGS = ctags --langmap=c:+.h.function --line-directives=no -o
/mbedtls-latest/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md88 …or cryptographic calculations. `MBEDTLS_USE_PSA_CRYPTO` only applies to `pk.h`, X.509 and TLS. Whe…
102 * Code that's subject to `MBEDTLS_USE_PSA_CRYPTO`: `pk.h`, X.509, TLS (excluding parts specific TLS…
118 * ECDSA (HMAC\_DRBG; `md.h` exposed through API)
119 * ECJPAKE (hashes via MD-light; `md.h` exposed through API)
121 * HKDF (HMAC via `md.h`; `md.h` exposed through API)
122 * HMAC\_DRBG (hashes and HMAC via `md.h`; `md.h` exposed through API)
124 * PKCS5 (HMAC via `md.h`; `md.h` exposed through API)
126 * RSA (hash via MD-light for PSS and OAEP; `md.h` exposed through API)
144 * Unconditional dependency on `CIPHER_C` in `check_config.h`.
145 * Note: `cipher.h` exposed through API.
[all …]
/mbedtls-latest/configs/
DREADME.txt7 These files are complete replacements for the default mbedtls_config.h. To use one of
10 1. Replace the default file include/mbedtls/mbedtls_config.h with the chosen one.
15 CFLAGS="-I$PWD/configs -DMBEDTLS_CONFIG_FILE='<foo.h>'" make
20 CFLAGS="-I$PWD/configs -DMBEDTLS_CONFIG_FILE='<foo.h>'" cmake .
/mbedtls-latest/scripts/
Dfootprint.sh103 doit default include/mbedtls/mbedtls_config.h
104 doit thread configs/config-thread.h
105 doit suite-b configs/config-suite-b.h
106 doit psk configs/config-ccm-psk-tls1_2.h
/mbedtls-latest/configs/ext/
DREADME.md6 * crypto_config_profile_medium.h
7 * tfm_mbedcrypto_config_profile_medium.h
15 The two files crypto_config_profile_medium.h and tfm_mbedcrypto_config_profile_medium.h

1234567