aboutsummaryrefslogtreecommitdiff
path: root/secure_fw/partitions/audit_logging
AgeCommit message (Collapse)Author
2022-10-21Audit: Remove Audit Log partitionSummer Qin
Audit Log partition is only supported in Library Model. With Library Model is deprecated, Audit Log partition is removed too. Signed-off-by: Summer Qin <summer.qin@arm.com> Change-Id: Ib45b0ee92e34635f62c22288ffe8a8ca70e0b41b
2022-10-21SPM: Remove Library Model filesSummer Qin
Library Model is deprecated, so remove the related files. Signed-off-by: Summer Qin <summer.qin@arm.com> Change-Id: I38ecb8631e1f30953f320522dd8025bb15bc39b2
2022-08-29Build: Merge secure_api & sp_log_raw into tfm_sprtKevin Peng
This patch merges tfm_secure_api and tfm_sp_log_raw library into tfm_sprt. The APIs in tfm_secure_api and tfm_sp_log_raw are for Secure Partitions usage thereforce they can naturally be moved to tfm_sprt as tfm_sprt is intended for Secure Partition usages. This patch also changes tfm_sprt to publicly link psa_interface. With these changes, Secure Partition libraries need to link a single tfm_sprt for all interactions with the framework. This patch also removes some unnecessary links. Change-Id: I99b1e3c6ae1e956435bcfdf5b0db77d9f6f2a3f3 Signed-off-by: Kevin Peng <kevin.peng@arm.com>
2021-10-05Platform: Add IAR support for Musca B1TTornblom
Signed-off-by: TTornblom <thomas.tornblom@iar.com> Change-Id: Ib5acc3e6bdc1b8b4faa5335953572c97ea77a090
2021-04-28Unify to use ARRAY_SIZE in TF-M codesXinyu Zhang
ARRAY_SIZE(foo) is preferred over sizeof(foo)/sizeof(foo[0]). Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com> Change-Id: I6d95ceece2edc6267491923e282e28710b68ab8d
2021-01-19Build: add rot to cmake partition target namesRaef Coles
change from tfm_partition_x to tfm_app_rot_partition_x or tfm_psa_rot_partition_x. This allows the linker to automtically pick up the library files and determine where they should be placed. Update TFM_TEST_REPO_VERSION to point to f1e9130c47f213a5380b00427770f61486b6e4fe, which is the head of the changes required for enabling this patch to work. Change-Id: If0b355f9e94a0ecc862c292302a573df1b3f9c2d Signed-off-by: Raef Coles <raef.coles@arm.com>
2020-12-23Build: Set TFM_PARTITION_AUDIT_LOG to OFF in IPC modelDavid Hu
Since audit logging is not supported in IPC model yet, create a IPC dedicated default config to explicitly set TFM_PARTITION_AUDIT_LOG to OFF in IPC model. It can skip installing audit logging files in IPC model. Change-Id: Ie2c948aedb2fe40a88399a855e22f4490d631179 Signed-off-by: David Hu <david.hu@arm.com>
2020-12-15Partition: Move partitions secure api into SPRTLSummer Qin
Original parition secure api is declared in 'SFN' section. However, if one secure api is not used, it will still be kept in binary. This will cost some memory. To improve it, we put these partition secure api in SPRTL. Then, the unused functions will be discarded by toolchain. Change the tfm_secure_api library attribute to 'INTERFACE' since the public sources are moved into tfm_sprt library. Change-Id: I13799bd50b2a6b700ffa6d029d0af3dbb84e584f Signed-off-by: Summer Qin <summer.qin@arm.com>
2020-11-03Build: Add audit logging defs targetRaef Coles
Allows the audit logging tests to pick up audit logging definitions without having to link to the audit logging partitions (and hence the entire spm) Change-Id: I9fd7ab7a0daf5dc371dedbcc7b9bf9bc10c72c6b Signed-off-by: Raef Coles <raef.coles@arm.com>
2020-11-03Build: Refactor toolchain filesRaef Coles
Change from a CMAKE toolchain file to a TFM toolchain file, avoiding some abuses of the CMAKE_TOOLCHAIN_FILE that were used as a workaround for compiler setup. Also add the CROSS_COMPILE variable. Bump cmake required version to 3.15. Change-Id: I0948033045e2d2f34beffa807925fc7375098335 Signed-off-by: Raef Coles <raef.coles@arm.com>
2020-10-21Build: Use generated psa_manifest header filesMingyang Sun
The psa_manifest header files are generated into build directory now. Remove psa_manifest header files existed in partition directories and use the ones from the build directory. Similar changes are also needed in tf-m-tests arch-test repo. Change-Id: If4a69b49732752d6092a20912cb307fa991ba80c Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
2020-09-24Build: Convert secure_fw dir to modern cmakeRaef Coles
Rewrite cmake files inside the secure_fw directory. Removed generated files as they are now generated into the build tree. Alter header includes where include paths have changed. WARNING: This change will not build in isolation, it requires _all_ other cmake changes to successfully build. It is split out only for clarity of changes. Change-Id: Ib1b13c9b69f2fcb1ff354ed6b5e5b717a207e3b8 Signed-off-by: Raef Coles <raef.coles@arm.com>
2020-07-15SPM: Sort out arch/includeSummer Qin
Move files in arch/include into arch. Remove secure_fw/core include operation since core folder is deleted. Change-Id: Ia9d61e7bee1be91c93fec4e691e42f8847868ecc Signed-off-by: Summer Qin <summer.qin@arm.com>
2020-06-12SST: Rename SST(Secure STorage) to PS(Protected Storage)Kevin Peng
This patches renames SST(Secure STorage) to PS(Protected Storage) for files, folders and any contents in files to align with the PSA Storage API spec. Change-Id: Icf991f59512875780c159f22737b521b3b2d4924 Signed-off-by: Kevin Peng <kevin.peng@arm.com>
2020-06-03Build: Follow the 'source_structure.rst'Ken Liu
This is the first patch to follow the first commit of source structure document. The items under the 'secure_fw' folder are re-organized: - Create/Move some folders/files to follow document. - Rename some folders to foll, for example, 'secure_fw/services' to 'secure_fw/partitions'. - Update affected files to make it work. This is a big change, to make the structure meet the basic shape of the structure document defined, and make it easier to be understood for users. Staging changes are not applicable so they are combined into one - and because it is not the final shape yet, so: - Upcoming updates on the 'secure_fw' folder would follow up soon. - Fine-tune about the 'source_structure.rst' would come, too. Change-Id: I5c11175e0a4579cd9b42d3e3519dbffb87334d0b Signed-off-by: Ken Liu <ken.liu@arm.com>