Home
last modified time | relevance | path

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

12345

/mbedtls-development/scripts/data_files/
A Dquery_config.fmt22 #include "query_config.h"
27 #include <stdio.h>
35 #include "mbedtls/aes.h"
42 #include "mbedtls/ccm.h"
49 #include "mbedtls/des.h"
50 #include "mbedtls/dhm.h"
54 #include "mbedtls/ecp.h"
57 #include "mbedtls/gcm.h"
60 #include "mbedtls/md.h"
67 #include "mbedtls/pk.h"
[all …]
A Dversion_features.fmt20 #include "common.h"
24 #include "mbedtls/version.h"
26 #include <string.h>
A Derror.fmt20 #include "common.h"
22 #include "mbedtls/error.h"
29 #include "mbedtls/platform.h"
34 #include <stdio.h>
35 #include <string.h>
/mbedtls-development/tests/suites/
A Dhelpers.function5 #include <test/helpers.h>
6 #include <test/macros.h>
7 #include <test/random.h>
10 #include <stdlib.h>
13 #include "mbedtls/error.h"
18 #include <stdio.h>
35 #include <basetsd.h>
42 #include <stdint.h>
45 #include <string.h>
48 #include <unistd.h>
[all …]
A Dtest_suite_pem.function2 #include "mbedtls/base64.h"
3 #include "mbedtls/pem.h"
4 #include "mbedtls/des.h"
5 #include "mbedtls/aes.h"
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_oid.function2 #include "mbedtls/oid.h"
3 #include "mbedtls/asn1.h"
4 #include "mbedtls/asn1write.h"
5 #include "string.h"
A Dtest_suite_psa_crypto_entropy.function2 #include <stdint.h>
3 #include <string.h>
5 #include <psa/crypto.h>
7 #include "mbedtls/entropy.h"
8 #include "entropy_poll.h"
16 #include <stdio.h>
18 #include <psa/internal_trusted_storage.h>
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_psa_crypto_init.function2 #include <stdint.h>
5 #include "psa_crypto_invasive.h"
7 #include "mbedtls/entropy.h"
8 #include "entropy_poll.h"
13 #include "psa_crypto_random_impl.h"
25 #include "mbedtls/ctr_drbg.h"
A Dtest_suite_pkwrite.function2 #include "mbedtls/pk.h"
3 #include "mbedtls/pem.h"
4 #include "mbedtls/oid.h"
A Dtest_suite_psa_crypto_not_supported.function3 #include "psa/crypto.h"
4 #include "test/psa_crypto_helpers.h"
/mbedtls-development/tests/
A DMakefile93 generated_psa_test_data: ../include/psa/crypto_values.h
94 generated_psa_test_data: ../include/psa/crypto_extra.h
125 TEST_OBJS_DEPS = $(wildcard include/test/*.h include/test/*/*.h)
130 TEST_OBJS_DEPS += include/test/instrument_record_status.h
178 rm -f include/test/instrument_record_status.h
186 if exist include/test/instrument_record_status.h del /Q /F include/test/instrument_record_status.h
203 include/test/instrument_record_status.h: ../include/psa/crypto.h Makefile
205 …sed <../include/psa/crypto.h >$@ -n 's/^psa_status_t \([A-Za-z0-9_]*\)(.*/#define \1(...) RECORD_S…
/mbedtls-development/tests/scripts/
A Dall.sh526 if ! git diff --quiet include/mbedtls/mbedtls_config.h; then
1614 scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_GCM
1724 scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_SHA_1
1741 scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_MD5
1742 scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_SHA_1
1759 scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_MD5
1777 scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_MD5
1794 scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_MD5
1812 scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_MD5
1829 scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_MD5
[all …]
/mbedtls-development/library/
A Decjpake.c206 mbedtls_mpi *h ) in ecjpake_hash() argument
238 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( h, h, &grp->N ) ); in ecjpake_hash()
258 mbedtls_mpi r, h; in ecjpake_zkp_read() local
264 mbedtls_mpi_init( &h ); in ecjpake_zkp_read()
299 &VV, &h, X, &r, G ) ); in ecjpake_zkp_read()
311 mbedtls_mpi_free( &h ); in ecjpake_zkp_read()
342 mbedtls_mpi_init( &h ); in ecjpake_zkp_write()
348 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &h, &h, x ) ); /* x*h */ in ecjpake_zkp_write()
349 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( &h, &v, &h ) ); /* v - x*h */ in ecjpake_zkp_write()
350 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &h, &h, &grp->N ) ); /* r */ in ecjpake_zkp_write()
[all …]
A Dgcm.c83 unsigned char h[16]; in gcm_gen_table() local
86 memset( h, 0, 16 ); in gcm_gen_table()
87 if( ( ret = mbedtls_cipher_update( &ctx->cipher_ctx, h, 16, h, &olen ) ) != 0 ) in gcm_gen_table()
91 hi = MBEDTLS_GET_UINT32_BE( h, 0 ); in gcm_gen_table()
92 lo = MBEDTLS_GET_UINT32_BE( h, 4 ); in gcm_gen_table()
95 hi = MBEDTLS_GET_UINT32_BE( h, 8 ); in gcm_gen_table()
96 lo = MBEDTLS_GET_UINT32_BE( h, 12 ); in gcm_gen_table()
201 unsigned char h[16]; in gcm_mult() local
203 MBEDTLS_PUT_UINT32_BE( ctx->HH[8] >> 32, h, 0 ); in gcm_mult()
204 MBEDTLS_PUT_UINT32_BE( ctx->HH[8], h, 4 ); in gcm_mult()
[all …]
/mbedtls-development/docs/proposed/
A Dpsa-conditional-inclusion-c.md54 …`MBEDTLS_PSA_CRYPTO_CONFIG` in `mbedtls/mbedtls_config.h` determines whether `psa/crypto_config.h`…
128 `mbedtls/config_psa.h` includes `psa/crypto_config.h`, the user-editable file that defines applicat…
136h` or an edited copy of `mbedtls/mbedtls_config.h` from an earlier version of Mbed TLS, `mbedtls/c…
150 | `MBEDTLS_xxx_C` | `mbedtls/mbedtls_config.h` (U) or | `mbedtls/mbedtls_config.h` (U) …
151 | | `mbedtls/config_psa.h` (D) | …
152 | `PSA_WANT_xxx` | `psa/crypto_config.h` (U) | `mbedtls/config_psa.h` (D) …
153 | `MBEDTLS_PSA_BUILTIN_xxx` | `mbedtls/config_psa.h` (D) | `mbedtls/config_psa.h` (D) …
154 | `MBEDTLS_PSA_ACCEL_xxx` | `mbedtls/crypto_drivers.h` (G) | N/A …
162 The header file **`library/psa_check_config.h`** applies sanity checks to the configuration, throwi…
164 A mechanism similar to `mbedtls/check_config.h` detects errors such as enabling ECDSA but no curve.
[all …]
/mbedtls-development/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-development/scripts/
A Dfootprint.sh115 doit default include/mbedtls/mbedtls_config.h
116 doit thread configs/config-thread.h
117 doit suite-b configs/config-suite-b.h
118 doit psk configs/config-ccm-psk-tls1_2.h
A Dbump_version.sh128 cat include/mbedtls/build_info.h | \
136 mv tmp include/mbedtls/build_info.h
143 for i in doxygen/mbedtls.doxyfile doxygen/input/doc_mainpage.h;
/mbedtls-development/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.
/mbedtls-development/tests/src/
A Dhelpers.c160 unsigned char l, h; in mbedtls_test_hexify() local
164 h = *ibuf / 16; in mbedtls_test_hexify()
167 if( h < 10 ) in mbedtls_test_hexify()
168 *obuf++ = '0' + h; in mbedtls_test_hexify()
170 *obuf++ = 'a' + h - 10; in mbedtls_test_hexify()
/mbedtls-development/programs/test/
A Dgenerate_cpp_dummy_build.sh63 for header in include/mbedtls/*.h include/psa/*.h; do
65 mbedtls/mbedtls_config.h) :;; # not meant for direct inclusion
66 psa/crypto_config.h) :;; # not meant for direct inclusion
A DCMakeLists.txt39 ${CMAKE_CURRENT_SOURCE_DIR}/../../include/mbedtls/mbedtls_config.h
44 ${CMAKE_CURRENT_SOURCE_DIR}/../../include/mbedtls/mbedtls_config.h
59 ${CMAKE_CURRENT_SOURCE_DIR}/query_config.h
/mbedtls-development/
A DMakefile167 3rdparty/*/include/*/*.h 3rdparty/*/include/*/*/*.h 3rdparty/*/include/*/*/*/*.h \
169 include/*/*.h \
172 tests/include/*/*.h tests/include/*/*/*.h \
177 CTAGS = ctags --langmap=c:+.h.function --line-directives=no -o

Completed in 30 milliseconds

12345