Searched refs:code (Results 1 – 25 of 270) sorted by relevance
1234567891011
19 environment. In the current TF-M code base, both firmware components use the23 firmware component. As a result of this workflow, the same code is placed in the24 flash twice. For example, the code for the SHA-256 algorithm is included in25 MCUboot, but the exact same code is duplicated in the SPE cryptography27 and the SPE, because both are part of the PRoT code and run in the secure28 domain. So, in theory, the code of the common cryptographic algorithms could be30 code footprint, because the cryptographic algorithms are usually flash hungry.41 space is how to share code between independently linked XIP applications that43 function and global data memory addresses. In this case, the code is not45 that can perform code relocation. Also, the lack of an MMU makes the address[all …]
127 This is a status code to be used as the return type of :term:`HAL` APIs.129 .. code-block:: c146 Here is the general list. The detailed usages for each error code are described151 Status code to indicate general success.155 Status code to indicate an error that does not correspond to any defined failure160 Status code to indicate that the module is not initialed.164 Status code to indicate that the input is invalid.168 Status code to indicate that the requested operation or a parameter is not173 Status code to indicate that the requested action cannot be performed in the178 Status code to indicate that the current number has got the max value.[all …]
66 #pragma arm section code = ".BL2_NoHdp_Code"98 #pragma arm section code105 #pragma arm section code = ".BL2_NoHdp_Code"145 #pragma arm section code152 #pragma arm section code = ".BL2_NoHdp_Code"177 #pragma arm section code328 #pragma arm section code = ".BL2_Error_Code"365 #pragma arm section code
16 uint32_t code = 0; in cc3xx_lowlevel_lcs_get() local25 code = P_CC3XX->nvm.lcs_reg & 0b111U; in cc3xx_lowlevel_lcs_get()27 switch (code) { in cc3xx_lowlevel_lcs_get()
21 Trusted Firmware M source code is available on63 .. code-block:: bash70 .. code-block:: bash80 .. code-block:: bash100 .. code-block:: bash108 Clone the TF-M source code, and then install the TF-M's additional Python115 1. get the TF-M source code:117 .. code-block:: bash124 .. code-block:: bash132 1. get the TF-M source code:[all …]
18 - Support for hardware lifecycle management and provisioning using code and31 address for the DMA ICS concatenation with the ROM code. The build39 .. code-block:: bash47 .. code-block:: bash56 .. code-block:: bash65 .. code-block:: bash71 .. code-block:: bash77 .. code-block:: bash110 .. code-block:: bash
32 def encrypt_bundle(code, code_pad, values, values_pad, data, argument34 code = struct_pack([code], pad_to=code_pad)45 code,
51 (code, underline, strike-through etc)81 .. code-block:: restructuredtext103 The recommendation for code content, is to use the explicit code-block directive,108 .. code-block:: restructuredtext110 .. code-block:: bash115 .. code-block:: doscon119 .. code-block:: c123 .. code-block:: python3128 Restructured Text supports implicit code-blocks by indenting a section of text,132 .. code-block:: restructuredtext[all …]
13 TF-M also reuses code from other SW projects, e.g. ``CMSIS_5``, which14 means some areas of code may have different styles. We use common sense approach15 and new code may inherit coding style from external projects but it needs to32 The code needs to be consistent with itself, so if existing code in the file49 - No trailing spaces in code.59 - Do not use typedef for other constructs as it obfuscates code.62 - Use enumeration for error codes to keep the code readable.75 - Do not code while eating.
7 contributors can focus more on actual code implementation and iteration.11 The design details can be discussed via code reviews of actual implementations.37 …state "Upstream changes" as upload : Contributors upstream code patch\nand integration guide to ge…56 or TF-M tech forum, before or while the code implementation is under review.63 will help reviewers understand the design much better and expedite the code70 deliberate over design and implementation details via code review.73 TF-M gerrit [3]_ for code review.85 - If it requires additional reviewers besides code owners and maintainers,89 - Authors shall put essential comments and notes in code for the code changes.
43 - The secure code will make a platform-specific call immediately after setting47 code to start running, so starting it here ensures system integrity while48 also giving the non-secure code the maximum amount of time to perform its56 - Both the secure and non-secure code will make platform-specific calls to60 secure code jumps to the non-secure code, and at the very start of the61 non-secure code.64 single core system, it would jump to the non-secure code), the main thread on76 initialization code, at different speeds, the design must be resilient if98 .. code-block:: c105 - Performs the necessary actions to start the non-secure core running the code[all …]
266 The pseudo code below shows a reference implementation of269 .. code-block:: c512 .. code-block:: c522 .. code-block:: c532 .. code-block:: c542 .. code-block:: c552 .. code-block:: c562 .. code-block:: c572 .. code-block:: c582 .. code-block:: c[all …]
8 ; This scatter-file places application code, data, stack and heap at suitable addresses in the memo…18 * (RESET, +FIRST) ; Vector table and other startup code19 * (InRoot$$Sections) ; All (library) code that must be in a root region20 * (+RO-CODE) ; Application RO code (.text)
6 * (RESET, +FIRST) ; Vector table and other startup code7 * (InRoot$$Sections) ; All (library) code that must be in a root region8 * (+RO-CODE) ; Application RO code (.text)
8 ; This scatter-file places application code, data, stack and heap at suitable addresses in the memo…16 * (RESET, +FIRST) ; Vector table and other startup code17 * (InRoot$$Sections) ; All (library) code that must be in a root region18 * (+RO-CODE) ; Application RO code (.text)
63 code = code_section.data() variable102 code = struct_pack([code], variable111 code,
23 /**** This initial section contains common code for secure binary */45 * of PSA RoT code.58 * of PSA RoT code.62 /**** Unprivileged Secure code start here */69 * of TFM unprivileged code.77 * of APP RoT code.90 * of APP RoT code.212 * No code will be placed here, just address of this region is used in the213 * secure code to configure certain HW components. This generates an empty223 * No code will be placed here, just address of this region is used in the[all …]
23 /**** This initial section contains common code for secure binary */45 * of PSA RoT code.58 * of PSA RoT code.62 /**** Unprivileged Secure code start here */70 * of TFM unprivileged code.78 * of APP RoT code.91 * of APP RoT code.213 * No code will be placed here, just address of this region is used in the214 * secure code to configure certain HW components. This generates an empty224 * No code will be placed here, just address of this region is used in the[all …]
28 /* Position tag: code + RO-data */31 /**** This initial section contains common code for secure binary */60 /**** Unprivileged Secure code start here */67 * of TFM unprivileged code.87 * of PSA RoT code.100 * of PSA RoT code.108 * of APP RoT code.121 * of APP RoT code.127 /* Flash drivers code that gets copied from Flash */168 /* The code sharing between bootloader and runtime requires to share the[all …]
18 to is allocated by the platform code. The pointer gets stored in the partitions46 Before calling ``main()``, platform startup code should initialise all system49 architecture code will check and initialise them:63 - `DAUTH_NS_ONLY`: Invasive and non invasive debugging of non-secure code is66 code is enabled.87 The code in this folder is created as a part of the TF-M project therefore it92 This folder contains code that has been imported from other projects so it may
18 Please also make sure that all the source code are fetched by following24 .. code-block:: bash72 .. code-block:: bash90 .. code-block:: bash109 .. code-block:: bash128 .. code-block:: bash147 .. code-block:: bash167 .. code-block:: bash221 .. code-block:: bash228 .. code-block:: bash[all …]
52 code = code_section.data() variable100 code = struct_pack([code], variable109 code,