/optee_os/core/crypto/ |
A D | crypto.c | 455 size_t fromsize __unused, in crypto_bignum_bin2bn() argument 487 uint8_t *to __unused) in crypto_bignum_bn2bin() argument 569 size_t src_len __unused, in crypto_acipher_rsaes_decrypt() argument 570 uint8_t *dst __unused, in crypto_acipher_rsaes_decrypt() argument 581 size_t src_len __unused, in crypto_acipher_rsaes_encrypt() argument 582 uint8_t *dst __unused, in crypto_acipher_rsaes_encrypt() argument 601 int salt_len __unused, in crypto_acipher_rsassa_verify() argument 792 __unused, in crypto_acipher_sm2_kep_derive() 794 __unused, in crypto_acipher_sm2_kep_derive() 796 __unused, in crypto_acipher_sm2_kep_derive() [all …]
|
A D | rng_hw.c | 10 TEE_Result __weak crypto_rng_init(const void *data __unused, in crypto_rng_init() argument 11 size_t dlen __unused) in crypto_rng_init() argument 16 void __weak crypto_rng_add_event(enum crypto_rng_src sid __unused, in crypto_rng_add_event() argument 17 unsigned int *pnum __unused, in crypto_rng_add_event() argument 18 const void *data __unused, in crypto_rng_add_event() argument 19 size_t dlen __unused) in crypto_rng_add_event() argument
|
/optee_os/core/arch/arm/sm/ |
A D | psci.c | 46 uintptr_t entry __unused, in psci_cpu_suspend() argument 47 uint32_t context_id __unused, in psci_cpu_suspend() argument 48 struct sm_nsec_ctx *nsec __unused) in psci_cpu_suspend() argument 58 __weak int psci_cpu_on(uint32_t cpu_id __unused, uint32_t entry __unused, in psci_cpu_on() argument 59 uint32_t context_id __unused) in psci_cpu_on() argument 104 size_t length __unused) in psci_mem_chk_range() argument 110 uint32_t cookie __unused) in psci_system_reset2() argument 116 uint32_t power_level __unused) in psci_node_hw_state() argument 122 uint32_t context_id __unused, in psci_system_suspend() argument 129 uint32_t power_state __unused) in psci_stat_residency() argument [all …]
|
/optee_os/core/lib/libtomcrypt/ |
A D | acipher_helpers.h | 64 sm2_ltc_dsa_sign(uint32_t algo __unused, struct ecc_keypair *key __unused, in sm2_ltc_dsa_sign() argument 65 const uint8_t *msg __unused, size_t msg_len __unused, in sm2_ltc_dsa_sign() argument 66 uint8_t *sig __unused, size_t *sig_len __unused) in sm2_ltc_dsa_sign() argument 72 sm2_ltc_dsa_verify(uint32_t algo __unused, struct ecc_public_key *key __unused, in sm2_ltc_dsa_verify() argument 73 const uint8_t *msg __unused, size_t msg_len __unused, in sm2_ltc_dsa_verify() argument 74 const uint8_t *sig __unused, size_t sig_len __unused) in sm2_ltc_dsa_verify() argument 90 size_t src_len __unused, in sm2_ltc_pke_decrypt() argument 91 uint8_t *dst __unused, in sm2_ltc_pke_decrypt() argument 92 size_t *dst_len __unused) in sm2_ltc_pke_decrypt() argument 99 const uint8_t *src __unused, size_t src_len __unused, in sm2_ltc_pke_encrypt() argument [all …]
|
A D | tomcrypt.c | 21 static int prng_crypto_start(prng_state *prng __unused) in prng_crypto_start() argument 27 unsigned long inlen __unused, in prng_crypto_add_entropy() argument 28 prng_state *prng __unused) in prng_crypto_add_entropy() argument 34 static int prng_crypto_ready(prng_state *prng __unused) in prng_crypto_ready() argument 40 prng_state *prng __unused) in prng_crypto_read() argument 48 static int prng_crypto_done(prng_state *prng __unused) in prng_crypto_done() argument 53 static int prng_crypto_export(unsigned char *out __unused, in prng_crypto_export() argument 54 unsigned long *outlen __unused, in prng_crypto_export() argument 55 prng_state *prng __unused) in prng_crypto_export() argument 61 unsigned long inlen __unused, in prng_crypto_import() argument [all …]
|
/optee_os/core/arch/arm/include/mm/ |
A D | tee_pager.h | 106 tee_pager_add_um_region(struct user_mode_ctx *uctx __unused, in tee_pager_add_um_region() argument 107 vaddr_t base __unused, struct fobj *fobj __unused, in tee_pager_add_um_region() argument 108 uint32_t prot __unused) in tee_pager_add_um_region() argument 130 vaddr_t base __unused, size_t size __unused, in tee_pager_set_um_region_attr() argument 131 uint32_t flags __unused) in tee_pager_set_um_region_attr() argument 142 vaddr_t base __unused, in tee_pager_rem_um_region() argument 143 size_t size __unused) in tee_pager_rem_um_region() argument 152 tee_pager_split_um_region(struct user_mode_ctx *uctx __unused, in tee_pager_split_um_region() argument 153 vaddr_t va __unused) in tee_pager_split_um_region() argument 165 vaddr_t va __unused, size_t len __unused) in tee_pager_merge_um_region() argument [all …]
|
A D | pgt_cache.h | 70 static inline void pgt_flush_ctx_range(struct pgt_cache *pgt_cache __unused, in pgt_flush_ctx_range() argument 71 struct ts_ctx *ctx __unused, in pgt_flush_ctx_range() argument 72 vaddr_t begin __unused, in pgt_flush_ctx_range() argument 73 vaddr_t last __unused) in pgt_flush_ctx_range() argument 101 static inline void pgt_flush_ctx(struct ts_ctx *ctx __unused) in pgt_flush_ctx() argument 105 static inline void pgt_inc_used_entries(struct pgt *pgt __unused) in pgt_inc_used_entries() argument 109 static inline void pgt_dec_used_entries(struct pgt *pgt __unused) in pgt_dec_used_entries() argument 113 static inline void pgt_set_used_entries(struct pgt *pgt __unused, in pgt_set_used_entries() argument 114 size_t val __unused) in pgt_set_used_entries() argument
|
/optee_os/core/include/kernel/ |
A D | dt.h | 200 const void *fdt __unused, in dt_find_compatible_driver() argument 201 int offs __unused) in dt_find_compatible_driver() argument 206 static inline int dt_map_dev(const void *fdt __unused, int offs __unused, in dt_map_dev() argument 207 vaddr_t *vbase __unused, size_t *size __unused) in dt_map_dev() argument 213 int offs __unused) in _fdt_reg_base_address() argument 218 static inline size_t _fdt_reg_size(const void *fdt __unused, in _fdt_reg_size() argument 219 int offs __unused) in _fdt_reg_size() argument 224 static inline int _fdt_get_status(const void *fdt __unused, int offs __unused) in _fdt_get_status() argument 230 static inline void _fdt_fill_device_info(const void *fdt __unused, in _fdt_fill_device_info() argument 231 struct dt_node_info *info __unused, in _fdt_fill_device_info() argument [all …]
|
A D | virtualization.h | 89 static inline TEE_Result virt_guest_created(uint16_t guest_id __unused) in virt_guest_created() argument 92 static inline TEE_Result virt_guest_destroyed(uint16_t guest_id __unused) in virt_guest_destroyed() argument 95 static inline TEE_Result virt_set_guest(uint16_t guest_id __unused) in virt_set_guest() argument 102 virt_get_ta_ram(vaddr_t *start __unused, vaddr_t *end __unused) { } in virt_get_ta_ram() argument 104 virt_init_memory(struct tee_mmap_region *memory_map __unused) { } in virt_init_memory() argument
|
A D | user_access.h | 17 static inline TEE_Result copy_from_user_private(void *kaddr __unused, in copy_from_user_private() argument 18 const void *uaddr __unused, in copy_from_user_private() argument 19 size_t len __unused) in copy_from_user_private() argument 24 static inline TEE_Result copy_from_user(void *kaddr __unused, in copy_from_user() argument 25 const void *uaddr __unused, in copy_from_user() argument 26 size_t len __unused) in copy_from_user() argument
|
A D | asan.h | 32 static inline void asan_tag_no_access(const void *begin __unused, in asan_tag_no_access() argument 33 const void *end __unused) in asan_tag_no_access() argument 36 static inline void asan_tag_access(const void *begin __unused, in asan_tag_access() argument 37 const void *end __unused) in asan_tag_access() argument 40 static inline void asan_tag_heap_free(const void *begin __unused, in asan_tag_heap_free() argument 41 const void *end __unused) in asan_tag_heap_free() argument
|
A D | lockdep.h | 138 static inline void lockdep_lock_acquire(struct lockdep_node_head *g __unused, in lockdep_lock_acquire() argument 139 struct lockdep_lock_head *o __unused, in lockdep_lock_acquire() argument 140 uintptr_t id __unused) in lockdep_lock_acquire() argument 143 static inline void lockdep_lock_release(struct lockdep_lock_head *o __unused, in lockdep_lock_release() argument 144 uintptr_t id __unused) in lockdep_lock_release() argument 148 lockdep_lock_destroy(struct lockdep_node_head *graph __unused, in lockdep_lock_destroy() argument 149 uintptr_t id __unused) in lockdep_lock_destroy() argument
|
/optee_os/lib/libunw/include/unw/ |
A D | unwind.h | 62 static inline bool unwind_stack_arm32(struct unwind_state_arm32 *state __unused, in unwind_stack_arm32() argument 63 vaddr_t stack __unused, in unwind_stack_arm32() argument 64 size_t stack_size __unused) in unwind_stack_arm32() argument 69 static inline void print_stack_arm32(struct unwind_state_arm32 *state __unused, in print_stack_arm32() argument 70 vaddr_t stack __unused, in print_stack_arm32() argument 71 size_t stack_size __unused) in print_stack_arm32() argument 102 vaddr_t stack __unused, in unwind_stack_arm64() argument 103 size_t stack_size __unused) in unwind_stack_arm64() argument 108 static inline void print_stack_arm64(struct unwind_state_arm64 *state __unused, in print_stack_arm64() argument 109 vaddr_t stack __unused, in print_stack_arm64() argument [all …]
|
/optee_os/core/kernel/ |
A D | ubsan.c | 115 unsigned long ptr __unused) in __ubsan_handle_type_mismatch() argument 123 unsigned long lhs __unused, in __ubsan_handle_add_overflow() argument 124 unsigned long rhs __unused) in __ubsan_handle_add_overflow() argument 132 unsigned long lhs __unused, in __ubsan_handle_sub_overflow() argument 133 unsigned long rhs __unused) in __ubsan_handle_sub_overflow() argument 141 unsigned long lhs __unused, in __ubsan_handle_mul_overflow() argument 142 unsigned long rhs __unused) in __ubsan_handle_mul_overflow() argument 167 unsigned long lhs __unused, in __ubsan_handle_shift_out_of_bounds() argument 168 unsigned long rhs __unused) in __ubsan_handle_shift_out_of_bounds() argument 176 unsigned long idx __unused) in __ubsan_handle_out_of_bounds() argument [all …]
|
/optee_os/core/drivers/scmi-msg/ |
A D | clock.c | 24 unsigned int scmi_id __unused) in plat_scmi_clock_get_name() argument 30 unsigned int scmi_id __unused, in plat_scmi_clock_rates_array() argument 31 size_t start_index __unused, in plat_scmi_clock_rates_array() argument 32 unsigned long *rates __unused, in plat_scmi_clock_rates_array() argument 33 size_t *nb_elts __unused) in plat_scmi_clock_rates_array() argument 39 unsigned int scmi_id __unused, in plat_scmi_clock_rates_by_step() argument 40 unsigned long *steps __unused) in plat_scmi_clock_rates_by_step() argument 52 unsigned int scmi_id __unused, in plat_scmi_clock_set_rate() argument 53 unsigned long rate __unused) in plat_scmi_clock_set_rate() argument 59 unsigned int scmi_id __unused) in plat_scmi_clock_get_state() argument [all …]
|
A D | voltage_domain.c | 25 unsigned int scmi_id __unused) in plat_scmi_voltd_get_name() argument 31 unsigned int scmi_id __unused, in plat_scmi_voltd_levels_array() argument 32 size_t start_index __unused, in plat_scmi_voltd_levels_array() argument 33 long *levels __unused, in plat_scmi_voltd_levels_array() argument 34 size_t *nb_elts __unused) in plat_scmi_voltd_levels_array() argument 41 long *steps __unused) in plat_scmi_voltd_levels_by_step() argument 53 unsigned int scmi_id __unused, in plat_scmi_voltd_set_level() argument 54 long microvolt __unused) in plat_scmi_voltd_set_level() argument 60 unsigned int scmi_id __unused, in plat_scmi_voltd_get_config() argument 61 uint32_t *config __unused) in plat_scmi_voltd_get_config() argument [all …]
|
A D | reset_domain.c | 18 size_t __weak plat_scmi_rd_count(unsigned int channel_id __unused) in plat_scmi_rd_count() argument 23 const char __weak *plat_scmi_rd_get_name(unsigned int channel_id __unused, in plat_scmi_rd_get_name() argument 24 unsigned int scmi_id __unused) in plat_scmi_rd_get_name() argument 29 int32_t __weak plat_scmi_rd_autonomous(unsigned int channel_id __unused, in plat_scmi_rd_autonomous() argument 30 unsigned int scmi_id __unused, in plat_scmi_rd_autonomous() argument 31 unsigned int state __unused) in plat_scmi_rd_autonomous() argument 36 int32_t __weak plat_scmi_rd_set_state(unsigned int channel_id __unused, in plat_scmi_rd_set_state() argument 37 unsigned int scmi_id __unused, in plat_scmi_rd_set_state() argument 38 bool assert_not_deassert __unused) in plat_scmi_rd_set_state() argument
|
/optee_os/core/arch/arm/plat-imx/pm/ |
A D | psci.c | 117 uint32_t lowest_affnity_level __unused) in psci_affinity_info() argument 182 __weak int imx7d_lowpower_idle(uint32_t power_state __unused, in imx7d_lowpower_idle() argument 183 uintptr_t entry __unused, in imx7d_lowpower_idle() argument 184 uint32_t context_id __unused, in imx7d_lowpower_idle() argument 185 struct sm_nsec_ctx *nsec __unused) in imx7d_lowpower_idle() argument 190 __weak int imx7_cpu_suspend(uint32_t power_state __unused, in imx7_cpu_suspend() argument 191 uintptr_t entry __unused, in imx7_cpu_suspend() argument 192 uint32_t context_id __unused, in imx7_cpu_suspend() argument 193 struct sm_nsec_ctx *nsec __unused) in imx7_cpu_suspend() argument 199 uintptr_t entry, uint32_t context_id __unused, in psci_cpu_suspend() argument [all …]
|
/optee_os/core/arch/arm/kernel/ |
A D | link_dummies_paged.c | 31 boot_init_primary_late(unsigned long fdt __unused) in boot_init_primary_late() argument 36 __thread_std_smc_entry(uint32_t a0 __unused, uint32_t a1 __unused, in __thread_std_smc_entry() argument 37 uint32_t a2 __unused, uint32_t a3 __unused, in __thread_std_smc_entry() argument 38 uint32_t a4 __unused, uint32_t a5 __unused) in __thread_std_smc_entry() argument
|
A D | link_dummies_init.c | 10 get_aslr_seed(void *fdt __unused) in get_aslr_seed() argument 16 core_init_mmu_map(unsigned long seed __unused, in core_init_mmu_map() argument 17 struct core_mmu_config *cfg __unused) in core_init_mmu_map() argument 22 boot_init_primary_early(unsigned long pageable_part __unused, in boot_init_primary_early() argument 23 unsigned long nsec_entry __unused) in boot_init_primary_early() argument
|
/optee_os/core/include/crypto/ |
A D | crypto_impl.h | 275 uint32_t algo __unused) in drvcrypt_hash_alloc_ctx() argument 287 uint32_t algo __unused) in drvcrypt_cipher_alloc_ctx() argument 299 uint32_t algo __unused) in drvcrypt_mac_alloc_ctx() argument 312 uint32_t algo __unused) in drvcrypt_authenc_alloc_ctx() argument 367 uint32_t key_type __unused, in crypto_asym_alloc_ecc_public_key() argument 368 size_t key_size_bits __unused) in crypto_asym_alloc_ecc_public_key() argument 375 uint32_t key_type __unused, in crypto_asym_alloc_ecc_keypair() argument 392 uint32_t key_type __unused, in drvcrypt_asym_alloc_ecc_public_key() argument 393 size_t key_size_bits __unused) in drvcrypt_asym_alloc_ecc_public_key() argument 400 uint32_t key_type __unused, in drvcrypt_asym_alloc_ecc_keypair() argument [all …]
|
/optee_os/lib/libutils/ext/ |
A D | trace.c | 95 static int print_core_id(char *buf __unused, size_t bs __unused) in print_core_id() argument 187 void trace_set_level(int level __unused) in trace_set_level() argument 196 void trace_printf(const char *function __unused, int line __unused, in trace_printf() argument 197 int level __unused, bool level_ok __unused, in trace_printf() argument 198 const char *fmt __unused, ...) in trace_printf() argument 283 void dhex_dump(const char *function __unused, int line __unused, in dhex_dump() argument 284 int level __unused, in dhex_dump() argument 285 const void *buf __unused, int len __unused) in dhex_dump() argument
|
/optee_os/core/drivers/crypto/caam/hal/imx_8q/ |
A D | hal_jr.c | 11 enum caam_status caam_hal_jr_setowner(vaddr_t ctrl_base __unused, in caam_hal_jr_setowner() argument 12 paddr_t jr_offset __unused, in caam_hal_jr_setowner() argument 13 enum caam_jr_owner owner __unused) in caam_hal_jr_setowner() argument 28 void caam_hal_jr_prepare_backup(vaddr_t ctrl_base __unused, in caam_hal_jr_prepare_backup() argument 29 paddr_t jr_offset __unused) in caam_hal_jr_prepare_backup() argument
|
/optee_os/core/drivers/crypto/caam/include/ |
A D | caam_acipher.h | 22 caam_rsa_init(struct caam_jrcfg *caam_jrcfg __unused) in caam_rsa_init() argument 37 caam_dh_init(struct caam_jrcfg *caam_jrcfg __unused) in caam_dh_init() argument 52 caam_math_init(struct caam_jrcfg *caam_jrcfg __unused) in caam_math_init() argument 67 caam_ecc_init(struct caam_jrcfg *caam_jrcfg __unused) in caam_ecc_init() argument 82 caam_dsa_init(struct caam_jrcfg *caam_jrcfg __unused) in caam_dsa_init() argument
|
/optee_os/core/arch/arm/include/kernel/ |
A D | spmc_sp_handler.h | 29 static inline void spmc_sp_start_thread(struct thread_smc_args *args __unused) in spmc_sp_start_thread() argument 33 static inline int spmc_sp_add_share(struct ffa_rxtx *rxtx __unused, in spmc_sp_add_share() argument 34 size_t blen __unused, in spmc_sp_add_share() argument 35 uint64_t *global_handle __unused, in spmc_sp_add_share() argument 36 struct sp_session *owner_sp __unused) in spmc_sp_add_share() argument
|