Searched refs:function (Results 1 – 25 of 64) sorted by relevance
123
1 #line 2 "suites/main_test.function"42 #line __MBEDTLS_TEST_TEMPLATE__LINE_NO "suites/main_test.function"53 #line __MBEDTLS_TEST_TEMPLATE__LINE_NO "suites/main_test.function"81 #line __MBEDTLS_TEST_TEMPLATE__LINE_NO "suites/main_test.function"111 #line __MBEDTLS_TEST_TEMPLATE__LINE_NO "suites/main_test.function"120 * \brief Function pointer type for test function wrappers.122 * A test function wrapper decodes the parameters and passes them to the123 * underlying test function. Both the wrapper and the underlying function129 * dereferences. Each wrapper function hard-codes the136 * \brief Table of test function wrappers. Used by dispatch_test().[all …]
7 error_strerror:-0x4080:"RSA - Bad input parameters to function"11 error_strerror:-0x40A0:"RSA - Bad input parameters to function \: AES - Invalid key length"
31 * in mpi_random_many, which runs the function multiple times. This also67 * This function returns 1 if, when drawing a number between 0 and b,69 * This probability is (b - 2^n) / b and this function checks that this103 * Testing x >= 2^4 amounts to picking A = 1/16 in the function164 /* Call the legacy function and the core function with the same random269 * This function assumes that the value of bound is at least 2 and421 * the library function rejects that as expected. */
1 #line 2 "suites/helpers.function"52 #define DISPATCH_TEST_FN_NOT_FOUND -3 /* Test function not found */
43 self.function = None #type: Optional[str]55 def set_function(self, function: str) -> None:56 self.function = function64 if self.function is None:77 assert self.function is not None # guide mypy84 out.write(self.function + ':' + ':'.join(self.arguments) + '\n')
508 def accept_test_case_line(self, function: str, argument: str) -> bool:524 def add_test_case_line(self, function: str, argument: str) -> None:527 if function.endswith('_algorithm'):529 if function == 'key_agreement_algorithm' and \534 function = 'other_algorithm'535 sets += self.table_by_test_function[function]536 if self.accept_test_case_line(function, argument):
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))
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`.
304 - When an TLS 1.3 structure is written or read by a function or as part of305 a function, provide as documentation the definition of the structure as329 places in the code. When a constant is used only locally in a function353 function to a longer name, or indenting a block more), avoid rewrapping368 - When a function's parameters span several lines, group related parameters446 organization is to concentrate solely on the parsing in the parsing function to470 organization is to concentrate solely on the writing in the writing function to486 An application function to write and send a buffer of data to a server through517 not be completed, not even started for the SSL context ssl when the function is524 An application function to write and send early data and only early data,[all …]
155 function(add_test_suite suite_name)221 -f ${CMAKE_CURRENT_SOURCE_DIR}/suites/test_suite_${suite_name}.function223 -t ${CMAKE_CURRENT_SOURCE_DIR}/suites/main_test.function224 -p ${CMAKE_CURRENT_SOURCE_DIR}/suites/host_test.function226 --helpers-file ${CMAKE_CURRENT_SOURCE_DIR}/suites/helpers.function230 ${CMAKE_CURRENT_SOURCE_DIR}/suites/test_suite_${suite_name}.function232 ${CMAKE_CURRENT_SOURCE_DIR}/suites/main_test.function233 ${CMAKE_CURRENT_SOURCE_DIR}/suites/host_test.function234 ${CMAKE_CURRENT_SOURCE_DIR}/suites/helpers.function
28 # Allow splitting function calls between arguments114 # No spaces inside function parentheses116 # (The case where the function has no parameters/arguments)119 # No spaces inside the first parentheses in a function type151 # Remove space after star in a function return type203 # At least 1 space between a function return type and the function name206 # No space between a function name and its arguments/parameters
1 # Classify all '.function' files as C for syntax highlighting purposes2 *.function linguist-language=C
37 …function with one that has a slightly different interface (different prototype, or different docum…48 …t LTS branch. If a bug fix introduces a change to the API such as a new function, the fix should b…60 …function file` (e.g. `suites/test_suite_rsa.function`) and a `data file` (e.g. `suites/test_suite_…
2 :langmap=c\:.c.h.function:\
36 …rary/*.h` and include the corresponding header in the test code. If the function should be `static…61 … to change the behavior, do it by function substitution.** See [“rules for function substitution”]…63 #### Rules for function substitution65 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.[all …]
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…
11 `psa_crypto_init()` before calling any function from the SSL/TLS, X.509 or PK29 **New API function:** `mbedtls_pk_setup_opaque()` - can be used to68 There is a new API function `mbedtls_cipher_setup_psa()` to set up a context71 This function only worked for a small number of ciphers. It is now deprecated75 **Warning:** This function will be removed in a future version of Mbed TLS. If
15 - Changing function signatures, e.g. adding return codes, adding extra parameters, or making some a…70 …as public, you need to change your code. If an accessor (getter/setter) function exists, use that.…72 If no accessor function exists, please open an [enhancement request against Mbed TLS](https://githu…87 The file `include/mbedtls/net.h` was removed because its only function was to106 The default reaction to a failed check was to call a function107 `mbedtls_param_failed()` which the application had to provide. If this function132 entropy function.163 The function `mbedtls_mpi_is_prime()` was removed. Please use192 - The function `mbedtls_md_init_ctx()` was removed; please use196 provide your own version of that function), please use[all …]
40 #define CHECK_DLERROR(function, argument) \ argument47 function, argument, CHECK_DLERROR_error); \
227 int (*function)(int); member483 if (test->function(v) != 0) { in main()512 if (test->function(v) != 0) { in main()
1 {# One Shot function's dispatch code for opaque drivers.4 * entry_point: the name of the entry point that this function dispatches to.
1 {# One Shot function's dispatch code for transparent drivers.4 * entry_point: the name of the entry point that this function dispatches to.
31 # We mostly use \retval declarations to document which error codes a function35 # function, we can leave the description part of the \retval command blank.
41 - in `test_suite_pk` we have a new test function `pk_psa_utils` that exercises45 - in `test_suite_pk` we modified the existing `pk_psa_sign` test function to47 - in `test_suite_pkwrite` we should have a new test function checking that55 - in `test_suite_x509write` we have a new test function
35 … involve any platform-specific consideration. Driver calls are simple C function calls. Interactio…92 …#driver-entry-points) or driver entry point family. An entry point is a function defined by the dr…96 …function in the driver that implements the corresponding function. If a function is not listed her…119 …function name, the driver is considered available for this cryptographic mechanism. If a driver in…127 …e that the core supports. If the prefix of this driver is `"acme"`, the function that performs the…135 …ation with either curve). If the prefix of this driver is `"acme"`, the function that performs the…179 …function in the PSA Cryptography API. For example, if a call to `psa_sign_hash()` is dispatched to…181 …nd for PSA Cryptography in particular: `PSA_SUCCESS` indicates that the function succeeded, and `P…208 …is provided to report the actual length of the data written in the buffer if the function succeeds.310 …_capacity()`. The core will always enforce the capacity, therefore this function does not need to …[all …]