Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 71) sorted by relevance

123

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dasn1write.c41 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 Dx509_create.c253 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 Dpkwrite.c72 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 Dtiming.c52 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 Dssl_ticket.c202 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 Dx509write_crt.c293 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 Dasn1write.h58 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 Dx509.h359 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 Dder_encode_setof.c13 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 Dtz_ssvce_pl310.h20 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 Dstrlen.c93 _CONST char *start = str; variable
101 return str - start;
119 return str - start;
A Dstrnlen.c75 _CONST char *start = str; variable
80 return str - start;
/optee_os-3.20.0/core/kernel/
A Dthread.c112 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 Dthread.h223 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 Dvirtualization.h86 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 Dfdt_wip.c51 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 Dbitstring.h76 #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 Dserializer.c22 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 Dinffast.h12 void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start));
/optee_os-3.20.0/core/include/drivers/
A Dwdt.h36 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 Dwatchdog.c12 if (!chip->ops->start || !chip->ops->ping || !chip->ops->set_timeout) in watchdog_register()
/optee_os-3.20.0/core/mm/
A Dcore_mmu.c382 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 Dprint_tee_hash.py30 def hash_range(h, elf, start, end): argument
32 start_addr = resolve_symbol(elf, start)
/optee_os-3.20.0/lib/libunw/
A Dunwind_arm32.c122 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 Dbget_malloc.c913 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()

Completed in 45 milliseconds

123