/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | certs.h | 41 extern const size_t mbedtls_test_cas_len[]; 45 extern const size_t mbedtls_test_cas_der_len[]; 50 extern const size_t mbedtls_test_cas_pem_len; 98 extern const size_t mbedtls_test_ca_crt_ec_len; 118 extern const size_t mbedtls_test_ca_crt_len; 119 extern const size_t mbedtls_test_ca_key_len; 120 extern const size_t mbedtls_test_ca_pwd_len; 187 extern const size_t mbedtls_test_srv_crt_len; 188 extern const size_t mbedtls_test_srv_key_len; 189 extern const size_t mbedtls_test_srv_pwd_len; [all …]
|
A D | rsa.h | 386 unsigned char *N, size_t N_len, 387 unsigned char *P, size_t P_len, 629 int mode, size_t ilen, 670 int mode, size_t ilen, 717 size_t ilen, 768 int mode, size_t *olen, 771 size_t output_max_len ); 818 int mode, size_t *olen, 821 size_t output_max_len ); 874 size_t *olen, [all …]
|
A D | ccm.h | 162 const unsigned char *iv, size_t iv_len, 163 const unsigned char *add, size_t add_len, 165 unsigned char *tag, size_t tag_len ); 210 const unsigned char *iv, size_t iv_len, 213 unsigned char *tag, size_t tag_len ); 247 const unsigned char *iv, size_t iv_len, 248 const unsigned char *add, size_t add_len, 250 const unsigned char *tag, size_t tag_len ); 292 const unsigned char *iv, size_t iv_len, 293 const unsigned char *add, size_t add_len, [all …]
|
A D | pk_internal.h | 43 size_t (*get_bitlen)( const void * ); 50 const unsigned char *hash, size_t hash_len, 51 const unsigned char *sig, size_t sig_len ); 55 const unsigned char *hash, size_t hash_len, 56 unsigned char *sig, size_t *sig_len, 57 int (*f_rng)(void *, unsigned char *, size_t), 64 const unsigned char *sig, size_t sig_len, 69 const unsigned char *hash, size_t hash_len, 70 unsigned char *sig, size_t *sig_len, 77 unsigned char *output, size_t *olen, size_t osize, [all …]
|
A D | entropy_poll.h | 52 unsigned char *output, size_t len, size_t *olen ); 60 unsigned char *output, size_t len, size_t *olen ); 70 unsigned char *output, size_t len, size_t *olen ); 78 unsigned char *output, size_t len, size_t *olen ); 91 unsigned char *output, size_t len, size_t *olen ); 101 unsigned char *output, size_t len, size_t *olen );
|
A D | pk.h | 226 size_t output_max_len ); 414 const unsigned char *hash, size_t hash_len, 440 const unsigned char *sig, size_t sig_len, 508 const unsigned char *hash, size_t hash_len, 509 unsigned char *sig, size_t *sig_len, 542 const unsigned char *hash, size_t hash_len, 543 unsigned char *sig, size_t *sig_len, 565 const unsigned char *input, size_t ilen, 566 unsigned char *output, size_t *olen, size_t osize, 586 const unsigned char *input, size_t ilen, [all …]
|
A D | asn1write.h | 59 size_t len ); 89 const unsigned char *buf, size_t size ); 139 const char *oid, size_t oid_len ); 159 size_t par_len ); 227 size_t text_len ); 264 const char *text, size_t text_len ); 282 const char *text, size_t text_len ); 299 const unsigned char *buf, size_t bits ); 321 size_t bits ); 362 const char *oid, size_t oid_len, [all …]
|
A D | hkdf.h | 73 size_t salt_len, const unsigned char *ikm, size_t ikm_len, 74 const unsigned char *info, size_t info_len, 75 unsigned char *okm, size_t okm_len ); 102 const unsigned char *salt, size_t salt_len, 103 const unsigned char *ikm, size_t ikm_len, 133 size_t prk_len, const unsigned char *info, 134 size_t info_len, unsigned char *okm, size_t okm_len );
|
A D | cipher.h | 335 void (*add_padding)( unsigned char *output, size_t olen, size_t data_len ); 336 int (*get_padding)( unsigned char *input, size_t ilen, size_t *data_len ); 343 size_t unprocessed_len; 350 size_t iv_size; 508 size_t taglen ); 721 size_t iv_len ); 790 size_t *olen ); 815 unsigned char *output, size_t *olen ); 890 unsigned char *output, size_t *olen ); 1065 size_t *olen, size_t tag_len ); [all …]
|
/optee_os-3.20.0/lib/libutils/isoc/include/ |
A D | malloc.h | 18 void *calloc(size_t nmemb, size_t size); 20 void *memalign(size_t alignment, size_t size); 24 void *aligned_alloc(size_t alignment, size_t size); 33 size_t size); 37 size_t size); 113 size_t size); 128 void *nex_calloc(size_t nmemb, size_t size); 130 void *nex_memalign(size_t alignment, size_t size); 160 void *raw_memalign(size_t hdr_size, size_t ftr_size, size_t alignment, 162 void *raw_malloc(size_t hdr_size, size_t ftr_size, size_t pl_size, [all …]
|
A D | string.h | 17 void *memcpy(void *__restrict s1, const void *__restrict s2, size_t n); 18 void *memmove(void *s1, const void *s2, size_t n); 19 int memcmp(const void *s1, const void *s2, size_t n); 20 void *memset(void *s, int c, size_t n); 23 int strncmp(const char *s1, const char *s2, size_t n); 24 size_t strlen(const char *s); 25 size_t strnlen(const char *s, size_t n); 27 char *strndup(const char *s, size_t n); 31 char *strncpy(char *dest, const char *src, size_t n); 35 void *memchr(const void *buf, int c, size_t length);
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | constant_time_internal.h | 62 size_t mbedtls_ct_size_mask( size_t value ); 98 size_t mbedtls_ct_size_mask_ge( size_t x, 99 size_t y ); 114 unsigned mbedtls_ct_size_bool_eq( size_t x, 115 size_t y ); 214 size_t len, 215 size_t c1, size_t c2 ); 248 size_t len ); 288 size_t add_data_len, 291 size_t min_data_len, [all …]
|
A D | certs.c | 1529 const size_t mbedtls_test_ca_key_ec_len = 1644 const size_t mbedtls_test_ca_key_len = 1646 const size_t mbedtls_test_ca_pwd_len = 1648 const size_t mbedtls_test_ca_crt_len = 1651 const size_t mbedtls_test_srv_key_len = 1653 const size_t mbedtls_test_srv_pwd_len = 1655 const size_t mbedtls_test_srv_crt_len = 1658 const size_t mbedtls_test_cli_key_len = 1660 const size_t mbedtls_test_cli_pwd_len = 1662 const size_t mbedtls_test_cli_crt_len = [all …]
|
A D | platform.c | 37 static void *platform_calloc_uninit( size_t n, size_t size ) in platform_calloc_uninit() 56 static void * (*mbedtls_calloc_func)( size_t, size_t ) = MBEDTLS_PLATFORM_STD_CALLOC; 59 void * mbedtls_calloc( size_t nmemb, size_t size ) in mbedtls_calloc() 69 int mbedtls_platform_set_calloc_free( void * (*calloc_func)( size_t, size_t ), in mbedtls_platform_set_calloc_free() argument 100 static int platform_snprintf_uninit( char * s, size_t n, in platform_snprintf_uninit() 112 int (*mbedtls_snprintf)( char * s, size_t n, 139 if( ret < 0 || (size_t) ret == n ) in mbedtls_platform_win32_vsnprintf() 155 static int platform_vsnprintf_uninit( char * s, size_t n, in platform_vsnprintf_uninit() 168 int (*mbedtls_vsnprintf)( char * s, size_t n, 286 size_t n; in mbedtls_platform_std_nv_seed_read() [all …]
|
/optee_os-3.20.0/core/include/crypto/ |
A D | crypto.h | 65 size_t tag_len, size_t aad_len, 72 size_t *dst_len); 80 size_t tag_len); 217 size_t xbits, size_t key_size); 220 size_t key_size); 268 size_t sig_len); 298 size_t out_len; 305 size_t conf_in_len; 307 size_t conf_out_len; 324 size_t data_size); [all …]
|
/optee_os-3.20.0/ldelf/include/ |
A D | ldelf_syscalls.h | 14 void _ldelf_log(const void *buf, size_t len); 16 TEE_Result _ldelf_map_zi(vaddr_t *va, size_t num_bytes, size_t pad_begin, 17 size_t pad_end, unsigned long flags); 18 TEE_Result _ldelf_unmap(vaddr_t va, size_t num_bytes); 19 TEE_Result _ldelf_open_bin(const TEE_UUID *uuid, size_t uuid_size, 22 TEE_Result _ldelf_map_bin(vaddr_t *va, size_t num_bytes, unsigned long handle, 23 size_t offs, size_t pad_begin, size_t pad_end, 25 TEE_Result _ldelf_cp_from_bin(void *dst, size_t offs, size_t num_bytes, 27 TEE_Result _ldelf_set_prot(unsigned long va, size_t num_bytes, 30 size_t pad_begin, size_t pad_end); [all …]
|
/optee_os-3.20.0/lib/libutils/ext/include/ |
A D | confine_array_index.h | 70 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() 71 size_t safe_index; in confine_array_index() 87 static inline size_t confine_array_index(size_t index, size_t size) in confine_array_index() 89 size_t ret_val = index; in confine_array_index() 128 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index() 129 size_t safe_index = 0; in confine_array_index() 147 static inline size_t confine_array_index(size_t index, size_t size) { in confine_array_index()
|
/optee_os-3.20.0/core/include/kernel/ |
A D | ldelf_syscalls.h | 22 TEE_Result ldelf_syscall_map_zi(vaddr_t *va, size_t num_bytes, size_t pad_begin, 23 size_t pad_end, unsigned long flags); 24 TEE_Result ldelf_syscall_unmap(vaddr_t va, size_t num_bytes); 28 TEE_Result ldelf_syscall_map_bin(vaddr_t *va, size_t num_bytes, 29 unsigned long handle, size_t offs_bytes, 30 size_t pad_begin, size_t pad_end, 32 TEE_Result ldelf_syscall_copy_from_bin(void *dst, size_t offs, size_t num_bytes, 34 TEE_Result ldelf_syscall_set_prot(unsigned long va, size_t num_bytes, 37 size_t num_bytes, size_t pad_begin, 38 size_t pad_end); [all …]
|
/optee_os-3.20.0/core/drivers/crypto/caam/include/ |
A D | caam_utils_dmaobj.h | 36 size_t len); 49 size_t len); 62 size_t length, size_t min_length); 81 size_t length, size_t min_length); 97 size_t caam_dmaobj_copy_to_orig(struct caamdmaobj *obj); 107 size_t caam_dmaobj_copy_ltrim_to_orig(struct caamdmaobj *obj); 141 size_t offset, size_t length); 161 size_t *length, size_t off, 162 size_t align); 178 struct caamdmaobj *output, size_t min_size); [all …]
|
/optee_os-3.20.0/core/include/mm/ |
A D | vm.h | 31 size_t offs, size_t pad_begin, size_t pad_end, 32 size_t align); 40 size_t len, uint32_t prot, uint32_t flags, in vm_map() 41 struct mobj *mobj, size_t offs) in vm_map() 47 size_t len, size_t pad_begin, size_t pad_end); 81 const void *va, size_t size); 84 const void *va, size_t size); 87 const void *va, size_t size, 88 struct mobj **mobj, size_t *offs); 101 uint32_t flags, uaddr_t uaddr, size_t len); [all …]
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/include/ |
A D | drvcrypt_acipher.h | 38 size_t digest_size; /* Hash Digest Size */ 49 size_t digest_size; /* Hash Digest Size */ 66 size_t digest_size; /* Hash Digest Size */ 84 size_t size_bits); 144 size_t size_bits); 175 size_t size_bits); 196 size_t n_bits); 199 size_t n_bits); 202 size_t n_bits); 205 size_t n_bytes); [all …]
|
/optee_os-3.20.0/ldelf/ |
A D | sys.h | 37 TEE_Result sys_map_zi(size_t num_bytes, uint32_t flags, vaddr_t *va, 38 size_t pad_begin, size_t pad_end); 39 TEE_Result sys_unmap(vaddr_t va, size_t num_bytes); 42 TEE_Result sys_map_ta_bin(vaddr_t *va, size_t num_bytes, uint32_t flags, 43 uint32_t handle, size_t offs, size_t pad_begin, 44 size_t pad_end); 46 size_t offs); 47 TEE_Result sys_set_prot(vaddr_t va, size_t num_bytes, uint32_t flags); 48 TEE_Result sys_remap(vaddr_t old_va, vaddr_t *new_va, size_t num_bytes, 49 size_t pad_begin, size_t pad_end); [all …]
|
/optee_os-3.20.0/core/include/tee/ |
A D | tee_svc_cryp.h | 42 size_t iv_len); 44 size_t chunk_size); 49 size_t iv_len); 62 size_t nonce_len, size_t tag_len, 63 size_t aad_len, size_t payload_len); 78 size_t num_params, const void *src_data, 82 size_t num_params, const void *data, size_t data_len, 83 const void *sig, size_t sig_len); 86 size_t max_key_size); 91 size_t *data_len); [all …]
|
/optee_os-3.20.0/core/drivers/crypto/se050/adaptors/include/ |
A D | se050_apdu_apis.h | 20 size_t e_len; 22 size_t d_len; 24 size_t n_len; 27 size_t p_len; 29 size_t q_len; 31 size_t qp_len; 33 size_t dp_len; 35 size_t dq_len; 40 size_t e_len; 42 size_t n_len; [all …]
|
/optee_os-3.20.0/lib/libutee/include/ |
A D | utee_syscalls.h | 66 size_t len); 93 size_t chunk_size); 98 size_t iv_len); 136 size_t nonce_len, size_t tag_len, size_t aad_len, 137 size_t payload_len); 139 size_t aad_data_len); 150 size_t tag_len); 161 size_t data_len, const void *sig, size_t sig_len); 177 size_t len, uint32_t *obj); 184 size_t new_obj_id_len); [all …]
|