Home
last modified time | relevance | path

Searched defs:msg (Results 1 – 25 of 76) sorted by relevance

1234

/optee_os/core/drivers/scmi-msg/
H A Dbase.c19 static void report_version(struct scmi_msg *msg) in report_version()
34 static void report_attributes(struct scmi_msg *msg) in report_attributes()
51 static void report_message_attributes(struct scmi_msg *msg) in report_message_attributes()
73 static void discover_vendor(struct scmi_msg *msg) in discover_vendor()
90 static void discover_sub_vendor(struct scmi_msg *msg) in discover_sub_vendor()
107 static void discover_implementation_version(struct scmi_msg *msg) in discover_implementation_version()
133 static void discover_list_protocols(struct scmi_msg *msg) in discover_list_protocols()
180 scmi_msg_handler_t scmi_msg_get_base_handler(struct scmi_msg *msg) in scmi_msg_get_base_handler()
H A Dreset_domain.c43 static void report_version(struct scmi_msg *msg) in report_version()
58 static void report_attributes(struct scmi_msg *msg) in report_attributes()
73 static void report_message_attributes(struct scmi_msg *msg) in report_message_attributes()
95 static void reset_domain_attributes(struct scmi_msg *msg) in reset_domain_attributes()
129 static void reset_request(struct scmi_msg *msg) in reset_request()
181 scmi_msg_handler_t scmi_msg_get_rd_handler(struct scmi_msg *msg) in scmi_msg_get_rd_handler()
H A Dvoltage_domain.c74 static void report_version(struct scmi_msg *msg) in report_version()
89 static void report_attributes(struct scmi_msg *msg) in report_attributes()
107 static void report_message_attributes(struct scmi_msg *msg) in report_message_attributes()
129 static void scmi_voltd_domain_attributes(struct scmi_msg *msg) in scmi_voltd_domain_attributes()
172 static void scmi_voltd_describe_levels(struct scmi_msg *msg) in scmi_voltd_describe_levels()
270 static void scmi_voltd_config_set(struct scmi_msg *msg) in scmi_voltd_config_set()
297 static void scmi_voltd_config_get(struct scmi_msg *msg) in scmi_voltd_config_get()
325 static void scmi_voltd_level_set(struct scmi_msg *msg) in scmi_voltd_level_set()
350 static void scmi_voltd_level_get(struct scmi_msg *msg) in scmi_voltd_level_get()
396 scmi_msg_handler_t scmi_msg_get_voltd_handler(struct scmi_msg *msg) in scmi_msg_get_voltd_handler()
H A Dperf_domain.c93 static void protocol_version(struct scmi_msg *msg) in protocol_version()
110 static void protocol_attributes(struct scmi_msg *msg) in protocol_attributes()
148 static void protocol_message_attributes(struct scmi_msg *msg) in protocol_message_attributes()
170 static int32_t sanitize_message(struct scmi_msg *msg, unsigned int *domain_id, in sanitize_message()
186 static void scmi_perf_domain_attributes(struct scmi_msg *msg) in scmi_perf_domain_attributes()
232 static void scmi_perf_level_get(struct scmi_msg *msg) in scmi_perf_level_get()
266 static void scmi_perf_level_set(struct scmi_msg *msg) in scmi_perf_level_set()
291 static void scmi_perf_describe_levels(struct scmi_msg *msg) in scmi_perf_describe_levels()
394 scmi_msg_handler_t scmi_msg_get_perf_handler(struct scmi_msg *msg) in scmi_msg_get_perf_handler()
H A Dclock.c71 static void report_version(struct scmi_msg *msg) in report_version()
86 static void report_attributes(struct scmi_msg *msg) in report_attributes()
102 static void report_message_attributes(struct scmi_msg *msg) in report_message_attributes()
124 static void scmi_clock_attributes(struct scmi_msg *msg) in scmi_clock_attributes()
160 static void scmi_clock_rate_get(struct scmi_msg *msg) in scmi_clock_rate_get()
187 static void scmi_clock_rate_set(struct scmi_msg *msg) in scmi_clock_rate_set()
216 static void scmi_clock_config_set(struct scmi_msg *msg) in scmi_clock_config_set()
270 static void scmi_clock_describe_rates(struct scmi_msg *msg) in scmi_clock_describe_rates()
376 scmi_msg_handler_t scmi_msg_get_clock_handler(struct scmi_msg *msg) in scmi_msg_get_clock_handler()
H A Dentry.c56 void scmi_status_response(struct scmi_msg *msg, int32_t status) in scmi_status_response()
64 void scmi_write_response(struct scmi_msg *msg, void *payload, size_t size) in scmi_write_response()
75 void scmi_process_message(struct scmi_msg *msg) in scmi_process_message()
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_dh.c67 struct hpre_dh_msg *msg = info; in hpre_dh_fill_sqe() local
81 struct hpre_dh_msg *msg = info; in hpre_dh_parse_sqe() local
103 static TEE_Result hpre_dh_do_task(void *msg) in hpre_dh_do_task()
176 static enum hisi_drv_status hpre_dh_params_alloc(struct hpre_dh_msg *msg) in hpre_dh_params_alloc()
198 static void hpre_dh_params_free(struct hpre_dh_msg *msg) in hpre_dh_params_free()
206 static enum hisi_drv_status hpre_dh_params_bn2bin(struct hpre_dh_msg *msg, in hpre_dh_params_bn2bin()
249 static TEE_Result hpre_dh_request_init(struct hpre_dh_msg *msg, in hpre_dh_request_init()
273 static void hpre_dh_request_deinit(struct hpre_dh_msg *msg) in hpre_dh_request_deinit()
282 struct hpre_dh_msg msg = { }; in hpre_dh_gen_keypair() local
332 struct hpre_dh_msg msg = { }; in hpre_dh_do_shared_secret() local
H A Dhpre_montgomery.c143 hpre_montgomery_params_alloc(struct hpre_montgomery_msg *msg) in hpre_montgomery_params_alloc()
162 static void hpre_montgomery_params_free(struct hpre_montgomery_msg *msg) in hpre_montgomery_params_free()
172 hpre_montgomery_params_pretreatment(struct hpre_montgomery_msg *msg) in hpre_montgomery_params_pretreatment()
227 struct hpre_montgomery_msg *msg, in hpre_montgomery_params_fill()
274 struct hpre_montgomery_msg *msg, in hpre_montgomery_request_init()
305 static void hpre_montgomery_request_deinit(struct hpre_montgomery_msg *msg) in hpre_montgomery_request_deinit()
312 struct hpre_montgomery_msg *msg = info; in hpre_montgomery_fill_sqe() local
326 struct hpre_montgomery_msg *msg = info; in hpre_montgomery_parse_sqe() local
357 static TEE_Result hpre_montgomery_do_task(struct hpre_montgomery_msg *msg) in hpre_montgomery_do_task()
393 struct hpre_montgomery_msg msg = { }; in hpre_montgomery_gen_keypair() local
[all …]
H A Dsec_pbkdf2.c28 static enum hisi_drv_status sec_pbkdf2_fill_sqe(void *bd, void *msg) in sec_pbkdf2_fill_sqe()
75 static enum hisi_drv_status sec_pbkdf2_fill_bd3_sqe(void *bd, void *msg) in sec_pbkdf2_fill_bd3_sqe()
106 static TEE_Result sec_pbkdf2_do_task(void *msg) in sec_pbkdf2_do_task()
220 struct sec_pbkdf2_msg *msg) in sec_pbkdf2_set_derive_type()
253 struct sec_pbkdf2_msg *msg) in sec_pbkdf2_set_buf()
281 static void sec_pbkdf2_clean_buf(struct sec_pbkdf2_msg *msg) in sec_pbkdf2_clean_buf()
290 struct sec_pbkdf2_msg *msg) in sec_pbkdf2_msg_init()
305 struct sec_pbkdf2_msg *msg = NULL; in tee_cryp_pbkdf2() local
H A Dhpre_ecc.c436 struct hpre_ecc_msg *msg = (struct hpre_ecc_msg *)info; in hpre_ecc_fill_sqe() local
460 static enum hisi_drv_status ecc_dh_out_to_crypto_bin(struct hpre_ecc_msg *msg) in ecc_dh_out_to_crypto_bin()
482 static enum hisi_drv_status ecc_sign_out_to_crypto_bin(struct hpre_ecc_msg *msg) in ecc_sign_out_to_crypto_bin()
504 static enum hisi_drv_status hpre_ecc_verify_get_result(struct hpre_ecc_msg *msg, in hpre_ecc_verify_get_result()
517 hpre_ecc_out_to_crypto_bin(struct hpre_ecc_msg *msg, struct hpre_sqe *sqe) in hpre_ecc_out_to_crypto_bin()
543 struct hpre_ecc_msg *msg = (struct hpre_ecc_msg *)info; in hpre_ecc_parse_sqe() local
570 static TEE_Result hpre_do_ecc_task(void *msg) in hpre_do_ecc_task()
710 static enum hisi_drv_status hpre_ecc_dh_transfer_key(struct hpre_ecc_msg *msg) in hpre_ecc_dh_transfer_key()
731 static enum hisi_drv_status hpre_ecc_dh_transfer_in(struct hpre_ecc_msg *msg) in hpre_ecc_dh_transfer_in()
755 struct hpre_ecc_msg *msg, struct bignum *privkey, in hpre_ecc_dh_params_fill()
[all …]
H A Dhpre_rsa.c24 static enum hisi_drv_status hpre_rsa_fill_addr_params(struct hpre_rsa_msg *msg, in hpre_rsa_fill_addr_params()
50 struct hpre_rsa_msg *msg = info; in hpre_rsa_fill_sqe() local
76 static TEE_Result hpre_rsa_do_task(void *msg) in hpre_rsa_do_task()
164 static void hpre_rsa_params_free(struct hpre_rsa_msg *msg) in hpre_rsa_params_free()
183 static enum hisi_drv_status hpre_rsa_encrypt_alloc(struct hpre_rsa_msg *msg) in hpre_rsa_encrypt_alloc()
207 hpre_rsa_encrypt_bn2bin(struct hpre_rsa_msg *msg, in hpre_rsa_encrypt_bn2bin()
245 static TEE_Result hpre_rsa_encrypt_init(struct hpre_rsa_msg *msg, in hpre_rsa_encrypt_init()
273 struct hpre_rsa_msg msg = { }; in rsa_nopad_encrypt() local
531 static enum hisi_drv_status hpre_rsa_crt_decrypt_alloc(struct hpre_rsa_msg *msg) in hpre_rsa_crt_decrypt_alloc()
556 hpre_rsa_ncrt_decrypt_alloc(struct hpre_rsa_msg *msg) in hpre_rsa_ncrt_decrypt_alloc()
[all …]
H A Dsec_authenc.c20 static enum hisi_drv_status sec_aead_bd_fill(void *bd, void *msg) in sec_aead_bd_fill()
59 static enum hisi_drv_status sec_aead_bd_parse(void *bd, void *msg) in sec_aead_bd_parse()
76 static enum hisi_drv_status sec_aead_bd3_fill(void *bd, void *msg) in sec_aead_bd3_fill()
114 static enum hisi_drv_status sec_aead_bd3_parse(void *bd, void *msg) in sec_aead_bd3_parse()
131 static TEE_Result sec_do_aead_task(struct hisi_qp *qp, void *msg) in sec_do_aead_task()
/optee_os/core/lib/libtomcrypt/src/pk/ed25519/
H A Ded25519_sign.c12 static int s_ed25519_sign(const unsigned char *msg, unsigned long msglen, in s_ed25519_sign()
64 int ed25519ctx_sign(const unsigned char *msg, unsigned long msglen, in ed25519ctx_sign()
91 int ed25519ph_sign(const unsigned char *msg, unsigned long msglen, in ed25519ph_sign()
119 int ed25519_sign(const unsigned char *msg, unsigned long msglen, in ed25519_sign()
H A Ded25519_verify.c12 static int s_ed25519_verify(const unsigned char *msg, unsigned long msglen, in s_ed25519_verify()
67 int ed25519ctx_verify(const unsigned char *msg, unsigned long msglen, in ed25519ctx_verify()
96 int ed25519ph_verify(const unsigned char *msg, unsigned long msglen, in ed25519ph_verify()
126 int ed25519_verify(const unsigned char *msg, unsigned long msglen, in ed25519_verify()
/optee_os/core/drivers/crypto/crypto_api/acipher/
H A Drsa.c109 size_t cipher_len, uint8_t *msg, in crypto_acipher_rsanopad_decrypt()
148 const uint8_t *msg, size_t msg_len, in crypto_acipher_rsanopad_encrypt()
204 size_t cipher_len, uint8_t *msg, in crypto_acipher_rsaes_decrypt()
272 const uint8_t *msg, size_t msg_len, in crypto_acipher_rsaes_encrypt()
362 int salt_len, const uint8_t *msg, in crypto_acipher_rsassa_sign()
444 int salt_len, const uint8_t *msg, in crypto_acipher_rsassa_verify()
/optee_os/core/lib/libtomcrypt/
H A Ded25519.c79 const uint8_t *msg, size_t msg_len, in crypto_acipher_ed25519_sign()
113 const uint8_t *msg, size_t msg_len, in crypto_acipher_ed25519ctx_sign()
155 const uint8_t *msg, size_t msg_len, in crypto_acipher_ed25519_verify()
180 const uint8_t *msg, size_t msg_len, in crypto_acipher_ed25519ctx_verify()
H A Dsm2-dsa.c22 const uint8_t *msg, size_t msg_len, uint8_t *sig, in sm2_ltc_dsa_sign()
140 const uint8_t *msg, size_t msg_len, in sm2_ltc_dsa_verify()
H A Ddsa.c96 const uint8_t *msg, size_t msg_len, in crypto_acipher_dsa_sign()
165 const uint8_t *msg, size_t msg_len, in crypto_acipher_dsa_verify()
/optee_os/core/drivers/imx/mu/
H A Dimx_mu.c49 static TEE_Result imx_mu_receive_msg(vaddr_t base, struct imx_mu_msg *msg) in imx_mu_receive_msg()
94 static TEE_Result imx_mu_send_msg(vaddr_t base, struct imx_mu_msg *msg) in imx_mu_send_msg()
176 TEE_Result imx_mu_call(vaddr_t base, struct imx_mu_msg *msg, in imx_mu_call()
H A Dimx_mu_8q.c62 TEE_Result imx_mu_plat_send(vaddr_t base, unsigned int index, uint32_t msg) in imx_mu_plat_send()
76 TEE_Result imx_mu_plat_receive(vaddr_t base, unsigned int index, uint32_t *msg) in imx_mu_plat_receive()
H A Dimx_mu_8ulp_9x.c53 TEE_Result imx_mu_plat_send(vaddr_t base, unsigned int index, uint32_t msg) in imx_mu_plat_send()
66 TEE_Result imx_mu_plat_receive(vaddr_t base, unsigned int index, uint32_t *msg) in imx_mu_plat_receive()
/optee_os/core/drivers/
H A Dimx_sc_api.c99 struct imx_mu_msg msg = { in sc_rm_get_partition() local
134 struct imx_mu_msg msg = { in sc_pm_set_resource_power_mode() local
170 struct imx_mu_msg msg = { in sc_rm_assign_resource() local
268 struct imx_mu_msg msg = { in imx_sc_seco_start_rng() local
/optee_os/core/drivers/crypto/ele/
H A Dele.c122 static uint32_t compute_crc(const struct imx_mu_msg *msg) in compute_crc() argument
136 void update_crc(struct imx_mu_msg *msg) in update_crc() argument
188 imx_ele_call(struct imx_mu_msg * msg) imx_ele_call() argument
268 struct imx_mu_msg msg = { imx_ele_session_open() local
302 struct imx_mu_msg msg = { imx_ele_session_close() local
323 struct imx_mu_msg msg = { imx_ele_get_device_info() local
389 struct imx_mu_msg msg = { imx_ele_derive_key() local
466 struct imx_mu_msg msg = { imx_ele_rng_get_trng_state() local
504 struct imx_mu_msg msg = { imx_ele_rng_get_random() local
[all...]
/optee_os/core/pta/veraison_attestation/
H A Dsign.c63 static TEE_Result hash_sha256(const uint8_t *msg, size_t msg_len, uint8_t *hash) in hash_sha256()
165 TEE_Result sign_ecdsa_sha256(const uint8_t *msg, size_t msg_len, uint8_t *sig, in sign_ecdsa_sha256()
/optee_os/lib/libmbedtls/core/
H A Dsm2-dsa.c26 const uint8_t *msg, size_t msg_len, in sm2_mbedtls_dsa_sign()
151 const uint8_t *msg, size_t msg_len, in sm2_mbedtls_dsa_verify()

1234