/optee_os-3.20.0/lib/libutee/include/ |
A D | elf64.h | 146 #define ELF64_R_SYM(info) ((info) >> 32) argument 147 #define ELF64_R_TYPE(info) ((info) & 0xffffffffL) argument 152 #define ELF64_R_TYPE_DATA(info) (((Elf64_Xword)(info)<<32)>>40) argument 153 #define ELF64_R_TYPE_ID(info) (((Elf64_Xword)(info)<<56)>>56) argument 173 #define ELF64_M_SYM(info) ((info)>>8) argument 174 #define ELF64_M_SIZE(info) ((unsigned char)(info)) argument 202 #define ELF64_ST_BIND(info) ((info) >> 4) argument 203 #define ELF64_ST_TYPE(info) ((info) & 0xf) argument
|
A D | elf32.h | 137 #define ELF32_R_SYM(info) ((info) >> 8) argument 138 #define ELF32_R_TYPE(info) ((unsigned char)(info)) argument 166 #define ELF32_M_SYM(info) ((info)>>8) argument 167 #define ELF32_M_SIZE(info) ((unsigned char)(info)) argument 195 #define ELF32_ST_BIND(info) ((info) >> 4) argument 196 #define ELF32_ST_TYPE(info) ((info) & 0xf) argument
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | ssl_ciphersuites.h | 415 int mbedtls_ssl_ciphersuite_uses_ec( const mbedtls_ssl_ciphersuite_t *info ); 416 int mbedtls_ssl_ciphersuite_uses_psk( const mbedtls_ssl_ciphersuite_t *info ); 421 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_has_pfs() 438 static inline int mbedtls_ssl_ciphersuite_no_pfs( const mbedtls_ssl_ciphersuite_t *info ) in mbedtls_ssl_ciphersuite_no_pfs() argument 440 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_no_pfs() 458 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_uses_ecdh() 472 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_cert_req_allowed() 489 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_uses_srv_cert() 508 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_uses_dhe() 523 switch( info->key_exchange ) in mbedtls_ssl_ciphersuite_uses_ecdhe() [all …]
|
A D | hkdf.h | 74 const unsigned char *info, size_t info_len, 133 size_t prk_len, const unsigned char *info,
|
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_objects.c | 40 struct utee_object_info info = { }; in TEE_GetObjectInfo() local 57 objectInfo->keySize = info.obj_size; in TEE_GetObjectInfo() 68 struct utee_object_info info = { }; in TEE_GetObjectInfo1() local 79 objectInfo->keySize = info.obj_size; in TEE_GetObjectInfo1() 97 struct utee_object_info info = { }; in TEE_RestrictObjectUsage() local 129 struct utee_object_info info = { }; in TEE_GetObjectBufferAttribute() local 165 struct utee_object_info info = { }; in TEE_GetObjectValueAttribute() local 246 struct utee_object_info info = { }; in TEE_FreeTransientObject() local 621 &info, objectID, &len); in TEE_GetNextPersistentObject() 745 (uint32_t)offset + info.data_pos < info.data_pos)) { in TEE_SeekObjectData() [all …]
|
A D | tee_api_operations.c | 19 TEE_OperationInfo info; member 290 op->info.mode = mode; in TEE_AllocateOperation() 456 op->info.requiredKeyUsage; in TEE_GetOperationInfoMultiple() 471 op->info.requiredKeyUsage; in TEE_GetOperationInfoMultiple() 480 op->info.requiredKeyUsage; in TEE_GetOperationInfoMultiple() 487 op_info->mode = op->info.mode; in TEE_GetOperationInfoMultiple() 729 if (dst_op->info.algorithm != src_op->info.algorithm) in TEE_CopyOperation() 731 if (dst_op->info.mode != src_op->info.mode) in TEE_CopyOperation() 749 dst_op->info.handleState = src_op->info.handleState; in TEE_CopyOperation() 750 dst_op->info.keySize = src_op->info.keySize; in TEE_CopyOperation() [all …]
|
/optee_os-3.20.0/core/tee/ |
A D | tee_svc_storage.c | 269 o->info.objectUsage = attr_o->info.objectUsage; in tee_svc_storage_init_file() 270 o->info.objectSize = attr_o->info.objectSize; in tee_svc_storage_init_file() 302 o->info.dataSize = len; in tee_svc_storage_init_file() 620 info = memtag_strip_tag(info); in syscall_storage_next_enum() 625 (uaddr_t)info, sizeof(*info)); in syscall_storage_next_enum() 666 .data_size = o->info.dataSize, in syscall_storage_next_enum() 739 o->info.dataPosition += bytes; in syscall_storage_obj_read() 795 o->info.dataPosition += len; in syscall_storage_obj_write() 796 if (o->info.dataPosition > o->info.dataSize) in syscall_storage_obj_write() 797 o->info.dataSize = o->info.dataPosition; in syscall_storage_obj_write() [all …]
|
A D | tee_svc_cryp.c | 1147 o->info.objectUsage &= usage; in syscall_cryp_obj_restrict_usage() 1357 if (o->info.objectType == src->info.objectType) { in tee_obj_attr_copy_from() 1615 o->info.objectSize = 0; in syscall_cryp_obj_reset() 1890 o->info.objectSize -= o->info.objectSize / 8; in tee_svc_cryp_obj_populate_type() 1977 dst_o->info.objectSize = src_o->info.objectSize; in syscall_cryp_obj_copy() 1978 dst_o->info.objectUsage = src_o->info.objectUsage; in syscall_cryp_obj_copy() 2808 if ((o->info.handleFlags & in syscall_hash_init() 3125 *salt = *info = NULL; in get_hkdf_params() 3440 so->info.handleFlags |= in syscall_cryp_derive_key() 3514 void *salt, *info; in syscall_cryp_derive_key() local [all …]
|
A D | tee_cryp_hkdf.c | 66 size_t prk_len, const uint8_t *info, in hkdf_expand() argument 85 if (!info) in hkdf_expand() 124 res = crypto_mac_update(ctx, info, info_len); in hkdf_expand() 146 const uint8_t *info, size_t info_len, uint8_t *okm, in tee_cryp_hkdf() argument 157 res = hkdf_expand(hash_id, prk, prk_len, info, info_len, okm, in tee_cryp_hkdf()
|
/optee_os-3.20.0/core/pta/ |
A D | rtc.c | 123 struct pta_rtc_info *info = NULL; in rtc_pta_get_info() local 134 info = params[0].memref.buffer; in rtc_pta_get_info() 135 if (!info || params[0].memref.size != sizeof(*info)) in rtc_pta_get_info() 138 memset(info, 0, sizeof(*info)); in rtc_pta_get_info() 144 info->version = PTA_RTC_INFO_VERSION; in rtc_pta_get_info() 147 info->features |= PTA_RTC_FEATURE_CORRECTION; in rtc_pta_get_info() 149 rtc_pta_copy_time_from_optee(&info->range_min, &range_min); in rtc_pta_get_info() 150 rtc_pta_copy_time_from_optee(&info->range_max, &range_max); in rtc_pta_get_info()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/hkdf/ |
A D | hkdf.c | 31 int hkdf_expand(int hash_idx, const unsigned char *info, unsigned long infolen, in hkdf_expand() argument 54 if (info == NULL && infolen != 0) { in hkdf_expand() 64 if (info != NULL) { in hkdf_expand() 65 XMEMCPY(T + hashsize, info, infolen); in hkdf_expand() 103 const unsigned char *info, unsigned long infolen, in hkdf() argument 127 err = hkdf_expand(hash_idx, info, infolen, extracted, hashsize, out, outlen); in hkdf()
|
A D | hkdf_test.c | 42 unsigned char info[80]; in hkdf_test() 259 cases[i].info, cases[i].info_l, in hkdf_test()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | hkdf.c | 30 const unsigned char *info, size_t info_len, in mbedtls_hkdf() argument 41 info, info_len, okm, okm_len ); in mbedtls_hkdf() 80 size_t prk_len, const unsigned char *info, in mbedtls_hkdf_expand() argument 104 if( info == NULL ) in mbedtls_hkdf_expand() 106 info = (const unsigned char *) ""; in mbedtls_hkdf_expand() 156 ret = mbedtls_md_hmac_update( &ctx, info, info_len ); in mbedtls_hkdf_expand()
|
A D | pk.c | 138 if( info == NULL || ctx->pk_info != NULL ) in mbedtls_pk_setup() 141 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup() 144 ctx->pk_info = info; in mbedtls_pk_setup() 173 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup_opaque() 176 ctx->pk_info = info; in mbedtls_pk_setup_opaque() 195 const mbedtls_pk_info_t *info = &mbedtls_rsa_alt_info; in mbedtls_pk_setup_rsa_alt() local 201 if( ( ctx->pk_ctx = info->ctx_alloc_func() ) == NULL ) in mbedtls_pk_setup_rsa_alt() 204 ctx->pk_info = info; in mbedtls_pk_setup_rsa_alt() 263 if( info->rs_alloc_func == NULL || info->rs_free_func == NULL ) in pk_restart_setup() 266 if( ( ctx->rs_ctx = info->rs_alloc_func() ) == NULL ) in pk_restart_setup() [all …]
|
/optee_os-3.20.0/core/drivers/ |
A D | stm32_uart.c | 136 struct dt_node_info info = { }; in stm32_uart_init_from_dt_node() local 140 _fdt_fill_device_info(fdt, &info, node); in stm32_uart_init_from_dt_node() 142 if (info.status == DT_STATUS_DISABLED) in stm32_uart_init_from_dt_node() 145 assert(info.reg != DT_INFO_INVALID_REG && in stm32_uart_init_from_dt_node() 146 info.reg_size != DT_INFO_INVALID_REG_SIZE); in stm32_uart_init_from_dt_node() 153 pd->base.pa = info.reg; in stm32_uart_init_from_dt_node() 154 pd->secure = (info.status == DT_STATUS_OK_SEC); in stm32_uart_init_from_dt_node() 169 MEM_AREA_IO_NSEC, info.reg_size); in stm32_uart_init_from_dt_node()
|
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | pkcs11_token.c | 294 pad_str(info->slot_description, sizeof(info->slot_description)); in set_token_description() 336 set_token_description(&info); in entry_ck_slot_info() 338 pad_str(info.manufacturer_id, sizeof(info.manufacturer_id)); in entry_ck_slot_info() 391 pad_str(info.manufacturer_id, sizeof(info.manufacturer_id)); in entry_ck_token_info() 392 pad_str(info.model, sizeof(info.model)); in entry_ck_token_info() 399 TEE_MemMove(info.serial_number, sn, sizeof(info.serial_number)); in entry_ck_token_info() 400 pad_str(info.serial_number, sizeof(info.serial_number)); in entry_ck_token_info() 402 TEE_MemMove(info.label, token->db_main->label, sizeof(info.label)); in entry_ck_token_info() 408 TEE_MemMove(out->memref.buffer, &info, sizeof(info)); in entry_ck_token_info() 526 TEE_MemMove(out->memref.buffer, &info, sizeof(info)); in entry_ck_token_mecha_info() [all …]
|
/optee_os-3.20.0/lib/libutee/arch/arm/ |
A D | user_ta_entry.c | 43 struct dl_phdr_info info; member 55 static int _init_iterate_phdr_cb(struct dl_phdr_info *info, in _init_iterate_phdr_cb() argument 66 qe->info = *info; in _init_iterate_phdr_cb() 72 static void _get_fn_array(struct dl_phdr_info *info, Elf_Sword tag_a, in _get_fn_array() argument 81 for (i = 0; i < info->dlpi_phnum; i++) { in _get_fn_array() 82 phdr = info->dlpi_phdr + i; in _get_fn_array() 86 dyn = (Elf_Dyn *)(phdr->p_vaddr + info->dlpi_addr); in _get_fn_array() 94 info->dlpi_addr); in _get_fn_array() 119 _get_fn_array(&qe->info, DT_INIT_ARRAY, DT_INIT_ARRAYSZ, &fn, in __utee_call_elf_init_fn() 135 static int _fini_iterate_phdr_cb(struct dl_phdr_info *info, in _fini_iterate_phdr_cb() argument [all …]
|
/optee_os-3.20.0/core/drivers/pm/sam/ |
A D | at91_pm.c | 145 const struct wakeup_source_info *info; member 149 { .compatible = "atmel,sama5d2-gem", .info = &ws_info[0] }, 150 { .compatible = "atmel,at91rm9200-rtc", .info = &ws_info[1] }, 151 { .compatible = "atmel,sama5d3-udc", .info = &ws_info[2] }, 152 { .compatible = "atmel,at91rm9200-ohci", .info = &ws_info[2] }, 153 { .compatible = "usb-ohci", .info = &ws_info[2] }, 154 { .compatible = "atmel,at91sam9g45-ehci", .info = &ws_info[2] }, 155 { .compatible = "usb-ehci", .info = &ws_info[2] }, 156 { .compatible = "atmel,sama5d2-sdhci", .info = &ws_info[3] } 186 wsi = wsrc->info; in at91_pm_config_ws_ulp1()
|
/optee_os-3.20.0/core/drivers/bnxt/ |
A D | bnxt_fw.c | 179 uint32_t info; member 584 struct nitro_crash_addr_info *info = NULL; in bnxt_crash_config() local 594 if (!info) { in bnxt_crash_config() 601 info->signature = BNXT_CRASH_INFO_SIGNATURE; in bnxt_crash_config() 602 info->version = 0x01000000 | MAX_CRASH_ADDR_ITEM; in bnxt_crash_config() 605 item = &info->table[0]; in bnxt_crash_config() 606 item->info = 0; in bnxt_crash_config() 613 (const char *)info + sizeof(uint32_t), in bnxt_crash_config() 615 info->crc = crc; in bnxt_crash_config() 622 src = (uintptr_t)info; in bnxt_crash_config() [all …]
|
/optee_os-3.20.0/core/arch/riscv/ |
A D | riscv.mk | 92 platform-cflags-debug-info ?= -g3 93 platform-aflags-debug-info ?= -g 98 core-platform-cflags += $(platform-cflags-debug-info) 101 core-platform-aflags += $(platform-aflags-debug-info) 145 ta_rv32-platform-cflags += $(platform-cflags-debug-info) 152 ta_rv32-platform-aflags += $(platform-aflags-debug-info) 158 ta_rv32-platform-cxxflags += $(platform-cflags-debug-info) 181 ta_rv64-platform-cflags += $(platform-cflags-debug-info) 190 ta_rv64-platform-aflags += $(platform-aflags-debug-info) 195 ta_rv64-platform-cxxflags += $(platform-cflags-debug-info)
|
/optee_os-3.20.0/core/drivers/rstctrl/ |
A D | stm32_rstctrl.c | 208 struct dt_node_info info = { }; in stm32_rstctrl_provider_probe() local 212 _fdt_fill_device_info(fdt, &info, offs); in stm32_rstctrl_provider_probe() 214 assert(info.reg == RCC_BASE && in stm32_rstctrl_provider_probe() 215 info.reg_size != DT_INFO_INVALID_REG_SIZE); in stm32_rstctrl_provider_probe()
|
/optee_os-3.20.0/core/arch/arm/plat-totalcompute/ |
A D | conf.mk | 22 platform-cflags-debug-info = -gdwarf-2 23 platform-aflags-debug-info = -gdwarf-2
|
/optee_os-3.20.0/core/arch/arm/plat-corstone1000/ |
A D | conf.mk | 4 platform-cflags-debug-info = -gdwarf-2 5 platform-aflags-debug-info = -gdwarf-2
|
/optee_os-3.20.0/core/drivers/crypto/se050/core/ |
A D | storage.c | 30 len = o->info.dataSize; in crypto_storage_obj_del() 41 ret = o->pobj->fops->read(o->fh, o->info.dataPosition, data, &len); in crypto_storage_obj_del()
|
/optee_os-3.20.0/core/include/tee/ |
A D | tee_cryp_hkdf.h | 13 const uint8_t *info, size_t info_len, uint8_t *okm,
|