Home
last modified time | relevance | path

Searched refs:EMSG (Results 1 – 25 of 250) sorted by relevance

12345678910

/optee_os/core/drivers/
H A Dzynqmp_csu_aes.c73 EMSG("Invalid length"); in aes_transfer_enc()
79 EMSG("DMA can't initialize"); in aes_transfer_enc()
87 EMSG("DMA transfer failed, invalid destination buffer"); in aes_transfer_enc()
97 EMSG("DMA transfer failed, invalid IV buffer"); in aes_transfer_enc()
103 EMSG("DMA IV transfer timeout"); in aes_transfer_enc()
111 EMSG("DMA transfer failed, invalid source buffer"); in aes_transfer_enc()
117 EMSG("DMA source transfer timeout"); in aes_transfer_enc()
124 EMSG("DMA destination transfer timeout"); in aes_transfer_enc()
144 EMSG("DMA can't initialize"); in aes_transfer_dec()
151 EMSG("DMA transfer failed, invalid destination buffer"); in aes_transfer_dec()
[all …]
H A Dimx_sc_api.c108 EMSG("Communication error"); in sc_rm_get_partition()
114 EMSG("Unable to get partition ID, sc_error: %d", err); in sc_rm_get_partition()
146 EMSG("Communication error"); in sc_pm_set_resource_power_mode()
152 EMSG("Unable to set resource power mode sc_error: %d", in sc_pm_set_resource_power_mode()
179 EMSG("Cannot get secure partition ID"); in sc_rm_assign_resource()
188 EMSG("Communication error"); in sc_rm_assign_resource()
194 EMSG("Unable to assign resource, sc_error: %d", err); in sc_rm_assign_resource()
229 EMSG("Wrong JR Index, should be 0, 1, 2 or 3"); in imx_sc_rm_enable_jr()
236 EMSG("Assign SC_R_CAAM_JR%u resource failed", jr_index); in imx_sc_rm_enable_jr()
242 EMSG("Assign SC_R_CAAM_JR%u_OUT resource failed", jr_index); in imx_sc_rm_enable_jr()
[all …]
H A Dls_sfp.c100 EMSG("Unable to get the Embedded DTB, SFP init failed"); in ls_sfp_init()
106 EMSG("Unable to find SFP FDT node - rc = 0x%#"PRIx32, rc); in ls_sfp_init()
112 EMSG("Unable to get SFP virtual address - rc = 0x%#"PRIx32, rc); in ls_sfp_init()
118 EMSG("Unable to find POVDD FDT node - rc = 0x%#"PRIx32, in ls_sfp_init()
127 EMSG("Missing %s from POVDD FDT node", fdt_prop_gpio); in ls_sfp_init()
133 EMSG("Missing %s from POVDD FDT node", fdt_prop_pin); in ls_sfp_init()
167 EMSG("Error setting POVDD to HIGH"); in ls_sfp_program_fuses()
181 EMSG("SFP fusing timed out"); in ls_sfp_program_fuses()
198 EMSG("Error writing SFP fuses"); in ls_sfp_program_fuses()
210 EMSG("SFP driver not initialized"); in ls_sfp_read()
[all …]
H A Dhisi_trng.c34 EMSG("Hardware busy"); in trng_read()
50 EMSG("No valid TRNG device"); in hw_get_random_bytes()
55 EMSG("Invalid input parameter"); in hw_get_random_bytes()
77 EMSG("Fail to calloc trng device"); in trng_init()
84 EMSG("Fail to get trng io_base"); in trng_init()
H A Dzynqmp_huk.c126 EMSG("Can't read the Device DNA"); in tee_otp_get_hw_unique_key()
140 EMSG("Can't generate the SHA256 for the DNA eFuse"); in tee_otp_get_hw_unique_key()
155 EMSG("Failed to generate HUK source data"); in tee_otp_get_hw_unique_key()
171 EMSG("PUF regeneration error"); in tee_otp_get_hw_unique_key()
182 EMSG("Can't encrypt DNA, please make sure PUF was registered"); in tee_otp_get_hw_unique_key()
190 EMSG("PUF regeneration error"); in tee_otp_get_hw_unique_key()
201 EMSG("Can't decrypt DNA, please make sure PUF was registered"); in tee_otp_get_hw_unique_key()
206 EMSG("PUF not ready, can't create HUK"); in tee_otp_get_hw_unique_key()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_dh.c24 EMSG("Invalid input parameter"); in hpre_dh_alloc_keypair()
60 EMSG("HPRE dh alloc key pair fail."); in hpre_dh_alloc_keypair()
89 EMSG("HPRE do dh fail! done=0x%"PRIx16", etype=0x%"PRIx16, in hpre_dh_parse_sqe()
96 EMSG("Fail to transfer dh_y from hpre_bin to crypto_bin"); in hpre_dh_parse_sqe()
111 EMSG("Fail to create dh qp"); in hpre_dh_do_task()
119 EMSG("Fail to send task, ret=%d", ret); in hpre_dh_do_task()
126 EMSG("Recv task error, ret=%d", ret); in hpre_dh_do_task()
154 EMSG("Invalid key_bytes[%zu]", key_bytes); in round_key_size_to_hw_size()
166 EMSG("Fail to fill privkey"); in hpre_dh_gen_privkey()
183 EMSG("Fail to alloc dh total buf"); in hpre_dh_params_alloc()
[all …]
H A Dsec_pbkdf2.c20 EMSG("SEC do pbkdf2 fail! done=%#"PRIx16", etype=%#"PRIx8, in sec_pbkdf2_parse_sqe()
67 EMSG("SEC do pbkdf2 fail! done=%#"PRIx16", etype=%#"PRIx8, in sec_pbkdf2_parse_bd3_sqe()
114 EMSG("Fail to create pbkdf2 qp"); in sec_pbkdf2_do_task()
128 EMSG("Fail to send task, ret=%d", ret); in sec_pbkdf2_do_task()
135 EMSG("Recv task error, ret=%d", ret); in sec_pbkdf2_do_task()
155 EMSG("Unsupported derived key len %zu", dk_len); in sec_pbkdf2_dk_iteration_check()
160 EMSG("Unsupported iteration count %"PRIu32, c_num); in sec_pbkdf2_dk_iteration_check()
169 EMSG("Fail to get digest size"); in sec_pbkdf2_dk_iteration_check()
181 EMSG("Time %zu is more than sec max timeout", time); in sec_pbkdf2_dk_iteration_check()
195 EMSG("Invalid input parameters"); in sec_pbkdf2_params_check()
[all …]
H A Dhpre_montgomery.c101 EMSG("Invalid input parameter"); in hpre_montgomery_alloc_keypair()
118 EMSG("HPRE montgomery alloc key pair fail"); in hpre_montgomery_alloc_keypair()
129 EMSG("Privkey param is NULL"); in gen_random_privkey()
135 EMSG("Fail to fill privkey"); in gen_random_privkey()
149 EMSG("Fail to alloc montgomery key buf"); in hpre_montgomery_params_alloc()
218 EMSG("u >= p"); in hpre_montgomery_params_pretreatment()
247 EMSG("Fail to transfer montgomery p from crypto_bin to hpre_bin"); in hpre_montgomery_params_fill()
253 EMSG("Fail to transfer montgomery a from crypto_bin to hpre_bin"); in hpre_montgomery_params_fill()
259 EMSG("Fail to transfer montgomery k from crypto_bin to hpre_bin"); in hpre_montgomery_params_fill()
265 EMSG("Fail to transfer montgomery x from crypto_bin to hpre_bin"); in hpre_montgomery_params_fill()
[all …]
H A Dhpre_rsa.c43 EMSG("Invalid alg_type[%"PRIu32"]", msg->alg_type); in hpre_rsa_fill_addr_params()
68 EMSG("HPRE do rsa fail! done=0x%"PRIX16", etype=0x%"PRIX16, in hpre_rsa_parse_sqe()
84 EMSG("Fail to create rsa qp"); in hpre_rsa_do_task()
92 EMSG("Fail to send task, ret=%x"PRIx32, ret); in hpre_rsa_do_task()
99 EMSG("Recv task error, ret=%x"PRIx32, ret); in hpre_rsa_do_task()
117 EMSG("mgf function is NULL"); in mgf_process()
159 EMSG("Invalid key_bits[%zu]", key_bits); in hpre_rsa_get_hw_kbytes()
178 EMSG("Invalid alg_type[%"PRIu32"]", msg->alg_type); in hpre_rsa_params_free()
190 EMSG("Fail to alloc rsa ncrt buf"); in hpre_rsa_encrypt_alloc()
226 EMSG("Fail to transfer rsa ncrt e from crypto_bin to hpre_bin"); in hpre_rsa_encrypt_bn2bin()
[all …]
H A Dhpre_ecc.c378 EMSG("Error: %s all zero", p_name); in is_all_zero()
393 EMSG("Fail to transfer p from crypto_bin to hpre_bin"); in hpre_ecc_curve_to_hpre_bin()
399 EMSG("Fail to transfer a from crypto_bin to hpre_bin"); in hpre_ecc_curve_to_hpre_bin()
405 EMSG("Fail to transfer b from crypto_bin to hpre_bin"); in hpre_ecc_curve_to_hpre_bin()
412 EMSG("Fail to transfer n from crypto_bin to hpre_bin"); in hpre_ecc_curve_to_hpre_bin()
420 EMSG("Fail to transfer gx from crypto_bin to hpre_bin"); in hpre_ecc_curve_to_hpre_bin()
428 EMSG("Fail to transfer gy from crypto_bin to hpre_bin"); in hpre_ecc_curve_to_hpre_bin()
470 EMSG("Fail to transfer ecc dh rx from hpre_bin to crypto_bin"); in ecc_dh_out_to_crypto_bin()
477 EMSG("Fail to transfer ecc dh ry from hpre_bin to crypto_bin"); in ecc_dh_out_to_crypto_bin()
492 EMSG("Fail to transfer ecc sign r from hpre_bin to crypto_bin"); in ecc_sign_out_to_crypto_bin()
[all …]
H A Dsec_cipher.c22 EMSG("Fail to send task, ret=%d", ret); in sec_do_cipher_task()
28 EMSG("Recv task error, ret=%d", ret); in sec_do_cipher_task()
41 EMSG("Invalid DES key size"); in sec_cipher_des_get_c_key_len()
56 EMSG("Invalid 3DES key size"); in sec_cipher_3des_get_c_key_len()
82 EMSG("Invalid AES key size"); in sec_cipher_aes_get_c_key_len()
95 EMSG("Invalid AES-XTS key size"); in sec_cipher_aes_get_c_key_len()
100 EMSG("Unsupported AES mode"); in sec_cipher_aes_get_c_key_len()
116 EMSG("Invalid SM4 key size"); in sec_cipher_sm4_get_c_key_len()
123 EMSG("Invalid SM4-XTS key size"); in sec_cipher_sm4_get_c_key_len()
129 EMSG("Unsupported SM4 mode"); in sec_cipher_sm4_get_c_key_len()
[all …]
H A Dsec_hash.c17 EMSG("Invalid digest key len(%ld)", ctx->key_len); in sec_digest_set_hmac_key()
109 EMSG("Digest bd2 not support 0 packet"); in sec_digest_fill_sqe()
130 EMSG("Fail to get digest alg type"); in sec_digest_fill_sqe()
144 EMSG("Invalid digest key len(%ld)", ctx->key_len); in sec_digest_set_hmac_bd3_key()
213 EMSG("Fail to get digest bd3 alg"); in sec_digest_fill_bd3_sqe()
228 EMSG("Fail to send task, ret=%d", ret); in sec_digest_do_task()
234 EMSG("Recv task error, ret=%d", ret); in sec_digest_do_task()
248 EMSG("SEC BD2 fail! done=%#"PRIx16", etype=%#"PRIx8, in sec_parse_digest_sqe()
264 EMSG("SEC BD3 fail! done=%#"PRIx16", etype=%#"PRIx8, in sec_parse_digest_bd3_sqe()
276 EMSG("Input hash_ctx is NULL"); in hisi_sec_digest_ctx_init()
[all …]
H A Dhpre_main.c78 EMSG("No available hpre device"); in hpre_create_qp()
89 EMSG("parameter error"); in hpre_bin_from_crypto_bin()
94 EMSG("dsize is too long"); in hpre_bin_from_crypto_bin()
115 EMSG("parameter error"); in hpre_bin_to_crypto_bin()
120 EMSG("dsize is too long"); in hpre_bin_to_crypto_bin()
198 EMSG("Fail to init rd channel"); in hpre_engine_init()
204 EMSG("Fail to init hpre cluster cores"); in hpre_engine_init()
219 EMSG("HPRE NFE RAS happened, need to reset"); in hpre_dev_status_check()
226 EMSG("QM NFE RAS happened, need to reset"); in hpre_dev_status_check()
229 EMSG("QM invalid db happened, please check"); in hpre_dev_status_check()
[all …]
H A Dsec_authenc.c68 EMSG("SEC BD2 fail! done=%#"PRIx16", etype=%#"PRIx8, in sec_aead_bd_parse()
123 EMSG("SEC BD3 fail! done=%#"PRIx16", etype=%#"PRIx8, in sec_aead_bd3_parse()
137 EMSG("Fail to send task, ret=%d", ret); in sec_do_aead_task()
143 EMSG("Recv task error, ret=%d", ret); in sec_do_aead_task()
190 EMSG("ctx is NULL"); in sec_authenc_ctx_allocate()
200 EMSG("Fail to calloc ae_drv_ctx"); in sec_authenc_ctx_allocate()
209 EMSG("soft ctx is NULL"); in sec_authenc_ctx_allocate()
269 EMSG("dinit is NULL"); in authenc_init_params_check()
274 EMSG("ctx is NULL"); in authenc_init_params_check()
279 EMSG("key is NULL"); in authenc_init_params_check()
[all …]
H A Dsec_hmac.c25 EMSG("Input ctx is NULL"); in sec_hmac_initialize()
47 EMSG("Invalid input parameters"); in sec_hmac_do_update()
96 EMSG("Invalid input parameters"); in sec_hmac_copy_state()
125 EMSG("Ctx is NULL"); in sec_hmac_ctx_allocate()
131 EMSG("Fail to alloc hash"); in sec_hmac_ctx_allocate()
137 EMSG("Fail to alloc hashctx"); in sec_hmac_ctx_allocate()
166 EMSG("Sec hmac register to crypto fail"); in sec_hmac_init()
H A Dsec_main.c81 EMSG("No available sec device"); in sec_create_qp()
114 EMSG("Fail to init sec mem"); in sec_engine_init()
163 EMSG("SEC NFE RAS happened, need to reset"); in sec_dev_status_check()
170 EMSG("QM NFE RAS happened, need to reset"); in sec_dev_status_check()
173 EMSG("QM invalid db happened, please check"); in sec_dev_status_check()
191 EMSG("Fail to get qm io_base"); in sec_qm_init()
216 EMSG("Fail to alloc sec_dev"); in sec_alloc()
248 EMSG("Fail to init sec qm, ret=%d", ret); in sec_probe()
254 EMSG("fail to init engine, ret=%d", ret); in sec_probe()
260 EMSG("Fail to start qm, ret=%d", ret); in sec_probe()
H A Dhisi_qm.c183 EMSG("QM mailbox is busy to start!"); in qm_wait_mb_ready()
198 EMSG("QM mailbox operation failed!"); in qm_wait_mb_finish()
297 EMSG("QM VFT is not ready"); in qm_set_vft_common()
311 EMSG("QM VFT is not ready"); in qm_set_vft_common()
328 EMSG("QM set type %d fail", i); in qm_set_xqc_vft()
369 EMSG("Fail to malloc sq[%"PRIu32"]", id); in qp_alloc()
375 EMSG("Fail to malloc cq[%"PRIu32"]", id); in qp_alloc()
420 EMSG("Fail to malloc sqc"); in hisi_qm_alloc_xqc()
428 EMSG("Fail to malloc cqc"); in hisi_qm_alloc_xqc()
459 EMSG("Fail to malloc qp_array"); in qm_alloc()
[all …]
/optee_os/core/pta/bcm/
H A Delog.c73 EMSG("Invalid Param types"); in pta_elog_load_nitro_fw()
79 EMSG("Invalid access"); in pta_elog_load_nitro_fw()
93 EMSG("Invalid access"); in pta_elog_load_nitro_fw()
100 EMSG("Not enough memory mapped"); in pta_elog_load_nitro_fw()
150 EMSG("Invalid Param types"); in pta_elog_nitro_crash_dump()
161 EMSG("Invalid access"); in pta_elog_nitro_crash_dump()
169 EMSG("Not enough memory mapped"); in pta_elog_nitro_crash_dump()
197 EMSG("Invalid Param types"); in pta_elog_dump()
204 EMSG("Not enough memory mapped"); in pta_elog_dump()
210 EMSG("Elog Not setup"); in pta_elog_dump()
[all …]
H A Dgpio.c55 EMSG("Invalid Param types"); in pta_gpio_config()
64 EMSG("GPIO %u not supported", gpio_num); in pta_gpio_config()
98 EMSG("Invalid Param types"); in pta_gpio_set()
107 EMSG("GPIO %u not supported", gpio_num); in pta_gpio_set()
119 EMSG("gpio pin %u is configured as INPUT", gpio_num); in pta_gpio_set()
143 EMSG("Invalid Param types"); in pta_gpio_get()
151 EMSG("GPIO %u not supported", gpio_num); in pta_gpio_get()
184 EMSG("cmd: %d Not supported %s", cmd_id, GPIO_TA_NAME); in invoke_command()
/optee_os/core/arch/riscv/kernel/
H A Dsbi_mpxy_rpmi.c36 EMSG("RPMI/MPXY context already initialized"); in sbi_mpxy_rpmi_probe_channels()
42 EMSG("Failed to get MPXY shared memory size (ret=%d)", ret); in sbi_mpxy_rpmi_probe_channels()
48 EMSG("Out of memory for RPMI context"); in sbi_mpxy_rpmi_probe_channels()
54 EMSG("Failed to get MPXY channel count (ret=%d)", ret); in sbi_mpxy_rpmi_probe_channels()
61 EMSG("Failed to allocate channel ID list"); in sbi_mpxy_rpmi_probe_channels()
68 EMSG("Failed to fetch channel IDs (ret=%d)", ret); in sbi_mpxy_rpmi_probe_channels()
76 EMSG("Failed to allocate channel table"); in sbi_mpxy_rpmi_probe_channels()
91 EMSG("Failed to read MPXY attributes for channel %u", in sbi_mpxy_rpmi_probe_channels()
104 EMSG("Failed to read RPMI attributes for channel %u", in sbi_mpxy_rpmi_probe_channels()
111 EMSG("No memory for channel %u notif buffer", in sbi_mpxy_rpmi_probe_channels()
[all …]
/optee_os/core/kernel/
H A Dtpm.c56 EMSG("Error setting property DTB to zero"); in read_dt_tpm_log_info()
86 EMSG("TPM: No DTB found"); in get_tpm_phys_params()
93 EMSG("TPM: Fail to find TPM node %i", node); in get_tpm_phys_params()
98 EMSG("TPM: Fail to retrieve DTB properties from node %i", in get_tpm_phys_params()
114 EMSG("TPM: Invalid buffer"); in tpm_get_event_log()
119 EMSG("TPM: Not enough space for the log: %zu, %zu", in tpm_get_event_log()
151 EMSG("TPM: Failed to map TPM log memory"); in tpm_map_log_area()
/optee_os/core/drivers/crypto/se050/
H A Dsession.c74 EMSG("Failed to open the default session"); in se050_early_init_default()
79 EMSG("Failed to read the secure element configuration"); in se050_early_init_default()
85 EMSG("Failed to open the SCP03 session"); in se050_early_init_default()
104 EMSG("Failed to enable SCP03 session"); in se050_early_init_scp03()
109 EMSG("Failed to read the secure element configuration"); in se050_early_init_scp03()
114 EMSG("Failed to re-open the SCP03 session"); in se050_early_init_scp03()
/optee_os/core/arch/arm/plat-k3/drivers/
H A Dmailbox.c32 EMSG("Mailbox RX status polling timed out"); in ti_mailbox_poll_rx_status()
49 EMSG("Message size exceeds maximum allowed size"); in ti_sci_transport_send()
54 EMSG("Mailbox TX FIFO is full"); in ti_sci_transport_send()
78 EMSG("Message size exceeds maximum allowed size\n"); in ti_sci_transport_recv()
84 EMSG("Mailbox RX status polling failed"); in ti_sci_transport_recv()
90 EMSG("Message not received invalid address\n"); in ti_sci_transport_recv()
H A Dsa2ul.c61 EMSG("Failed to get SA2UL device"); in sa2ul_init()
86 EMSG("Could not get firewall region information"); in sa2ul_init()
97 EMSG("Could not set firewall region information"); in sa2ul_init()
106 EMSG("Could not change TRNG firewall owner"); in sa2ul_init()
115 EMSG("Could not get firewall region information"); in sa2ul_init()
129 EMSG("Could not set firewall region information"); in sa2ul_init()
/optee_os/ta/remoteproc/src/
H A Delf_parser.c25 EMSG("Invalid firmware address"); in e32_parse_ehdr()
38 EMSG("Invalid header"); in e32_parse_ehdr()
43 EMSG("No loadable segment found"); in e32_parse_ehdr()
134 EMSG("Resource table truncated"); in e32_parser_find_rsc_table()
139 EMSG("No header found in resource table"); in e32_parser_find_rsc_table()
148 EMSG("Unsupported firmware version %"PRId32, in e32_parser_find_rsc_table()
154 EMSG("Non zero reserved bytes"); in e32_parser_find_rsc_table()
161 EMSG("Resource table incomplete"); in e32_parser_find_rsc_table()

12345678910