/optee_os/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() 136 if( *p < start || (size_t)( *p - start ) < len ) in mbedtls_asn1_write_mpi() 147 if( *p - start < 1 ) in mbedtls_asn1_write_mpi() 217 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 65 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 | 200 unsigned char *start, in mbedtls_ssl_ticket_write() argument 208 unsigned char *key_name = start; in mbedtls_ssl_ticket_write() 209 unsigned char *iv = start + TICKET_KEY_NAME_BYTES; in mbedtls_ssl_ticket_write() 221 MBEDTLS_SSL_CHK_BUF_PTR( start, end, TICKET_MIN_LEN ); in mbedtls_ssl_ticket_write() 372 if( current_time < session->start || in mbedtls_ssl_ticket_parse() 373 (uint32_t)( current_time - session->start ) > ctx->ticket_lifetime ) in mbedtls_ssl_ticket_parse()
|
A D | x509write_crt.c | 294 static int x509_write_time( unsigned char **p, unsigned char *start, in x509_write_time() argument 305 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_raw_buffer( p, start, in x509_write_time() 308 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_time() 309 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( p, start, in x509_write_time() 314 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_raw_buffer( p, start, in x509_write_time() 317 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, len ) ); in x509_write_time() 318 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( p, start, in x509_write_time()
|
/optee_os/out/arm/export-ta_arm32/host_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 …]
|
/optee_os/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 …]
|
/optee_os/out/arm/export-ta_arm64/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 …]
|
/optee_os/out/arm/export-ta_arm32/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 …]
|
/optee_os/out/arm/export-ta_arm64/host_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 …]
|
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/set/ |
A D | der_encode_setof.c | 20 unsigned char *start; member 31 r = XMEMCMP(A->start, B->start, MIN(A->size, B->size)); in _qsort_helper() 36 if (A->start[x]) { in _qsort_helper() 42 if (B->start[x]) { in _qsort_helper() 112 edges[x].start = ptr; in der_encode_setof() 143 XMEMCPY(out+y, edges[x].start, edges[x].size); in der_encode_setof()
|
/optee_os/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/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/scripts/ |
A D | sign_encrypt.py | 351 start, end = SHDR_SIZE, SHDR_SIZE + digest_len 352 digest = img[start:end] 354 start, end = end, SHDR_SIZE + digest_len + sig_len 355 signature = img[start:end] 358 start, end = end, end + 16 + 4 359 [uuid, ta_version] = struct.unpack('<16sI', img[start:end]) 396 h.update(img[start:end]) 399 start = end 401 h.update(img[start:end])
|
/optee_os/out/arm/export-ta_arm32/scripts/ |
A D | sign_encrypt.py | 351 start, end = SHDR_SIZE, SHDR_SIZE + digest_len 352 digest = img[start:end] 354 start, end = end, SHDR_SIZE + digest_len + sig_len 355 signature = img[start:end] 358 start, end = end, end + 16 + 4 359 [uuid, ta_version] = struct.unpack('<16sI', img[start:end]) 396 h.update(img[start:end]) 399 start = end 401 h.update(img[start:end])
|
/optee_os/out/arm/export-ta_arm64/scripts/ |
A D | sign_encrypt.py | 351 start, end = SHDR_SIZE, SHDR_SIZE + digest_len 352 digest = img[start:end] 354 start, end = end, SHDR_SIZE + digest_len + sig_len 355 signature = img[start:end] 358 start, end = end, end + 16 + 4 359 [uuid, ta_version] = struct.unpack('<16sI', img[start:end]) 396 h.update(img[start:end]) 399 start = end 401 h.update(img[start:end])
|
/optee_os/out/arm/export-ta_arm32/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/out/arm/export-ta_arm64/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/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/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/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/core/arch/arm/mm/ |
A D | core_mmu.c | 344 if (!core_is_buffer_outside(start[n].addr, start[n].size, in check_phys_mem_is_outside() 348 start[n].addr, start[n].size, in check_phys_mem_is_outside() 429 *start = discovered_nsec_ddr_start; in get_discovered_nsec_ddr() 454 return start != end; in core_mmu_nsec_ddr_is_defined() 517 if (start == end) { in verify_special_mem_areas() 522 for (mem = start; mem < end; mem++) in verify_special_mem_areas() 1065 size_t len = end - start; in mem_map_add_id_map() 1084 .pa = start, in mem_map_add_id_map() 1085 .va = start, in mem_map_add_id_map() 1249 .pa = start, in core_init_mmu_map() [all …]
|
/optee_os/core/include/kernel/ |
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()
|