Home
last modified time | relevance | path

Searched refs:function (Results 1 – 25 of 74) sorted by relevance

123

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/no_os/
Dtest_pal_log.c20 void Test_PalPrintfError(const char *function, const char *format, ...) in Test_PalPrintfError() argument
26 printf("%s(): ", function); in Test_PalPrintfError()
34 void Test_PalFprintfError(void *fd, const char *function, const char *format, ...) in Test_PalFprintfError() argument
37 (void)function; in Test_PalFprintfError()
54 void Test_PalPrintf(const char *function, const char *format, ...) in Test_PalPrintf() argument
60 if (function) in Test_PalPrintf()
61 printf("%s(): ", function); in Test_PalPrintf()
68 void Test_PalFprintf(void *fd, const char *function, const char *format, ...) in Test_PalFprintf() argument
71 (void)function; in Test_PalFprintf()
76 void Test_PalPrintByteBuff(const char *function, const char *buffName, in Test_PalPrintByteBuff() argument
[all …]
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/freertos/
Dtest_pal_log.c20 void Test_PalPrintfError(const char *function, const char *format, ...) in Test_PalPrintfError() argument
26 printf("%s(): ", function); in Test_PalPrintfError()
34 void Test_PalFprintfError(void *fd, const char *function, const char *format, ...) in Test_PalFprintfError() argument
37 (void)function; in Test_PalFprintfError()
54 void Test_PalPrintf(const char *function, const char *format, ...) in Test_PalPrintf() argument
60 if (function) in Test_PalPrintf()
61 printf("%s(): ", function); in Test_PalPrintf()
68 void Test_PalFprintf(void *fd, const char *function, const char *format, ...) in Test_PalFprintf() argument
71 (void)function; in Test_PalFprintf()
76 void Test_PalPrintByteBuff(const char *function, const char *buffName, in Test_PalPrintByteBuff() argument
[all …]
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/mbedos/
Dtest_pal_log.c20 void Test_PalPrintfError(const char *function, const char *format, ...) in Test_PalPrintfError() argument
26 printf("%s(): ", function); in Test_PalPrintfError()
34 void Test_PalFprintfError(void *fd, const char *function, const char *format, ...) in Test_PalFprintfError() argument
37 (void)function; in Test_PalFprintfError()
54 void Test_PalPrintf(const char *function, const char *format, ...) in Test_PalPrintf() argument
60 if (function) in Test_PalPrintf()
61 printf("%s(): ", function); in Test_PalPrintf()
68 void Test_PalFprintf(void *fd, const char *function, const char *format, ...) in Test_PalFprintf() argument
71 (void)function; in Test_PalFprintf()
76 void Test_PalPrintByteBuff(const char *function, const char *buffName, in Test_PalPrintByteBuff() argument
[all …]
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/linux/
Dtest_pal_log.c20 void Test_PalPrintfError(const char *function, const char *format, ...) in Test_PalPrintfError() argument
26 if (function) in Test_PalPrintfError()
27 fprintf(stderr, "%s(): ", function); in Test_PalPrintfError()
37 void Test_PalFprintfError(void *fd, const char *function, const char *format, ...) in Test_PalFprintfError() argument
44 if (function) in Test_PalFprintfError()
45 fprintf(fd_l, "%s(): ", function); in Test_PalFprintfError()
50 if (function) in Test_PalFprintfError()
51 fprintf(stderr, "%s(): ", function); in Test_PalFprintfError()
73 void Test_PalPrintf(const char *function, const char *format, ...) in Test_PalPrintf() argument
79 if (function) in Test_PalPrintf()
[all …]
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/include/
Dtest_pal_log.h43 void Test_PalPrintfError(const char *function, const char *format, ...);
61 void Test_PalFprintfError(void *fd, const char *function,
93 void Test_PalPrintf(const char *function, const char *format, ...);
111 void Test_PalFprintf(void *fd, const char *function, const char *format, ...);
129 void Test_PalPrintByteBuff(const char *function, const char *buffName,
149 void Test_PalFprintByteBuff(void *fd, const char *function,
170 void Test_PalFprintfByteBuffMax(void *fd, const char *function,
190 void Test_PalPrintWordBuff(const char *function, const char *buffName,
/trusted-firmware-m-latest/platform/ext/target/cypress/psoc64/Device/Source/gcc/
Dstartup_psoc64_s.S98 .type Cy_OnResetUser, %function
108 .type Cy_SaveIRQ, %function
119 .type Cy_RestoreIRQ, %function
128 .type Reset_Handler, %function
274 .type Default_Handler, %function
279 .type Cy_SysLib_FaultHandler, %function
284 .type Fault_Handler, %function
Dstartup_psoc64_ns.S248 .type Cy_OnResetUser, %function
258 .type Cy_SaveIRQ, %function
270 .type Cy_RestoreIRQ, %function
280 .type Reset_Handler, %function
434 .type Default_Handler, %function
442 .type Cy_SysLib_FaultHandler, %function
447 .type Fault_Handler, %function
/trusted-firmware-m-latest/docs/design_docs/services/
Dtfm_uniform_secure_service_signature.rst20 directory, that specifies the signature for each veneer function, and calls the
21 secure function from the veneers. The respective
39 generated automatically from a template (using the secure function list in the
62 returned by ``psa_reply()`` function.
96 The veneer function declarations and implementations are generated in the
102 the template veneer function to call ``TFM_CORE_SFN_REQUEST`` macro.
Dtfm_fwu_service.rst86 fwu_bootloader_init(function)
105 fwu_bootloader_staging_area_init(function)
127 fwu_bootloader_load_image(function)
149 fwu_bootloader_install_image(function)
170 fwu_bootloader_mark_image_accepted(function)
190 fwu_bootloader_reject_staged_image(function)
207 fwu_bootloader_reject_trial_image(function)
223 fwu_bootloader_clean_component(function)
239 fwu_bootloader_get_image_info(function)
Dps_key_management.rst26 derivation function (KDF) to derive a storage key from the HUK, by referring to
73 The key derivation function used by the crypto service to derive the storage key
74 will be HKDF, with SHA-256 as the underlying hash function. HKDF is suitable
87 The choice of underlying hash function is fairly straightforward: it needs to be
/trusted-firmware-m-latest/docs/contributing/
Dcoding_guide.rst42 - Use ``lower_case_with_underscore`` for filenames, variable and function names.
47 - Use void argument if your function doesn't contain any argument.
53 - Put open curly brace in the line below the function header.
54 - Order function parameters so that input params are before output params.
55 - Declare local variables at the beginning of the function.
57 - Use typedefs **ONLY** for function prototype declarations.
/trusted-firmware-m-latest/cmake/
Dutils.cmake13 function(format_string output input size filler)
34 function(dump_options title options)
57 function(tfm_invalid_config)
Dremote_library.cmake15 # This function applies patches if they are not applied yet.
20 function(apply_patches WORKING_DIRECTORY PATCH_FILES)
121 function(_get_fetch_remote_properties REPO_URL_VAR TAG_VAR)
135 # This function helps to handle options with an empty string values.
170 function(extract_key_value KEY KEY_VAR VALUE_VAR ARG_LIST_VAR)
202 # This function allows to fetch library from a remote repository or use a local
225 # This function set CMP0097 to NEW if CMAKE_VERSION is greater or equal than 3.18.0.
229 function(fetch_remote_library)
/trusted-firmware-m-latest/docs/security/security_advisories/
Dcrypto_multi_part_ops_abort_fail.rst5 | Title | ``abort()`` function may not take effect in TF-M Crypto |
43 function shall be called when ``update()`` or ``finish()`` function fails.
44 The ``abort()`` function aborts the ongoing multi-part operation and cleans up
66 The context is cleaned up in crypto library ``abort()`` function when the client
100 library function returns an error code, TF-M ``update()`` and ``finish()``
110 Therefore, the underlying crypto library ``abort()`` function can be unable to
170 object is only cleaned in the ``abort()`` function after the underlying crypto
Dsvc_caller_sp_fetching_vulnerability.rst30 When a non-secure caller calls the secure function, the execution switches the
48 If NSPE calls the secure function in 'Handler mode', the TF-M secure entry runs
72 (higher address) of secure thread stack if there is no ongoing secure function
100 - The SVC number corresponds to the boot data fetching function. If the
105 - The SVC number corresponds to the log output function. If the unpredictable
/trusted-firmware-m-latest/docs/design_docs/dual-cpu/
Dmailbox_design_on_dual_core_system.rst289 As PSA Firmware Framework-M (FF-M) requests, a PSA Client API function should be
446 message and pass it back to mailbox reply function. SPE mailbox can identify
519 ``MAILBOX_QUEUE_FULL`` is a return value from mailbox function if mailbox queue
529 ``MAILBOX_INVAL_PARAMS`` is a return value from mailbox function if any
539 ``MAILBOX_NO_PERMS`` is a return value from mailbox function if the caller
549 ``MAILBOX_NO_PEND_EVENT`` is a return value from mailbox function if the
559 ``MAILBOX_CHAN_BUSY`` is a return value from mailbox function if the underlying
569 ``MAILBOX_CALLBACK_REG_ERROR`` is a return value from mailbox function if the
579 ``MAILBOX_INIT_ERROR`` is a return value from mailbox function if the mailbox
772 This function initializes NSPE mailbox.
[all …]
/trusted-firmware-m-latest/docs/design_docs/software/
Dtfm_cooperative_scheduling_rules.rst52 - NSPE makes a function call into SPE
54 - SPE makes a function call into NSPE (not covered in current design)
78 previous function call from NSPE.
130 Rules for NSPE to SPM function call (and NSPE scheduler)
134 guarantee NSPE function calling stack integrity.
142 function return only if the SPE return path corresponds to currently active NSPE
148 i.e. control is voluntarily given back by NSPE, either through a function call,
168 i.e. control is voluntarily given back by NSPE, either through a function call,
187 it raises a pended IRQ to NSPE instead of returning the function call path.
Denum_implicit_casting.rst99 It happens, for example, for arithmetic operations, function calls and
100 function returns. This strategy always have the lowest performance impact.
103 3. When converting an integer to an enumeration type, use a conversion function
105 performance too much, this function should be an inline function. If it does
107 4. When converting an enumeration type to an integer, use a conversion function
146 * ``enum tfm_buffer_share_region_e``: the following function prototypes will be
172 value returned by the SVC request function (``tfm_core_*_request``) to these
Dcode_sharing.rst43 function and global data memory addresses. In this case, the code is not
111 The execution flow usually returns from a shared function back to the SPE with
112 an ordinary function return. So usually, once a shared function is called in the
114 However, this is not always the case, as it is possible for a shared function to
115 call a non-shared function in SPE code through a global function pointer.
179 In order to share some global function pointers from mbed-crypto that are
184 created for the mbed-crypto library, which "globalises" these function pointers:
/trusted-firmware-m-latest/docs/integration_guide/
Dtfm_secure_irq_integration_guide.rst62 - Integrating the interrupt handling function
244 Platforms must define an interrupt initialization function for each Secure
247 The prototype of the function is:
260 For example if the manifest declares ``"source": 5``, then the function name
262 If the manifest declares ``"source" : "TIMER_1_IRQ"`` then the function
265 The function will be called by the Framework automatically during
266 initialization. The function can be put in any source file that belongs to SPM,
288 But if you use the ``NVIC_SetPriority`` function provided by CMSIS to set
304 The initialization function is called during Partition loading with the
335 Platforms should call this entry function in the interrupt handlers held in
Dindex.rst69 implementation of this function for RTOS and bare metal use cases.
74 When reference RTOS implementation of dispatch function is used NS application
75 should call ``tfm_ns_interface_init()`` function before first PSA API call.
81 its own implementation of ``tfm_ns_interface_dispatch()`` function.
91 needs to call the ``tfm_non_secure_client_run_tests()``. This function is
98 ``tfm_non_secure_client_run_tests()`` function. The PS non-secure side
/trusted-firmware-m-latest/config/
Dkconfig.cmake22 # This function parses the input ${cmake_file} to get normal CMake variables and their values in the
25 # recommanded between "set" and "(". So the function only covers format of "set(".
26 function(convert_normal_cmake_config_to_kconfig cmake_file out_var)
93 # This function goes through the CMake cache variables and convert them to .config format.
94 # The function distinguishes command-line variables and other ones and it can only handle one of
96 function(convert_cache_config_to_dotconfig convert_cl_var out_var)
Dtfm_secure_log.cmake11 # Secure regression tests also require SP log function
/trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/
DCMakeLists.txt44 # associated mbedtls_psa_external_get_random() function
/trusted-firmware-m-latest/tools/
DCMakeLists.txt35 function(parse_field_from_yaml files field output_variable)
94 # The function appends the given `config` to the `out_var` variable.
99 function(append_manifest_config out_var config type)

123