/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_panic.c | 38 static TEE_Result check_access(uint32_t flags, void *buf, size_t len) in check_access() 52 void __utee_check_outbuf_annotation(void *buf, uint32_t *len) in __utee_check_outbuf_annotation() 66 void __utee_check_outstring_annotation(char *buf, uint32_t *len) in __utee_check_outstring_annotation() 74 void __utee_check_out_annotation(void *buf, const size_t len) in __utee_check_out_annotation() 86 void __utee_check_inout_annotation(void *buf, const size_t len) in __utee_check_inout_annotation()
|
A D | tee_system_pta.c | 32 void *tee_map_zi(size_t len, uint32_t flags) in tee_map_zi() 62 TEE_Result tee_unmap(void *buf, size_t len) in tee_unmap() 82 uint32_t sub_cmd, void *buf, size_t len, in tee_invoke_supp_plugin()
|
/optee_os-3.20.0/core/drivers/crypto/caam/include/ |
A D | caam_desc_helper.h | 49 size_t len = 0; in dump_desc() local 71 #define DESC_HEADER(len) (DESC_HDR(0) | HDR_JD_DESCLEN(len)) argument 76 #define DESC_HEADER_IDX(len, idx) (DESC_HDR(idx) | HDR_JD_DESCLEN(len)) argument 134 #define LD_IMM(cla, dst, len) \ argument 141 #define LD_NOCLASS_IMM(dst, len) LD_IMM(CLASS_NO, dst, len) argument 146 #define LD_NOIMM(cla, dst, len) \ argument 153 #define LD_NOIMM_OFF(cla, dst, len, off) \ argument 160 #define FIFO_LD(cla, dst, act, len) \ argument 168 #define FIFO_LD_SGT(cla, dst, act, len) \ argument 543 #define SEQ_IN_PTR(len) (CMD_SEQ_IN_TYPE | SEQ_LENGTH(len)) argument [all …]
|
A D | caam_desc_ccb_defines.h | 42 #define NFIFO_DATA_LENGTH(len) SHIFT_U32((len) & 0xFFF, 0) argument 43 #define NFIFO_PAD_LENGTH(len) SHIFT_U32((len) & 0x7F, 0) argument 48 #define NFIFO_PAD(cla, options, data, pad, len) \ argument 55 #define NFIFO_NOPAD(cla, options, src, data, len) \ argument
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | entropy_poll.c | 61 int mbedtls_platform_entropy_poll( void *data, unsigned char *output, size_t len, in mbedtls_platform_entropy_poll() 144 size_t len; in sysctl_arnd_wrapper() local 165 unsigned char *output, size_t len, size_t *olen ) in mbedtls_platform_entropy_poll() 219 unsigned char *output, size_t len, size_t *olen ) in mbedtls_null_entropy_poll() 236 unsigned char *output, size_t len, size_t *olen ) in mbedtls_hardclock_poll() 254 unsigned char *output, size_t len, size_t *olen ) in mbedtls_havege_poll() 270 unsigned char *output, size_t len, size_t *olen ) in mbedtls_nv_seed_poll()
|
A D | asn1parse.c | 47 size_t *len ) in mbedtls_asn1_get_len() 105 size_t *len, int tag ) in mbedtls_asn1_get_tag() 123 size_t len; in mbedtls_asn1_get_bool() local 142 size_t len; in asn1_get_tagged_int() local 201 size_t len; in mbedtls_asn1_get_mpi() local 248 int mbedtls_asn1_traverse_sequence_of( in mbedtls_asn1_traverse_sequence_of() 258 size_t len; in mbedtls_asn1_traverse_sequence_of() local 300 size_t *len ) in mbedtls_asn1_get_bitstring_null() 338 size_t len ) in asn1_get_sequence_of_cb() 384 size_t len; in mbedtls_asn1_get_alg() local [all …]
|
A D | asn1write.c | 37 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, size_t len ) in mbedtls_asn1_write_len() 114 size_t len = 0; in mbedtls_asn1_write_raw_buffer() local 130 size_t len = 0; in mbedtls_asn1_write_mpi() local 172 size_t len = 0; in mbedtls_asn1_write_null() local 186 size_t len = 0; in mbedtls_asn1_write_oid() local 201 size_t len = 0; in mbedtls_asn1_write_algorithm_identifier() local 220 size_t len = 0; in mbedtls_asn1_write_bool() local 237 size_t len = 0; in asn1_write_tagged_int() local 277 size_t len = 0; in mbedtls_asn1_write_tagged_string() local 353 size_t len = 0; in mbedtls_asn1_write_bitstring() local [all …]
|
/optee_os-3.20.0/core/drivers/crypto/se050/glue/ |
A D | user.c | 13 sss_status_t glue_mac_context_init(void **mac, const uint8_t *key, size_t len) in glue_mac_context_init() 29 sss_status_t glue_mac_update(void *mac, const uint8_t *msg, size_t len) in glue_mac_update() 37 sss_status_t glue_mac_final(void *mac, uint8_t *buf, size_t len) in glue_mac_final() 68 const uint8_t *src, uint8_t *dst, size_t len) in glue_cipher_one_go() 86 sss_status_t glue_rng_get_random(uint8_t *data, size_t len) in glue_rng_get_random()
|
A D | i2c.c | 17 static int i2c_transfer(uint8_t *buffer, int len, enum rpc_i2c_mode mode) in i2c_transfer() 38 int glue_i2c_read(uint8_t *buffer, int len) in glue_i2c_read() 43 int glue_i2c_write(uint8_t *buffer, int len) in glue_i2c_write()
|
/optee_os-3.20.0/core/include/mm/ |
A D | core_memprot.h | 41 #define tee_pbuf_is_non_sec(buf, len) \ argument 44 #define tee_pbuf_is_sec(buf, len) \ argument 47 #define tee_vbuf_is_non_sec(buf, len) \ argument 50 #define tee_vbuf_is_sec(buf, len) \ argument
|
/optee_os-3.20.0/core/kernel/ |
A D | user_access.c | 17 static TEE_Result check_access(uint32_t flags, const void *uaddr, size_t len) in check_access() 25 TEE_Result copy_from_user(void *kaddr, const void *uaddr, size_t len) in copy_from_user() 38 TEE_Result copy_to_user(void *uaddr, const void *kaddr, size_t len) in copy_to_user() 51 TEE_Result copy_from_user_private(void *kaddr, const void *uaddr, size_t len) in copy_from_user_private() 64 TEE_Result copy_to_user_private(void *uaddr, const void *kaddr, size_t len) in copy_to_user_private()
|
A D | otp_stubs.c | 26 __weak int tee_otp_get_die_id(uint8_t *buffer, size_t len) in tee_otp_get_die_id() 45 uint8_t *buffer, size_t len) in tee_otp_get_ta_enc_key()
|
A D | dt.c | 48 int len = 0; in dt_disable_status() local 174 int len; in _fdt_reg_base_address() local 197 int len; in _fdt_reg_size() local 229 static bool is_okay(const char *st, int len) in is_okay() 238 int len; in _fdt_get_status() local 300 int len = 0; in _fdt_read_uint32_array() local
|
/optee_os-3.20.0/core/crypto/ |
A D | aes-gcm.c | 28 const uint8_t *data, size_t len) in ghash_update_pad_zero() 141 const void *data, size_t len) in __gcm_update_aad() 184 const void *data, size_t len) in internal_aes_gcm_update_aad() 193 size_t len, void *dst) in __gcm_update_payload() 259 const void *src, size_t len, in internal_aes_gcm_update_payload() 269 size_t len, uint8_t *dst) in operation_final() 373 const void *src, size_t len, void *dst, in internal_aes_gcm_enc() 472 const uint8_t *data, size_t len) in aes_gcm_update_aad() 480 const uint8_t *src, size_t len, in aes_gcm_update_payload() 488 const uint8_t *src, size_t len, in aes_gcm_enc_final() [all …]
|
A D | sm3-hmac.c | 36 const uint8_t *key, size_t len) in op_sm3_hmac_init() 44 const uint8_t *data, size_t len) in op_sm3_hmac_update() 52 size_t len) in op_sm3_hmac_final()
|
/optee_os-3.20.0/core/tee/ |
A D | tee_ta_enc_manager.c | 13 size_t len) in tee_ta_decrypt_init() 40 size_t len) in tee_ta_decrypt_update() 54 uint8_t *dst, uint8_t *src, size_t len) in tee_ta_decrypt_final()
|
/optee_os-3.20.0/core/lib/libfdt/ |
A D | fdt_wip.c | 16 int len) in fdt_setprop_inplace_namelen_partial() 34 const void *val, int len) in fdt_setprop_inplace() 51 static void fdt_nop_region_(void *start, int len) in fdt_nop_region_() 62 int len; in fdt_nop_property() local
|
/optee_os-3.20.0/core/arch/arm/mm/ |
A D | core_mmu.c | 34 void tlbi_mva_range(vaddr_t va, size_t len, size_t granule) in tlbi_mva_range() 49 void tlbi_mva_range_asid(vaddr_t va, size_t len, size_t granule, uint32_t asid) in tlbi_mva_range_asid() 64 TEE_Result cache_op_inner(enum cache_op op, void *va, size_t len) in cache_op_inner() 98 TEE_Result cache_op_outer(enum cache_op op, paddr_t pa, size_t len) in cache_op_outer()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/prngs/ |
A D | rng_get_bytes.c | 13 static unsigned long s_rng_nix(unsigned char *buf, unsigned long len, in s_rng_nix() 56 static unsigned long s_rng_ansic(unsigned char *buf, unsigned long len, in s_rng_ansic() 97 static unsigned long s_rng_win32(unsigned char *buf, unsigned long len, in s_rng_win32()
|
/optee_os-3.20.0/core/drivers/crypto/caam/utils/ |
A D | utils_sgt_v2.c | 26 uint64_t len = 0; in sgt_entry_offset() local 51 void caam_sgt_set_entry(union caamsgt *sgt, paddr_t paddr, size_t len, in caam_sgt_set_entry()
|
A D | utils_sgt_v1.c | 12 #define ENTRY_LEN(len) (((uint32_t)len) & GENMASK_32(29, 0)) argument 42 void caam_sgt_set_entry(union caamsgt *sgt, paddr_t paddr, size_t len, in caam_sgt_set_entry()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/ctr/ |
A D | ctr_encrypt.c | 41 static int s_ctr_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_C… in s_ctr_encrypt() 86 int ctr_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CTR *ctr) in ctr_encrypt()
|
/optee_os-3.20.0/core/include/tee/ |
A D | tee_svc.h | 27 const size_t len; member 32 size_t len; member
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/ |
A D | burn_stack.c | 14 void burn_stack(unsigned long len) in burn_stack()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/general/ |
A D | der_length_asn1_length.c | 17 int der_length_asn1_length(unsigned long len, unsigned long *outlen) in der_length_asn1_length()
|