/mbedtls-development/tests/suites/ |
A D | main_test.function | 1 #line 2 "suites/main_test.function" 42 #line $line_no "suites/main_test.function" 53 #line $line_no "suites/main_test.function" 82 #line $line_no "suites/main_test.function" 113 #line $line_no "suites/main_test.function" 122 * \brief Function pointer type for test function wrappers. 125 * underlying test function. Both the wrapper and the underlying function 146 #line $line_no "suites/main_test.function" 152 * \param func_idx Test function index. 196 * \param func_idx Test function index. [all …]
|
A D | test_suite_error.data | 7 error_strerror:-0x4080:"RSA - Bad input parameters to function" 11 error_strerror:-0x40A0:"RSA - Bad input parameters to function \: AES - Invalid key length"
|
A D | helpers.function | 1 #line 2 "suites/helpers.function" 68 #define DISPATCH_TEST_FN_NOT_FOUND -3 /* Test function not found */
|
A D | host_test.function | 1 #line 2 "suites/host_test.function" 224 * \brief Converts parameters into test function consumable parameters. 322 * At high optimization levels (e.g. gcc -O3), this function may be 327 * forbidding inlining of this function by gcc. 378 * If this is \c NULL, this function does nothing. 424 * If this is \c NULL, this function does nothing. 477 mbedtls_fprintf( outcome_file, "FAIL;Test function not found" );
|
A D | test_suite_net.function | 79 * platforms with a Unix-like select() function, which is where 115 * However, we know that on Unix-like platforms (and others), this function
|
A D | test_suite_nist_kw.function | 268 /* Check that the function didn't write beyond the end of the buffer. */ 307 /* Check that the function didn't write beyond the end of the buffer. */
|
/mbedtls-development/scripts/mbedtls_dev/ |
A D | test_case.py | 43 self.function = None #type: Optional[str] 55 def set_function(self, function: str) -> None: 56 self.function = function 64 if self.function is None: 77 assert self.function is not None # guide mypy 84 out.write(self.function + ':' + ':'.join(self.arguments) + '\n')
|
A D | macro_collector.py | 489 def accept_test_case_line(self, function: str, argument: str) -> bool: 505 def add_test_case_line(self, function: str, argument: str) -> None: 508 if function.endswith('_algorithm'): 510 if function == 'key_agreement_algorithm' and \ 515 function = 'other_algorithm' 516 sets += self.table_by_test_function[function] 517 if self.accept_test_case_line(function, argument):
|
/mbedtls-development/tests/scripts/ |
A D | psa_collect_statuses.py | 54 value, function, tail = line.split(':', 2) 55 if function not in self.functions: 56 self.functions[function] = {} 57 fdata = self.functions[function] 58 if value not in self.functions[function]: 76 for function in sorted(self.functions.keys()): 77 fdata = self.functions[function] 80 sys.stdout.write('{} {}\n'.format(function, name))
|
A D | test_zeroize.gdb | 21 # function in platform_util.h is not being optimized out by the compiler. To do 36 # intelligent compiler could determine that this function clears a block of
|
/mbedtls-development/tests/ |
A D | CMakeLists.txt | 66 function(add_test_suite suite_name) 102 -f ${CMAKE_CURRENT_SOURCE_DIR}/suites/test_suite_${suite_name}.function 104 -t ${CMAKE_CURRENT_SOURCE_DIR}/suites/main_test.function 105 -p ${CMAKE_CURRENT_SOURCE_DIR}/suites/host_test.function 107 --helpers-file ${CMAKE_CURRENT_SOURCE_DIR}/suites/helpers.function 111 ${CMAKE_CURRENT_SOURCE_DIR}/suites/test_suite_${suite_name}.function 113 ${CMAKE_CURRENT_SOURCE_DIR}/suites/main_test.function 114 ${CMAKE_CURRENT_SOURCE_DIR}/suites/host_test.function 115 ${CMAKE_CURRENT_SOURCE_DIR}/suites/helpers.function 144 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-function")
|
/mbedtls-development/ |
A D | CONTRIBUTING.md | 32 …function with a new name but similar if not identical behaviour to the original function containin… 34 … function will be removed at some point in the future, notifying users that they should change fro… 36 …be changed by its extension. As described above, if a function needs to be changed, a new function… 47 …t LTS branch. If a bug fix introduces a change to the API such as a new function, the fix should b… 64 …function file` (e.g. `suites/test_suite_mpi.function`) and a `data file` (e.g. `suites/test_suite_…
|
A D | .globalrc | 2 :langmap=c\:.c.h.function:\
|
A D | BRANCHES.md | 39 * Returning an error code that was not previously documented for a function 43 * Changing the behavior of a function from failing to succeeding, when the
|
A D | ChangeLog | 68 new function mbedtls_gcm_update_ad(). 447 function and some mpi operations. 817 redefinition if the function is inlined. 1238 RNG function as an input. 2611 mbedtls_hardware_poll() function. 2679 function. 3017 waiting function. 4021 * Added PKCS#5 PBKDF2 key derivation function 4362 Now using random fuction provided to function and 4392 in a function to allow easy future expansion [all …]
|
/mbedtls-development/docs/architecture/ |
A D | alternative-implementations.md | 12 …efine `MBEDTLS_PLATFORM_XXX_MACRO` to the name of a function to call instead of the standard funct… 24 …le(s)](#module-alternative-implementations) or [of specific functions](#function-alternative-imple… 54 …function that takes this context as an argument). (This is necessary, for example, to support appl… 64 …ter to a context or to a part of a context does not remain valid across function calls. Alternativ… 68 In some cases, it is possible to replace a single function or a small set of functions instead of [… 72 …function name and appending `_ALT`. If the function name contains `_internal`, `_ext` or `_ret`, t… 82 …he process described here. To reconfigure how Mbed TLS calls the standard library function `xxx()`: 87 For example, to provide a custom `printf` function at run time, enable `MBEDTLS_PLATFORM_PRINTF_ALT… 89 …ALT` does not change the behavior: by default, `mbedtls_xxx` points to the standard function `xxx`.
|
A D | tls13-experimental.md | 38 - The HKDF key derivation function on which the TLS 1.3 key schedule is based, 329 - When an TLS 1.3 structure is written or read by a function or as part of 330 a function, provide as documentation the definition of the structure as 354 places in the code. When a constant is used only locally in a function 378 function to a longer name, or indenting a block more), avoid rewrapping 393 - When a function's parameters span several lines, group related parameters
|
/mbedtls-development/docs/architecture/testing/ |
A D | invasive-testing.md | 61 … to change the behavior, do it by function substitution.** See [“rules for function substitution”]… 63 #### Rules for function substitution 65 This section explains how to replace a library function `mbedtls_foo()` by alternative code for tes… 67 … defined to be a system function (like `mbedtls_calloc` or `mbedtls_fopen`), which we replace to m… 69 …function is a `static inline` function that does nothing (not a macro, to avoid accidentally skipp… 71 …function pointer type. This global variable is initialized to the system function, or to a functio… 75 * The test function (or the whole test file) must depend on `MBEDTLS_TEST_HOOKS`. 76 * At the beginning of the test function, set the global function pointers to the desired value. 77 * In the test function's cleanup code, restore the global function pointers to their default value. 226 … Changing the behavior should require some action at runtime (calling a function or changing a var… [all …]
|
A D | driver-interface-test-strategy.md | 21 …function provided by Mbed Crypto (`psa_register_se_driver`) and many functions that drivers must i… 25 …quirements; for example a “good case” test can validate that the proper function is called, that i… 39 For each API function that can lead to a driver call (more precisely, for each driver method call s… 52 For each API function that can lead to a driver call (more precisely, for each driver method call s… 55 * If the API function can take parameters that are invalid and must not reach the driver, call the … 60 For each API function that leads to a driver call, call it with parameters that cause a driver to b… 92 …d successive storage states and replay each of them. Each `psa_its_xxx` function call is assumed t…
|
/mbedtls-development/programs/test/ |
A D | selftest.c | 245 int ( *function )( int ); member 406 if( test->function( v ) != 0 ) in main() 441 if( test->function( v ) != 0 ) in main()
|
/mbedtls-development/docs/ |
A D | 3.0-migration-guide.md | 85 The default reaction to a failed check was to call a function 111 entropy function. 142 The function `mbedtls_mpi_is_prime()` was removed. Please use 171 - The function `mbedtls_md_init_ctx()` was removed; please use 175 provide your own version of that function), please use 440 ### Some function parameters were made const 530 function. 568 the documentation of this function for more information). 848 The function `mbedtls_ssl_conf_dh_param()` was removed. Please use 851 The function `mbedtls_ssl_get_max_frag_len()` was removed. Please use [all …]
|
A D | use-psa-crypto.md | 40 There is a new API function `mbedtls_pk_setup_opaque()` that can be used to 81 exchanges will result in a handshake failure with the handshake function 89 There is a new API function `mbedtls_cipher_setup_psa()` to set up a context
|
/mbedtls-development/docs/proposed/ |
A D | psa-driver-interface.md | 92 …function in the driver that implements the corresponding function. If a function is not listed her… 493 * `"get_random"` (entry point, mandatory): the core calls this function whenever it needs to [obtai… 529 …function at any time. For example, to enforce prediction resistance, the core can call `"add_entro… 612 …function that returns the number of bytes that the driver needs in a key context for a key. This m… 623 … function named in the `"size_function"` property, `key_type` is the key type and `key_bits` is th… 692 * `"allocate_key"`: this function obtains an internal identifier for the key. This may be, for exam… 693 * `"destroy_key"`: this function invalidates the internal identifier and destroys the associated ke… 814 …function returns `PSA_SUCCESS` or `PSA_ERROR_BUFFER_TOO_SMALL`, it must fill `attributes` with the… 908 It should be ok for driver functions to be function-like macros or function pointers. 924 ### Driver function interfaces [all …]
|
/mbedtls-development/ChangeLog.d/ |
A D | check-return.txt | 6 where this function cannot fail, or full-module replacements with
|
/mbedtls-development/scripts/ |
A D | config.py | 481 def add_adapter(name, function, description): argument 483 subparser.set_defaults(adapter=function)
|