Home
last modified time | relevance | path

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

1234567

/mbedtls/scripts/data_files/
A Dquery_config.fmt10 #include "query_config.h"
20 #include "psa/crypto.h"
22 #include "mbedtls/aes.h"
23 #include "mbedtls/aria.h"
24 #include "mbedtls/asn1.h"
29 #include "mbedtls/ccm.h"
36 #include "mbedtls/des.h"
37 #include "mbedtls/dhm.h"
47 #include "mbedtls/md.h"
54 #include "mbedtls/pk.h"
[all …]
A Derror.fmt8 #include "common.h"
10 #include "mbedtls/error.h"
16 #include "mbedtls/platform.h"
18 #include <stdio.h>
19 #include <string.h>
A Dversion_features.fmt8 #include "common.h"
12 #include "mbedtls/version.h"
14 #include <string.h>
/mbedtls/tests/suites/
A Dhelpers.function5 #include <test/arguments.h>
6 #include <test/helpers.h>
7 #include <test/macros.h>
8 #include <test/random.h>
13 #include <errno.h>
14 #include <limits.h>
15 #include <stdint.h>
16 #include <stdlib.h>
17 #include <string.h>
20 #include "mbedtls/error.h"
[all …]
A 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 …]
A 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"
A Dtest_suite_constant_time.function11 #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;
104 TEST_CF_SECRET(&h, sizeof(h));
[all …]
A 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>
A 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>
A 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"
/mbedtls/tests/
A DMakefile89 generated_psa_test_data: ../include/psa/crypto_extra.h
115 TEST_OBJS_DEPS = $(wildcard include/test/*.h include/test/*/*.h)
173 rm -f include/test/instrument_record_status.h
174 rm -f include/alt-extra/*/*_alt.h
185 if exist include/test/instrument_record_status.h del /Q /F include/test/instrument_record_status.h
195 include/alt-extra/%_alt.h: ../include/%.h
223 cp ./include/test/drivers/config_test_driver.h ./libtestdriver1/include/mbedtls/mbedtls_config.h
230 mv ./libtestdriver1/include/psa/crypto_config.h ./libtestdriver1/include/psa/crypto_config.h.bak
231 … -n -1 ./libtestdriver1/include/psa/crypto_config.h.bak > ./libtestdriver1/include/psa/crypto_conf…
232 …de/test/drivers/crypto_config_test_driver_extension.h >> ./libtestdriver1/include/psa/crypto_confi…
[all …]
A 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
/mbedtls/programs/test/
A 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
A 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/docs/architecture/
A Dpsa-crypto-implementation-structure.md80 * [ ] `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…
128 …isms in Mbed TLS, deduced from `mbedtls/mbedtls_config.h` by code in `include/mbedtls/config_psa.h
129 …ypto_config.h` (or `MBEDTLS_PSA_CRYPTO_CONFIG_FILE`, plus `MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE`), …
[all …]
/mbedtls/scripts/data_files/driver_templates/
A 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/library/
A Decjpake.c199 mbedtls_mpi *h) in ecjpake_hash() argument
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()
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()
343 MBEDTLS_MPI_CHK(mbedtls_mpi_mul_mpi(&h, &h, x)); /* x*h */ in ecjpake_zkp_write()
344 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_mpi(&h, &v, &h)); /* v - x*h */ in ecjpake_zkp_write()
345 MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(&h, &h, &grp->N)); /* r */ in ecjpake_zkp_write()
[all …]
A Daesce.c534 uint8x16_t h, m, l; /* retval high/middle/low */ in poly_mult_128() local
537 h = pmull_high(a, b); /* h3:h2:00:00 = a1*b1 */ in poly_mult_128()
544 ret.val[0] = h; in poly_mult_128()
576 uint8x16_t h, m, l; /* input high/middle/low 128b */ in poly_mult_reduce() local
578 h = input.val[0]; /* h3:h2:00:00 */ in poly_mult_reduce()
581 c = pmull_high(h, MODULO); /* :c2:c1:00 = reduction of h3 */ in poly_mult_reduce()
582 d = pmull_low(h, MODULO); /* : :d1:d0 = reduction of h2 */ in poly_mult_reduce()
/mbedtls/docs/proposed/
A Dpsa-conditional-inclusion-c.md54 …`MBEDTLS_PSA_CRYPTO_CONFIG` in `mbedtls/mbedtls_config.h` determines whether `psa/crypto_config.h`…
137 `mbedtls/config_psa.h` includes `psa/crypto_config.h`, the user-editable file that defines applicat…
145h` or an edited copy of `mbedtls/mbedtls_config.h` from an earlier version of Mbed TLS, `mbedtls/c…
159 | `MBEDTLS_xxx_C` | `mbedtls/mbedtls_config.h` (U) or | `mbedtls/mbedtls_config.h` (U) …
160 | | `mbedtls/config_psa.h` (D) | …
161 | `PSA_WANT_xxx` | `psa/crypto_config.h` (U) | `mbedtls/config_psa.h` (D) …
162 | `MBEDTLS_PSA_BUILTIN_xxx` | `mbedtls/config_psa.h` (D) | `mbedtls/config_psa.h` (D) …
163 | `MBEDTLS_PSA_ACCEL_xxx` | `mbedtls/crypto_drivers.h` (G) | N/A …
171 The header file **`library/psa_check_config.h`** applies sanity checks to the configuration, throwi…
173 A mechanism similar to `mbedtls/check_config.h` detects errors such as enabling ECDSA but no curve.
[all …]
A 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/configs/
A 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/configs/ext/
A 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
/mbedtls/scripts/
A 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/
A DMakefile196 3rdparty/*/include/*/*.h 3rdparty/*/include/*/*/*.h 3rdparty/*/include/*/*/*/*.h \
198 include/*/*.h \
201 tests/include/*/*.h tests/include/*/*/*.h \
206 CTAGS = ctags --langmap=c:+.h.function --line-directives=no -o
/mbedtls/include/
A DCMakeLists.txt5 file(GLOB headers "mbedtls/*.h")
6 file(GLOB psa_headers "psa/*.h")
18 # Make mbedtls_config.h available in an out-of-source build. ssl-opt.sh requires it.

Completed in 23 milliseconds

1234567