Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 128) sorted by relevance

123456

/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/libraries/
Ddma350_checker_layer.c90 static enum dma350_lib_error_t dma350_call_memcpy(struct dma350_memcpy_config *config, struct dma35… in dma350_call_memcpy() argument
94 ret_val = check_blocking(config->exec_type); in dma350_call_memcpy()
99 ret_val = dma350_check_src_dst_unpriv_access(config->src, config->dst, config->size); in dma350_call_memcpy()
104 ret_val = dma350_memcpy(ch_dev, config->src, config->dst, config->size, config->exec_type); in dma350_call_memcpy()
109 static enum dma350_lib_error_t dma350_call_memmove(struct dma350_memmove_config *config, struct dma… in dma350_call_memmove() argument
113 ret_val = check_blocking(config->exec_type); in dma350_call_memmove()
118 ret_val = dma350_check_src_dst_unpriv_access(config->src, config->dst, config->size); in dma350_call_memmove()
123 ret_val = dma350_memmove(ch_dev, config->src, config->dst, config->size, config->exec_type); in dma350_call_memmove()
128 static enum dma350_lib_error_t dma350_call_draw(struct dma350_draw_config *config, struct dma350_ch… in dma350_call_draw() argument
133 ret_val = check_blocking(config->exec_type); in dma350_call_draw()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/fvp/libraries/
Ddma350_checker_layer.c90 static enum dma350_lib_error_t dma350_call_memcpy(struct dma350_memcpy_config *config, struct dma35… in dma350_call_memcpy() argument
94 ret_val = check_blocking(config->exec_type); in dma350_call_memcpy()
99 ret_val = dma350_check_src_dst_unpriv_access(config->src, config->dst, config->size); in dma350_call_memcpy()
104 ret_val = dma350_memcpy(ch_dev, config->src, config->dst, config->size, config->exec_type); in dma350_call_memcpy()
109 static enum dma350_lib_error_t dma350_call_memmove(struct dma350_memmove_config *config, struct dma… in dma350_call_memmove() argument
113 ret_val = check_blocking(config->exec_type); in dma350_call_memmove()
118 ret_val = dma350_check_src_dst_unpriv_access(config->src, config->dst, config->size); in dma350_call_memmove()
123 ret_val = dma350_memmove(ch_dev, config->src, config->dst, config->size, config->exec_type); in dma350_call_memmove()
128 static enum dma350_lib_error_t dma350_call_draw(struct dma350_draw_config *config, struct dma350_ch… in dma350_call_draw() argument
133 ret_val = check_blocking(config->exec_type); in dma350_call_draw()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/drivers/
Dfsl_iap.c42 static status_t get_cfpa_higher_version(flash_config_t *config);
52 …status_t (*eraseCommand)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t …
53 …status_t (*programCommand)(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthIn…
54 status_t (*verifyProgramCommand)(flash_config_t *config,
60 …status_t (*flashReadCommand)(flash_config_t *config, uint32_t start, uint8_t *dest, uint32_t lengt…
94 status_t (*flash_init)(flash_config_t *config);
95 …status_t (*flash_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes, uint32_t k…
96 …status_t (*flash_program)(flash_config_t *config, uint32_t start, uint8_t *src, uint32_t lengthInB…
97 status_t (*flash_verify_erase)(flash_config_t *config, uint32_t start, uint32_t lengthInBytes);
98 status_t (*flash_verify_program)(flash_config_t *config,
[all …]
Dfsl_ctimer.c98 void CTIMER_Init(CTIMER_Type *base, const ctimer_config_t *config) in CTIMER_Init() argument
100 assert(config != NULL); in CTIMER_Init()
116 base->CTCR = CTIMER_CTCR_CTMODE(config->mode) | CTIMER_CTCR_CINSEL(config->input); in CTIMER_Init()
119 base->PR = CTIMER_PR_PRVAL(config->prescale); in CTIMER_Init()
153 void CTIMER_GetDefaultConfig(ctimer_config_t *config) in CTIMER_GetDefaultConfig() argument
155 assert(config != NULL); in CTIMER_GetDefaultConfig()
158 (void)memset(config, 0, sizeof(*config)); in CTIMER_GetDefaultConfig()
161 config->mode = kCTIMER_TimerMode; in CTIMER_GetDefaultConfig()
163 config->input = kCTIMER_Capture_0; in CTIMER_GetDefaultConfig()
165 config->prescale = 0; in CTIMER_GetDefaultConfig()
[all …]
Dfsl_usart.c193 status_t USART_Init(USART_Type *base, const usart_config_t *config, uint32_t srcClock_Hz) in USART_Init() argument
198 assert(!((NULL == base) || (NULL == config) || (0U == srcClock_Hz))); in USART_Init()
199 if ((NULL == base) || (NULL == config) || (0U == srcClock_Hz)) in USART_Init()
211 if (config->enableTx) in USART_Init()
217 base->FIFOTRIG |= USART_FIFOTRIG_TXLVL(config->txWatermark); in USART_Init()
223 if (config->enableRx) in USART_Init()
228 base->FIFOTRIG |= USART_FIFOTRIG_RXLVL(config->rxWatermark); in USART_Init()
233 base->CFG = USART_CFG_PARITYSEL(config->parityMode) | USART_CFG_STOPLEN(config->stopBitCount) | in USART_Init()
234 USART_CFG_DATALEN(config->bitCountPerChar) | USART_CFG_LOOP(config->loopback) | in USART_Init()
235 … USART_CFG_SYNCEN((uint32_t)config->syncMode >> 1) | USART_CFG_SYNCMST((uint8_t)config->syncMode) | in USART_Init()
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/common_utils/
Dcert_cfg_parser_util.py24 config = configparser.ConfigParser()
25 config.readfp(config_file)
30 if not config.has_section(section_name):
34 local_dict['cert_keypair'] = config.get(section_name, 'cert-keypair')
37 if config.has_option(section_name, 'cert-keypair-pwd'):
38 … local_dict['cert_keypair_pwd'] = config.get(section_name, 'cert-keypair-pwd')
43 local_dict['hbk_id'] = int(config.get(section_name, 'hbk-id'))
49 …local_dict['nvcounter_val'] = int(config.get(section_name, 'nvcounter-val')) …
64 …local_dict['next_cert_pubkey'] = config.get(section_name, 'next-cert-pubkey') …
67 local_dict['cert_pkg'] = config.get(section_name, 'cert-pkg')
[all …]
/trusted-firmware-m-3.4.0/lib/ext/tf-m-tests/
DKconfig10 config TEST_S
21 config TEST_NS
41 config TEST_S_ATTESTATION
48 config TEST_S_CRYPTO
54 config TEST_S_ITS
59 config TEST_S_PS
67 config TEST_S_PLATFORM
72 config TEST_S_FWU
80 config TEST_S_IPC
84 config TEST_S_SFN_BACKEND
[all …]
/trusted-firmware-m-3.4.0/docs/configuration/
Dbuild_configuration.rst8 values, with docstrings, can be found in ``config/config_base.cmake``.
11 config that has already been set at any of the prior stages.
16 3. If TEST_PSA_TEST is set, then PSA API test related config is applied from
17 ``config/tests/config_test_psa_api.cmake``.
18 4. If it exists, CMAKE_BUILD_TYPE specific config is applied from
19 ``config/build_type/<build_type>.cmake``.
20 5. Target specific config from ``platform/ext/target/<target_platform>/config.cmake``
22 6. If CRYPTO_HW_ACCELERATOR is set, then a config specific to the
24 7. If it exists, TFM Profile specific config is applied from
25 ``config/profile/<tfm_profile>.cmake``.
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_utils/
Dx509_util_helper.py45 def x509_cert_config_file_parser (section_name, config, local_dict, log_file): argument
47 if config.has_option(section_name, 'issuer-name'):
48 local_dict['issuer_name'] = str.encode(config.get(section_name, 'issuer-name'))
53 if config.has_option(section_name, 'subject-name'):
54 local_dict['subject_name'] = str.encode(config.get(section_name, 'subject-name'))
59 if config.has_option(section_name, 'not-before'):
60 local_dict['not_before'] = int(eval(config.get(section_name, 'not-before')))
61 …log_sync(log_file, "not_before: " + str(local_dict['not_before']) + " =" + config.get(section_name…
65 if config.has_option(section_name, 'not-after'):
66 local_dict['not_after'] = int(eval(config.get(section_name, 'not-after')))
[all …]
/trusted-firmware-m-3.4.0/config/
Dset_config.cmake23 # Load extra config
28 # Set TF-M project config header file
31 # Load PSA config, setting options not already set
33 include(config/tests/config_test_psa_api.cmake)
36 # Load build type config, setting options not already set
38 if (EXISTS ${CMAKE_SOURCE_DIR}/config/build_type/${CMAKE_BUILD_TYPE_LOWERCASE}.cmake)
39 include(${CMAKE_SOURCE_DIR}/config/build_type/${CMAKE_BUILD_TYPE_LOWERCASE}.cmake)
42 # Load platform config, setting options not already set
43 if (EXISTS ${CMAKE_SOURCE_DIR}/platform/ext/target/${TFM_PLATFORM}/config.cmake)
44 include(platform/ext/target/${TFM_PLATFORM}/config.cmake)
[all …]
/trusted-firmware-m-3.4.0/platform/
DKconfig10 config PLATFORM_DEFAULT_BL1
14 config PLATFORM_DEFAULT_ATTEST_HAL
18 config PLATFORM_DEFAULT_NV_COUNTERS
23 config PLATFORM_DEFAULT_CRYPTO_KEYS
27 config PLATFORM_DEFAULT_ROTPK
31 config PLATFORM_DEFAULT_IAK
35 config PLATFORM_DEFAULT_UART_STDOUT
39 config PLATFORM_DEFAULT_NV_SEED
43 config PLATFORM_DEFAULT_OTP
47 config PLATFORM_DEFAULT_OTP_WRITEABLE
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/cypress/psoc64/CMSIS_Driver/
DDriver_USART.c107 cy_stc_scb_uart_config_t config = KITPROG_UART_config; in ARM_USARTx_Initialize() local
110 retval = Cy_SCB_UART_Init(uart_dev->base, &config, NULL); in ARM_USARTx_Initialize()
211 cy_stc_scb_uart_config_t *config) in USARTx_SetDataBits() argument
215 config->dataWidth = 5; in USARTx_SetDataBits()
219 config->dataWidth = 6; in USARTx_SetDataBits()
223 config->dataWidth = 7; in USARTx_SetDataBits()
227 config->dataWidth = 8; in USARTx_SetDataBits()
231 config->dataWidth = 9; in USARTx_SetDataBits()
242 cy_stc_scb_uart_config_t *config) in USARTx_SetParity() argument
246 config->parity = CY_SCB_UART_PARITY_NONE; in USARTx_SetParity()
[all …]
/trusted-firmware-m-3.4.0/secure_fw/partitions/crypto/
DKconfig11 config CRYPTO_ENGINE_BUF_SIZE
18 config CRYPTO_CONC_OPER_NUM
25 config CRYPTO_RNG_MODULE_ENABLED
29 config CRYPTO_KEY_MODULE_ENABLED
33 config CRYPTO_AEAD_MODULE_ENABLED
37 config CRYPTO_MAC_MODULE_ENABLED
41 config CRYPTO_HASH_MODULE_ENABLED
45 config CRYPTO_CIPHER_MODULE_ENABLED
49 config CRYPTO_ASYM_SIGN_MODULE_ENABLED
53 config CRYPTO_ASYM_ENCRYPT_MODULE_ENABLED
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/oem_asset_package/
Ddmpu_oem_asset_pkg_util.py37 def parse_config_file (config, log_file): argument
40 if not config.has_section(section_name):
44 if config.get(section_name, 'asset-type') == "kce":
46 elif config.get(section_name, 'asset-type') == "kcp":
53 local_dict['icv_enc_oem_key'] = config.get(section_name, 'icv-enc-oem-key')
56 local_dict['oem_enc_keypair'] = str.encode(config.get(section_name, 'oem-enc-keypair'))
59 if config.has_option(section_name, 'oem-enc-keypwd'): #used for testing
60 local_dict['oem_enc_keypwd'] = str.encode(config.get(section_name, 'oem-enc-keypwd'))
65 local_dict['asset_filename'] = config.get(section_name, 'asset-filename')
68 local_dict['pkg_filename'] = str.encode(config.get(section_name, 'pkg-filename'))
[all …]
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/cmpu_asset_pkg_util/
Dcmpu_asset_pkg_util.py45 def parse_config_file (config, log_file): argument
48 if not config.has_section(section_name):
52 if config.get(section_name, 'asset-type') == "kpicv":
54 elif config.get(section_name, 'asset-type') == "kceicv":
61 local_dict['unique_data'] = config.get(section_name, 'unique-data')
64 local_dict['key_filename'] = config.get(section_name, 'key-filename')
67 if config.has_option(section_name, 'keypwd-filename'): #used for testing
68 local_dict['keypwd_filename'] = str.encode(config.get(section_name, 'keypwd-filename'))
73 local_dict['asset_filename'] = config.get(section_name, 'asset-filename')
76 local_dict['pkg_filename'] = str.encode(config.get(section_name, 'pkg-filename'))
[all …]
/trusted-firmware-m-3.4.0/secure_fw/partitions/initial_attestation/
DKconfig11 config ATTEST_INCLUDE_OPTIONAL_CLAIMS
15 config ATTEST_INCLUDE_COSE_KEY_ID
21 config ATTEST_TOKEN_PROFILE_PSA_IOT_1
23 config ATTEST_TOKEN_PROFILE_PSA_2_0_0
25 config ATTEST_TOKEN_PROFILE_ARM_CCA
29 config ATTEST_TOKEN_PROFILE
35 config ATTEST_STACK_SIZE
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/icv_key_response/
Ddmpu_icv_key_response_util.py27 def parse_config_file (config, log_file): argument
30 if not config.has_section(section_name):
34 local_dict['oem_cert_pkg'] = config.get(section_name, 'oem-cert-pkg')
37 local_dict['key_filename'] = config.get(section_name, 'key-filename')
40 if config.has_option(section_name, 'keypwd-filename'): #used for testing
41 local_dict['keypwd_filename'] = str.encode(config.get(section_name, 'keypwd-filename'))
46 local_dict['pkg_filename'] = str.encode(config.get(section_name, 'icv-enc-oem-key'))
81 config = configparser.ConfigParser()
82 config.read(config_fname)
85 data_dict = parse_config_file(config, log_file)
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_asset_prov_rt/
Dasset_provisioning_rt_util.py41 def parse_config_file (config, log_file): argument
44 if not config.has_section(section_name):
48 local_dict['asset_id'] = int(config.get(section_name, 'asset-id'), 16)
51 local_dict['key_filename'] = config.get(section_name, 'key-filename')
54 if config.has_option(section_name, 'keypwd-filename'): #used for testing
55 local_dict['keypwd_filename'] = str.encode(config.get(section_name, 'keypwd-filename'))
60 local_dict['asset_filename'] = config.get(section_name, 'asset-filename')
63 local_dict['asset_pkg'] = str.encode(config.get(section_name, 'asset-pkg'))
106 config = configparser.ConfigParser()
107 config.read(config_fname)
[all …]
/trusted-firmware-m-3.4.0/lib/ext/psa_arch_tests/
DKconfig14 config TEST_PSA_API_IPC
17 config TEST_PSA_API_CRYPTO
23 config TEST_PSA_API_INITIAL_ATTESTATION
30 config TEST_PSA_API_INTERNAL_TRUSTED_STORAGE
34 config TEST_PSA_API_PROTECTED_STORAGE
41 config TEST_PSA_API_STORAGE
50 config TEST_PSA_API
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/dmpu_asset_pkg_util/oem_key_request/
Ddmpu_oem_key_request_util.py37 def parse_config_file (config, log_file): argument
40 if not config.has_section(section_name):
44 local_dict['main_keypair_filename'] = config.get(section_name, 'oem-main-keypair')
47 if config.has_option(section_name, 'oem-main-keypwd'): #used for testing
48 local_dict['main_keypwd_filename'] = config.get(section_name, 'oem-main-keypwd')
53 local_dict['enc_pubkey_filename'] = config.get(section_name, 'oem-enc-pubkey')
56 local_dict['cert_pkg_filename'] = str.encode(config.get(section_name, 'oem-cert-pkg'))
94 config = configparser.ConfigParser()
95 config.read(config_fname)
98 data_dict = parse_config_file(config, log_file)
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/
Dplat_test.c36 ctimer_config_t config; in tfm_plat_test_secure_timer_start() local
41 CTIMER_GetDefaultConfig(&config); in tfm_plat_test_secure_timer_start()
42 CTIMER_Init(CTIMER, &config); in tfm_plat_test_secure_timer_start()
78 ctimer_config_t config; in tfm_plat_test_non_secure_timer_start() local
83 CTIMER_GetDefaultConfig(&config); in tfm_plat_test_non_secure_timer_start()
84 CTIMER_Init(CTIMER_NS, &config); in tfm_plat_test_non_secure_timer_start()
/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/
DKconfig11 config PS_CREATE_FLASH_LAYOUT
17 config PS_RAM_FS
24 config PS_ROLLBACK_PROTECTION
30 config PS_VALIDATE_METADATA_FROM_FLASH
36 config PS_MAX_ASSET_SIZE
42 config PS_NUM_ASSETS
49 config PS_STACK_SIZE
/trusted-firmware-m-3.4.0/
DKconfig14 config TFM_ISOLATION_LEVEL
25 config TFM_SPM_BACKEND_SFN
28 config TFM_SPM_BACKEND_IPC
32 config CONFIG_TFM_SPM_BACKEND
41 config TFM_FIH_PROFILE_OFF
44 config TFM_FIH_PROFILE_LOW
47 config TFM_FIH_PROFILE_MEDIUM
50 config TFM_FIH_PROFILE_HIGH
54 config TFM_FIH_PROFILE
61 config PSA_FRAMEWORK_HAS_MM_IOVEC
/trusted-firmware-m-3.4.0/secure_fw/partitions/internal_trusted_storage/
DKconfig11 config ITS_CREATE_FLASH_LAYOUT
18 config ITS_RAM_FS
25 config ITS_VALIDATE_METADATA_FROM_FLASH
31 config ITS_MAX_ASSET_SIZE
38 config ITS_NUM_ASSETS
45 config ITS_BUF_SIZE
52 config ITS_STACK_SIZE
/trusted-firmware-m-3.4.0/secure_fw/partitions/
DKconfig15 config TFM_PARTITION_CRYPTO
24 config TFM_PARTITION_INITIAL_ATTESTATION
30 config TFM_PARTITION_INTERNAL_TRUSTED_STORAGE
36 config TFM_PARTITION_PLATFORM
45 config TFM_PARTITION_FIRMWARE_UPDATE
54 config TFM_PARTITION_PROTECTED_STORAGE

123456