Home
last modified time | relevance | path

Searched refs:status (Results 101 – 125 of 211) sorted by relevance

123456789

/optee_os/core/arch/arm/dts/
H A Dstm32mp157c-ed1-scmi.dts36 status = "okay";
37 secure-status = "disabled";
42 status = "okay";
H A Dstm32mp13xf.dtsi15 status = "disabled";
26 status = "disabled";
37 status = "disabled";
H A Dstm32mp13xc.dtsi15 status = "disabled";
26 status = "disabled";
37 status = "disabled";
H A Dstm32mp211.dtsi113 status = "disabled";
124 status = "disabled";
134 status = "disabled";
145 status = "disabled";
156 status = "disabled";
181 status = "disabled";
H A Dstm32mp135f-dk.dts140 status = "okay";
149 status = "okay";
154 status = "okay";
327 status = "okay";
335 status = "okay";
515 status = "okay";
520 status = "okay";
541 status = "okay";
549 status = "disabled";
560 status = "okay";
[all …]
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dssl_tls.c46 static int local_err_translation(psa_status_t status) in local_err_translation() argument
48 return psa_status_to_mbedtls(status, psa_to_ssl_errors, in local_err_translation()
52 #define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status) argument
841 psa_status_t status; in mbedtls_ssl_reset_checksum() local
850 status = psa_hash_abort(&ssl->handshake->fin_sha256_psa); in mbedtls_ssl_reset_checksum()
851 if (status != PSA_SUCCESS) { in mbedtls_ssl_reset_checksum()
852 return mbedtls_md_error_from_psa(status); in mbedtls_ssl_reset_checksum()
854 status = psa_hash_setup(&ssl->handshake->fin_sha256_psa, PSA_ALG_SHA_256); in mbedtls_ssl_reset_checksum()
855 if (status != PSA_SUCCESS) { in mbedtls_ssl_reset_checksum()
856 return mbedtls_md_error_from_psa(status); in mbedtls_ssl_reset_checksum()
[all …]
H A Dssl_tls13_generic.c32 static int local_err_translation(psa_status_t status) in local_err_translation() argument
34 return psa_status_to_mbedtls(status, psa_to_ssl_errors, in local_err_translation()
38 #define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status) argument
42 psa_status_t status = psa_crypto_init(); in mbedtls_ssl_tls13_crypto_init() local
43 if (status != PSA_SUCCESS) { in mbedtls_ssl_tls13_crypto_init()
45 MBEDTLS_SSL_DEBUG_RET(1, "psa_crypto_init", status); in mbedtls_ssl_tls13_crypto_init()
47 return PSA_TO_MBEDTLS_ERR(status); in mbedtls_ssl_tls13_crypto_init()
229 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_tls13_parse_certificate_verify() local
304 status = psa_hash_compute(hash_alg, in ssl_tls13_parse_certificate_verify()
310 if (status != PSA_SUCCESS) { in ssl_tls13_parse_certificate_verify()
[all …]
H A Dpkwrite.c170 psa_status_t status; in pk_write_ec_private() local
173 status = psa_export_key(pk->priv_id, tmp, sizeof(tmp), &byte_length); in pk_write_ec_private()
174 if (status != PSA_SUCCESS) { in pk_write_ec_private()
175 ret = PSA_PK_ECDSA_TO_MBEDTLS_ERR(status); in pk_write_ec_private()
179 status = psa_export_key(pk->priv_id, tmp, sizeof(tmp), &byte_length); in pk_write_ec_private()
180 if (status != PSA_SUCCESS) { in pk_write_ec_private()
181 ret = PSA_PK_ECDSA_TO_MBEDTLS_ERR(status); in pk_write_ec_private()
200 psa_status_t status; in pk_write_ec_private() local
202 status = psa_export_key(pk->priv_id, tmp, sizeof(tmp), &byte_length); in pk_write_ec_private()
203 if (status != PSA_SUCCESS) { in pk_write_ec_private()
[all …]
H A Dssl_msg.c43 static int local_err_translation(psa_status_t status) in local_err_translation() argument
45 return psa_status_to_mbedtls(status, psa_to_ssl_errors, in local_err_translation()
49 #define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status) argument
100 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ct_hmac() local
107 status = (func_call); \ in mbedtls_ct_hmac()
108 if (status != PSA_SUCCESS) \ in mbedtls_ct_hmac()
179 return PSA_TO_MBEDTLS_ERR(status); in mbedtls_ct_hmac()
1046 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_encrypt_buf() local
1055 status = psa_mac_sign_setup(&operation, transform->psa_mac_enc, in mbedtls_ssl_encrypt_buf()
1057 if (status != PSA_SUCCESS) { in mbedtls_ssl_encrypt_buf()
[all …]
H A Dmd.c353 psa_status_t status = psa_hash_clone(src->md_ctx, dst->md_ctx); in mbedtls_md_clone() local
354 return mbedtls_md_error_from_psa(status); in mbedtls_md_clone()
525 psa_status_t status = psa_hash_setup(ctx->md_ctx, alg); in mbedtls_md_starts() local
526 return mbedtls_md_error_from_psa(status); in mbedtls_md_starts()
584 psa_status_t status = psa_hash_update(ctx->md_ctx, input, ilen); in mbedtls_md_update() local
585 return mbedtls_md_error_from_psa(status); in mbedtls_md_update()
641 psa_status_t status = psa_hash_finish(ctx->md_ctx, in mbedtls_md_finish() local
643 return mbedtls_md_error_from_psa(status); in mbedtls_md_finish()
698 psa_status_t status = psa_hash_compute(psa_alg_of_md(md_info), in mbedtls_md() local
701 return mbedtls_md_error_from_psa(status); in mbedtls_md()
[all …]
/optee_os/core/drivers/crypto/caam/hal/common/
H A Dhal_cfg.c82 enum caam_status status = CAAM_FAILURE; in caam_hal_cfg_setup_nsjobring() local
109 status = caam_hal_jr_setowner(jrcfg->base, jr_offset, in caam_hal_cfg_setup_nsjobring()
111 if (status == CAAM_NO_ERROR) in caam_hal_cfg_setup_nsjobring()
H A Dhal_rng.c19 uint32_t status = 0; in caam_hal_rng_instantiated() local
38 status = caam_hal_rng_get_sh_status(baseaddr); in caam_hal_rng_instantiated()
40 if (status != GENMASK_32(nb_sh - 1, 0)) in caam_hal_rng_instantiated()
/optee_os/core/drivers/
H A Dstpmic1.c837 int status = 0; in stpmic1_lp_copy_reg() local
842 status = stpmic1_register_read(regul->control_reg, &val); in stpmic1_lp_copy_reg()
843 if (status) in stpmic1_lp_copy_reg()
844 return status; in stpmic1_lp_copy_reg()
870 int status = 0; in stpmic1_lp_load_unpg() local
874 status = stpmic1_register_read(cfg->ctrl_reg, &val); in stpmic1_lp_load_unpg()
875 if (!status) in stpmic1_lp_load_unpg()
876 status = stpmic1_register_write(cfg->lp_reg, val); in stpmic1_lp_load_unpg()
878 return status; in stpmic1_lp_load_unpg()
984 int status = 0; in stpmic1_register_update() local
[all …]
H A Dls_dspi.c155 TEE_Result status = TEE_ERROR_GENERIC; in dspi_setup_speed() local
169 status = dspi_convert_hz_to_baud(&req_i, &req_j, speed, bus_clock); in dspi_setup_speed()
172 if (status == TEE_ERROR_ITEM_NOT_FOUND) { in dspi_setup_speed()
174 status = dspi_convert_hz_to_baud(&req_i, &req_j, in dspi_setup_speed()
178 if (status == TEE_SUCCESS) { in dspi_setup_speed()
599 TEE_Result status = TEE_ERROR_GENERIC; in ls_dspi_init() local
606 status = get_info_from_device_tree(dspi_data); in ls_dspi_init()
607 if (status == TEE_SUCCESS) in ls_dspi_init()
613 return status; in ls_dspi_init()
H A Dopenedges_omc.c195 uint32_t status = 0; in omc_fail_dump() local
201 status = omc_read32(filter, in omc_fail_dump()
203 if (!(status & INT_STATUS_MASK)) in omc_fail_dump()
206 if (status & INT_STATUS_OVERLAP) in omc_fail_dump()
209 if (status & INT_STATUS_OVERRUN) in omc_fail_dump()
212 if (status & INT_STATUS_STATUS) in omc_fail_dump()
H A Dls_gpio.c224 TEE_Result status = TEE_ERROR_GENERIC; in ls_gpio_init() local
230 status = get_info_from_device_tree(gpio_data); in ls_gpio_init()
231 if (status == TEE_SUCCESS) { in ls_gpio_init()
241 return status; in ls_gpio_init()
H A Dversal_trng.c211 enum trng_status status; member
620 trng->status = TRNG_CATASTROPHIC; in trng_collect_random()
646 trng->status = TRNG_CATASTROPHIC; in trng_collect_random()
764 trng->status = TRNG_ERROR; in trng_reseed_internal()
780 if (trng->status != TRNG_UNINITIALIZED) in trng_instantiate()
823 trng->status = TRNG_HEALTHY; in trng_instantiate()
826 trng->status = TRNG_ERROR; in trng_instantiate()
836 if (trng->status != TRNG_HEALTHY) in trng_reseed()
864 trng->status = TRNG_ERROR; in trng_reseed()
883 if (trng->status != TRNG_HEALTHY) in trng_generate()
[all …]
H A Dzynqmp_csudma.c64 uint32_t status = 0; in zynqmp_csudma_sync() local
73 status = io_read32(dma + CSUDMA_I_STS_OFFSET); in zynqmp_csudma_sync()
74 if ((status & CSUDMA_IXR_DONE_MASK) == CSUDMA_IXR_DONE_MASK) { in zynqmp_csudma_sync()
/optee_os/core/arch/arm/plat-stm32mp2/drivers/
H A Dstm32mp25_syscfg.c63 void stm32mp25_syscfg_set_safe_reset(bool status) in stm32mp25_syscfg_set_safe_reset() argument
67 FMSG("Set safe reset to %d", status); in stm32mp25_syscfg_set_safe_reset()
69 if (status) in stm32mp25_syscfg_set_safe_reset()
/optee_os/core/arch/arm/plat-telechips/drivers/
H A Dtcc_otp.c77 uint32_t status = 0; in tcc_otp_read_128() local
98 status = io_read32(reg + READ_STATUS); in tcc_otp_read_128()
99 if (status & (DATA_ERR | PERMISSION_ERR)) { in tcc_otp_read_128()
100 EMSG("Failed to read OTP (%#"PRIx32")", status); in tcc_otp_read_128()
/optee_os/core/arch/riscv/kernel/
H A Dsbi.c75 int sbi_hsm_hart_get_status(uint32_t hartid, enum sbi_hsm_hart_state *status) in sbi_hsm_hart_get_status() argument
84 *status = ret.value; in sbi_hsm_hart_get_status()
/optee_os/core/drivers/bnxt/
H A Dbnxt.c134 uint32_t status = 0; in bnxt_wait_handshake() local
150 status = bnxt_read_ctrl(BNXT_REG_CTRL_BPE_STAT_REG); in bnxt_wait_handshake()
151 if (status & BNXT_ERROR_MASK) { in bnxt_wait_handshake()
152 EMSG("ChiMP error 0x%x. Wait aborted", status); in bnxt_wait_handshake()
/optee_os/core/drivers/crypto/caam/
H A Dcaam_rng.c127 RNG_TRACE("CAAM Status 0x%08" PRIx32, jobctx.status); in do_rng_read()
128 ret = job_status_to_tee_result(jobctx.status); in do_rng_read()
299 RNG_TRACE("RNG Job status 0x%08" PRIx32, jobctx.status); in caam_rng_instantiation()
300 if ((JRSTA_SRC_GET(jobctx.status) != JRSTA_SRC(CCB)) || in caam_rng_instantiation()
301 (JRSTA_CCB_GET_ERR(jobctx.status) != in caam_rng_instantiation()
/optee_os/core/drivers/clk/sam/
H A Dat91_peripheral.c94 uint32_t status = 0; in clk_sam9x5_peripheral_get_rate() local
101 status = io_read32(periph->base + periph->layout->offset); in clk_sam9x5_peripheral_get_rate()
103 if (status & AT91_PMC_PCR_EN) { in clk_sam9x5_peripheral_get_rate()
104 periph->div = field_get(periph->layout->div_mask, status); in clk_sam9x5_peripheral_get_rate()
/optee_os/core/arch/riscv/include/kernel/
H A Dthread_arch.h100 unsigned long status; member
127 unsigned long status; member
164 unsigned long status; member

123456789