Home
last modified time | relevance | path

Searched refs:static (Results 1 – 25 of 43) sorted by relevance

12

/mbedtls-3.4.0/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal_mocks.function13 static struct
20 static struct
29 static struct
39 static struct
47 static struct
55 static struct
65 static struct
75 static struct
81 static struct
89 static void psa_purge_storage( void )
[all …]
Dtest_suite_ecjpake.function6 static const unsigned char ecjpake_test_x1[] = {
12 static const unsigned char ecjpake_test_x2[] = {
18 static const unsigned char ecjpake_test_x3[] = {
24 static const unsigned char ecjpake_test_x4[] = {
30 static const unsigned char ecjpake_test_X1[] = {
39 static const unsigned char ecjpake_test_X2[] = {
48 static const unsigned char ecjpake_test_X3[] = {
57 static const unsigned char ecjpake_test_X4[] = {
67 static int ecjpake_test_load( mbedtls_ecjpake_context *ctx,
Dtest_suite_psa_crypto_se_driver_hal.function100 static size_t ecc_curve_bits( psa_ecc_family_t curve, size_t data_length )
127 static validate_slot_number_directions_t validate_slot_number_directions;
130 static psa_status_t validate_slot_number_as_directed(
148 static psa_key_slot_number_t shadow_counter;
149 static void counter_reset( void )
153 static psa_status_t counter_allocate( psa_drv_se_context_t *context,
174 static psa_status_t null_import( psa_drv_se_context_t *context,
194 static psa_status_t null_generate( psa_drv_se_context_t *context,
217 static psa_status_t null_destroy( psa_drv_se_context_t *context,
241 static ram_slot_t ram_slots[16];
[all …]
Dtest_suite_psa_crypto_init.function38 static int fake_entropy_source( void *state_arg,
61 static uint32_t custom_entropy_sources_mask;
62 static fake_entropy_state_t fake_entropy_state;
66 static void custom_entropy_init( mbedtls_entropy_context *ctx )
128 static unsigned char seed[ENTROPY_MIN_NV_SEED_SIZE];
Dtest_suite_psa_crypto_storage_format.function19 static int test_written_key( const psa_key_attributes_t *attributes,
53 static int can_export( const psa_key_attributes_t *attributes )
64 static int is_accelerated_rsa( psa_algorithm_t alg )
85 static int is_builtin_calling_md( psa_algorithm_t alg )
111 static int has_builtin_hash( psa_algorithm_t alg )
148 static int can_exercise( const psa_key_attributes_t *attributes )
222 static int test_read_key( const psa_key_attributes_t *expected_attributes,
Dtest_suite_gcm.function7 static int check_multipart( mbedtls_gcm_context *ctx,
35 * count as an overflow for memory sanitizers and static checkers. */
65 static void check_cipher_with_empty_ad( mbedtls_gcm_context *ctx,
90 * count as an overflow for memory sanitizers and static checkers. */
108 static void check_empty_cipher_with_ad( mbedtls_gcm_context *ctx,
139 static void check_no_cipher_no_ad( mbedtls_gcm_context *ctx,
Dhost_test.function160 static int parse_arguments( char *buf, size_t len, char **params,
241 static int convert_params( size_t cnt , char ** params , int32_t * int_params_store )
338 static int test_snprintf( size_t n, const char *ref_buf, int ref_ret )
365 static int run_test_snprintf( void )
382 static void write_outcome_entry( FILE *outcome_file,
387 static const char *platform = NULL;
388 static const char *configuration = NULL;
389 static const char *test_suite = NULL;
432 static void write_outcome_result( FILE *outcome_file,
Dtest_suite_psa_its.function30 static void psa_its_fill_filename( psa_storage_uid_t uid, char *filename )
45 static psa_storage_uid_t uid_max = 0;
47 static void cleanup( void )
69 static psa_status_t psa_its_set_wrap( psa_storage_uid_t uid,
Dtest_suite_ctr_drbg.function15 static size_t test_offset_idx = 0;
16 static size_t test_max_idx = 0;
17 static int mbedtls_test_entropy_func( void *data, unsigned char *buf, size_t len )
27 static void ctr_drbg_validate_internal( int reseed_mode, data_t * nonce,
Dtest_suite_pkcs1_v15.function134 static unsigned char N[128] = {
152 static unsigned char E[1] = { 0x03 };
153 static unsigned char P[64] = {
163 static unsigned char Q[64] = {
175 static unsigned char default_content[128] = {
Dhelpers.function99 static int redirect_output( FILE* out_stream, const char* path )
131 static int restore_output( FILE* out_stream, int dup_fd )
Dtest_suite_entropy.function27 static int entropy_dummy_source( void *arg, unsigned char *output,
60 static void entropy_clear_sources( mbedtls_entropy_context *ctx )
69 static unsigned char buffer_seed[MBEDTLS_ENTROPY_BLOCK_SIZE];
92 static int write_nv_seed( unsigned char *buf, size_t buf_len )
Dtest_suite_dhm.function24 static int check_dhm_param_output( const mbedtls_mpi *expected,
55 static int check_dhm_params( const mbedtls_dhm_context *ctx,
Dtest_suite_ecdh.function4 static int load_public_key( int grp_id, data_t *point,
20 static int load_private_key( int grp_id, data_t *private_key,
Dtest_suite_bignum_mod.function12 static int test_read_modulus( mbedtls_mpi_mod_modulus *m,
26 static int test_read_residue( mbedtls_mpi_mod_residue *r,
Dtest_suite_net.function33 static int open_file_on_fd( mbedtls_net_context *ctx, int wanted_fd )
Dtest_suite_memory_buffer_alloc.function13 static int check_pointer( void *p )
Dtest_suite_base64.function8 static const char base64_digits[] =
Dtest_suite_x509write.function37 static int x509_crt_verifycsr( const unsigned char *buf, size_t buflen )
100 static int csr_set_extended_key_usage( mbedtls_x509write_csr *ctx,
/mbedtls-3.4.0/library/
DMakefile194 .PHONY: all static shared clean
197 all: static
199 all: shared static
202 static: libmbedcrypto.a libmbedx509.a libmbedtls.a target
242 … -o $@ $(OBJS_TLS) -lws2_32 -lwinmm -lgdi32 -L. -lmbedx509 -lmbedcrypto -static-libgcc $(LOCAL_LDF…
271 …mplib,$@.a -o $@ $(OBJS_X509) -lws2_32 -lwinmm -lgdi32 -L. -lmbedcrypto -static-libgcc $(LOCAL_LDF…
300 …,$@ -Wl,--out-implib,$@.a -o $@ $(OBJS_CRYPTO) -lws2_32 -lwinmm -lgdi32 -static-libgcc $(LOCAL_LDF…
DCMakeLists.txt1 option(USE_STATIC_MBEDTLS_LIBRARY "Build mbed TLS static library." ON)
234 message(FATAL_ERROR "Need to choose static or shared mbedtls build!")
/mbedtls-3.4.0/docs/
Dgetting_started.md579 static const unsigned char key[] = {
584 static const unsigned char salt[] = {
587 static const unsigned char info[] = {
687 static const uint8_t key[] = {
690 static const uint8_t nonce[] = {
693 static const uint8_t additional_data[] = {
696 static const uint8_t input_data[] = {
759 static const uint8_t key_data[] = {
762 static const uint8_t nonce[] = {
765 static const uint8_t additional_data[] = {
[all …]
/mbedtls-3.4.0/scripts/data_files/
Dversion_features.fmt28 static const char * const features[] = {
/mbedtls-3.4.0/docs/architecture/testing/
Dinvasive-testing.md36 …g header in the test code. If the function should be `static` for optimization but can't be `stati…
69 Sometimes the substitutable function is a `static inline` function that does nothing (not a macro, …
194 If we guarantee certain properties through static analysis, we don't need to test them. This puts s…
/mbedtls-3.4.0/tests/docker/bionic/
DDockerfile67 # Build a static, legacy openssl from sources with sslv3 enabled

12