/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | asn1write.c | 41 if( *p - start < 1 ) in mbedtls_asn1_write_len() 50 if( *p - start < 2 ) in mbedtls_asn1_write_len() 60 if( *p - start < 3 ) in mbedtls_asn1_write_len() 71 if( *p - start < 4 ) in mbedtls_asn1_write_len() 85 if( *p - start < 5 ) in mbedtls_asn1_write_len() 103 if( *p - start < 1 ) in mbedtls_asn1_write_tag() 116 if( *p < start || (size_t)( *p - start ) < size ) in mbedtls_asn1_write_raw_buffer() 141 if( *p < start || (size_t)( *p - start ) < len ) in mbedtls_asn1_write_mpi() 152 if( *p - start < 1 ) in mbedtls_asn1_write_mpi() 222 if( *p - start < 1 ) in mbedtls_asn1_write_bool() [all …]
|
A D | x509_create.c | 253 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_oid( p, start, oid, in x509_write_name() 256 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_name() 257 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( p, start, in x509_write_name() 261 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_name() 262 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( p, start, in x509_write_name() 269 int mbedtls_x509_write_names( unsigned char **p, unsigned char *start, in mbedtls_x509_write_names() argument 278 MBEDTLS_ASN1_CHK_ADD( len, x509_write_name( p, start, cur ) ); in mbedtls_x509_write_names() 282 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in mbedtls_x509_write_names() 289 int mbedtls_x509_write_sig( unsigned char **p, unsigned char *start, in mbedtls_x509_write_sig() argument 296 if( *p < start || (size_t)( *p - start ) < size ) in mbedtls_x509_write_sig() [all …]
|
A D | pkwrite.c | 72 static int pk_write_rsa_pubkey( unsigned char **p, unsigned char *start, in pk_write_rsa_pubkey() argument 83 ( ret = mbedtls_asn1_write_mpi( p, start, &T ) ) < 0 ) in pk_write_rsa_pubkey() 89 ( ret = mbedtls_asn1_write_mpi( p, start, &T ) ) < 0 ) in pk_write_rsa_pubkey() 111 static int pk_write_ec_pubkey( unsigned char **p, unsigned char *start, in pk_write_ec_pubkey() argument 125 if( *p < start || (size_t)( *p - start ) < len ) in pk_write_ec_pubkey() 139 static int pk_write_ec_param( unsigned char **p, unsigned char *start, in pk_write_ec_param() argument 176 int mbedtls_pk_write_pubkey( unsigned char **p, unsigned char *start, in mbedtls_pk_write_pubkey() argument 184 PK_VALIDATE_RET( start != NULL ); in mbedtls_pk_write_pubkey() 203 if ( *p < start ) in mbedtls_pk_write_pubkey() 206 buffer_size = (size_t)( *p - start ); in mbedtls_pk_write_pubkey() [all …]
|
A D | timing.c | 52 LARGE_INTEGER start; member 66 struct timeval start; member 246 QueryPerformanceCounter( &t->start ); in mbedtls_timing_get_timer() 255 delta = (unsigned long)( ( now.QuadPart - t->start.QuadPart ) * 1000ul in mbedtls_timing_get_timer() 296 gettimeofday( &t->start, NULL ); in mbedtls_timing_get_timer() 304 delta = ( now.tv_sec - t->start.tv_sec ) * 1000ul in mbedtls_timing_get_timer() 305 + ( now.tv_usec - t->start.tv_usec ) / 1000; in mbedtls_timing_get_timer()
|
A D | ssl_ticket.c | 202 unsigned char *start, in mbedtls_ssl_ticket_write() argument 210 unsigned char *key_name = start; in mbedtls_ssl_ticket_write() 211 unsigned char *iv = start + TICKET_KEY_NAME_BYTES; in mbedtls_ssl_ticket_write() 223 MBEDTLS_SSL_CHK_BUF_PTR( start, end, TICKET_MIN_LEN ); in mbedtls_ssl_ticket_write() 373 if( current_time < session->start || in mbedtls_ssl_ticket_parse() 374 (uint32_t)( current_time - session->start ) > ctx->ticket_lifetime ) in mbedtls_ssl_ticket_parse()
|
A D | x509write_crt.c | 293 static int x509_write_time( unsigned char **p, unsigned char *start, in x509_write_time() argument 304 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_raw_buffer( p, start, in x509_write_time() 307 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_time() 308 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( p, start, in x509_write_time() 313 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_raw_buffer( p, start, in x509_write_time() 316 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_time() 317 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( p, start, in x509_write_time()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | asn1write.h | 58 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, 72 int mbedtls_asn1_write_tag( unsigned char **p, unsigned char *start, 88 int mbedtls_asn1_write_raw_buffer( unsigned char **p, unsigned char *start, 106 int mbedtls_asn1_write_mpi( unsigned char **p, unsigned char *start, 122 int mbedtls_asn1_write_null( unsigned char **p, unsigned char *start ); 138 int mbedtls_asn1_write_oid( unsigned char **p, unsigned char *start, 157 unsigned char *start, 174 int mbedtls_asn1_write_bool( unsigned char **p, unsigned char *start, 245 unsigned char *start, 298 int mbedtls_asn1_write_bitstring( unsigned char **p, unsigned char *start, [all …]
|
A D | x509.h | 359 int mbedtls_x509_write_extensions( unsigned char **p, unsigned char *start, 361 int mbedtls_x509_write_names( unsigned char **p, unsigned char *start, 363 int mbedtls_x509_write_sig( unsigned char **p, unsigned char *start,
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/set/ |
A D | der_encode_setof.c | 13 unsigned char *start; member 24 r = XMEMCMP(A->start, B->start, MIN(A->size, B->size)); in s_qsort_helper() 29 if (A->start[x]) { in s_qsort_helper() 35 if (B->start[x]) { in s_qsort_helper() 105 edges[x].start = ptr; in der_encode_setof() 136 XMEMCPY(out+y, edges[x].start, edges[x].size); in der_encode_setof()
|
/optee_os-3.20.0/core/arch/arm/include/kernel/ |
A D | tz_ssvce_pl310.h | 20 void arm_cl2_cleanbypa(vaddr_t pl310_base, paddr_t start, paddr_t end); 21 void arm_cl2_invbypa(vaddr_t pl310_base, paddr_t start, paddr_t end); 22 void arm_cl2_cleaninvbypa(vaddr_t pl310_base, paddr_t start, paddr_t end);
|
/optee_os-3.20.0/lib/libutils/isoc/newlib/ |
A D | strlen.c | 93 _CONST char *start = str; variable 101 return str - start; 119 return str - start;
|
A D | strnlen.c | 75 _CONST char *start = str; variable 80 return str - start;
|
/optee_os-3.20.0/core/kernel/ |
A D | thread.c | 112 CANARY_DIED(stack_tmp, start, n, canary); in thread_check_canaries() 121 CANARY_DIED(stack_abt, start, n, canary); in thread_check_canaries() 130 CANARY_DIED(stack_thread, start, n, canary); in thread_check_canaries() 174 vaddr_t __maybe_unused start = 0; in print_stack_limits() local 178 start = GET_STACK_TOP_SOFT(stack_tmp, n); in print_stack_limits() 183 start = GET_STACK_TOP_SOFT(stack_abt, n); in print_stack_limits() 314 *start = GET_STACK_TOP_HARD(stack_tmp, pos); in get_stack_limits() 316 *start = GET_STACK_TOP_SOFT(stack_tmp, pos); in get_stack_limits() 321 *start = GET_STACK_TOP_HARD(stack_abt, pos); in get_stack_limits() 331 *start = *end - STACK_THREAD_SIZE; in get_stack_limits() [all …]
|
/optee_os-3.20.0/core/include/kernel/ |
A D | thread.h | 223 bool get_stack_limits(vaddr_t *start, vaddr_t *end, bool hard); 225 static inline bool __nostackcheck get_stack_soft_limits(vaddr_t *start, in get_stack_soft_limits() argument 228 return get_stack_limits(start, end, false); in get_stack_soft_limits() 231 static inline bool __nostackcheck get_stack_hard_limits(vaddr_t *start, in get_stack_hard_limits() argument 234 return get_stack_limits(start, end, true); in get_stack_hard_limits()
|
A D | virtualization.h | 86 void virt_get_ta_ram(vaddr_t *start, vaddr_t *end); 102 virt_get_ta_ram(vaddr_t *start __unused, vaddr_t *end __unused) { } in virt_get_ta_ram()
|
/optee_os-3.20.0/core/lib/libfdt/ |
A D | fdt_wip.c | 51 static void fdt_nop_region_(void *start, int len) in fdt_nop_region_() argument 55 for (p = start; (char *)p < ((char *)start + len); p++) in fdt_nop_region_()
|
/optee_os-3.20.0/lib/libutils/ext/include/ |
A D | bitstring.h | 76 #define bit_nclear(name, start, stop) do { \ argument 78 register int _start = (start), _stop = (stop); \ 93 #define bit_nset(name, start, stop) do { \ argument 95 register int _start = (start), _stop = (stop); \
|
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | serializer.c | 22 args->start = in; in serialargs_init() 94 if ((char *)next_end > args->start + args->size) { in serialargs_get_ptr() 96 args->size, args->size - (args->next - args->start), size); in serialargs_get_ptr() 152 return args->next < args->start + args->size; in serialargs_remaining_bytes()
|
/optee_os-3.20.0/core/lib/zlib/ |
A D | inffast.h | 12 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
|
/optee_os-3.20.0/core/include/drivers/ |
A D | wdt.h | 36 void (*start)(struct wdt_chip *chip); member 63 wdt_chip->ops->start(wdt_chip); in watchdog_start()
|
/optee_os-3.20.0/core/drivers/wdt/ |
A D | watchdog.c | 12 if (!chip->ops->start || !chip->ops->ping || !chip->ops->set_timeout) in watchdog_register()
|
/optee_os-3.20.0/core/mm/ |
A D | core_mmu.c | 382 if (!core_is_buffer_outside(start[n].addr, start[n].size, in check_phys_mem_is_outside() 386 start[n].addr, start[n].size, in check_phys_mem_is_outside() 470 *start = discovered_nsec_ddr_start; in get_discovered_nsec_ddr() 495 return start != end; in core_mmu_nsec_ddr_is_defined() 581 if (start == end) { in verify_special_mem_areas() 586 for (mem = start; mem < end; mem++) in verify_special_mem_areas() 1174 size_t len = end - start; in mem_map_add_id_map() 1193 .pa = start, in mem_map_add_id_map() 1194 .va = start, in mem_map_add_id_map() 1358 .pa = start, in core_init_mmu_map() [all …]
|
/optee_os-3.20.0/scripts/ |
A D | print_tee_hash.py | 30 def hash_range(h, elf, start, end): argument 32 start_addr = resolve_symbol(elf, start)
|
/optee_os-3.20.0/lib/libunw/ |
A D | unwind_arm32.c | 122 struct unwind_idx *start = NULL; in find_index() local 130 start = (struct unwind_idx *)idx_start; in find_index() 138 item = &start[mid]; in find_index() 149 return &start[min]; in find_index()
|
/optee_os-3.20.0/lib/libutils/isoc/ |
A D | bget_malloc.c | 913 uintptr_t start = (uintptr_t)buf; in raw_malloc_add_pool() local 914 uintptr_t end = start + len; in raw_malloc_add_pool() 918 start = ROUNDUP(start, SizeQuant); in raw_malloc_add_pool() 921 if (start > end || (end - start) < min_len) { in raw_malloc_add_pool() 927 if (!ctx->pool_len && (end - start) < MALLOC_INITIAL_POOL_MIN_SIZE) { in raw_malloc_add_pool() 932 tag_asan_free((void *)start, end - start); in raw_malloc_add_pool() 933 bpool((void *)start, end - start, &ctx->poolset); in raw_malloc_add_pool() 938 ctx->pool[ctx->pool_len].buf = (void *)start; in raw_malloc_add_pool() 939 ctx->pool[ctx->pool_len].len = end - start; in raw_malloc_add_pool()
|