/net-tools-3.7.0/mbedtls-2.4.0/programs/util/ |
D | strerror.c | 56 long int val; in main() local 65 val = strtol( argv[1], &end, 10 ); in main() 68 val = strtol( argv[1], &end, 16 ); in main() 75 if( val > 0 ) in main() 76 val = -val; in main() 78 if( val != 0 ) in main() 81 mbedtls_strerror( val, error_buf, 200 ); in main() 82 mbedtls_printf("Last error was: -0x%04x - %s\n\n", (int) -val, error_buf ); in main() 90 return( val ); in main()
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/scripts/ |
D | gen_gcm_decrypt.pl | 15 my $val = ""; 20 ($val) = ($line =~ /\[$name\s\=\s(\w+)\]/); 24 return $val; 30 my $val = ""; 39 ($val) = ($line =~ /^$name = (\w+)/); 41 return $val; 47 my $val = "FAIL"; 56 ($val) = ($line =~ /^$name = (\w+)/) if ($line =~ /=/); 58 return $val;
|
D | gen_gcm_encrypt.pl | 15 my $val = ""; 20 ($val) = ($line =~ /\[$name\s\=\s(\w+)\]/); 24 return $val; 30 my $val = ""; 39 ($val) = ($line =~ /^$name = (\w+)/); 41 return $val;
|
D | gen_ctr_drbg.pl | 16 my $val = ""; 19 ($val) = ($line =~ /\[$name\s\=\s(\w+)\]/); 21 return $val; 27 my $val = ""; 36 ($val) = ($line =~ /^$name = (\w+)/); 38 return $val;
|
D | gen_pkcs1_v21_sign_verify.pl | 14 my $val = ""; 25 $val .= $line; 28 $val =~ s/[ \r\n]//g; 30 return $val;
|
/net-tools-3.7.0/libcoap/src/ |
D | encode.c | 34 coap_encode_var_bytes(unsigned char *buf, unsigned int val) { in coap_encode_var_bytes() argument 37 for (n = 0, i = val; i && n < sizeof(val); ++n) in coap_encode_var_bytes() 42 buf[i] = val & 0xff; in coap_encode_var_bytes() 43 val >>= 8; in coap_encode_var_bytes()
|
D | coap_time.c | 46 #define SHR_FP(val,frac) (((val) + (1 << ((frac) - 1))) >> (frac)) argument
|
D | option.c | 385 const unsigned char *val, size_t length) { in coap_opt_encode() argument 404 if (val) /* better be safe here */ in coap_opt_encode() 405 memcpy(opt, val, length); in coap_opt_encode()
|
/net-tools-3.7.0/mbedtls-2.4.0/library/ |
D | asn1write.c | 230 int mbedtls_asn1_write_int( unsigned char **p, unsigned char *start, int val ) in mbedtls_asn1_write_int() argument 243 *--(*p) = val; in mbedtls_asn1_write_int() 245 if( val > 0 && **p & 0x80 ) in mbedtls_asn1_write_int() 333 const unsigned char *val, in mbedtls_asn1_store_named_data() argument 357 cur->val.len = val_len; in mbedtls_asn1_store_named_data() 358 cur->val.p = mbedtls_calloc( 1, val_len ); in mbedtls_asn1_store_named_data() 359 if( cur->val.p == NULL ) in mbedtls_asn1_store_named_data() 369 else if( cur->val.len < val_len ) in mbedtls_asn1_store_named_data() 380 mbedtls_free( cur->val.p ); in mbedtls_asn1_store_named_data() 381 cur->val.p = p; in mbedtls_asn1_store_named_data() [all …]
|
D | x509_create.c | 167 int critical, const unsigned char *val, size_t val_len ) in mbedtls_x509_set_extension() argument 177 cur->val.p[0] = critical; in mbedtls_x509_set_extension() 178 memcpy( cur->val.p + 1, val, val_len ); in mbedtls_x509_set_extension() 244 cur->val.p, cur->val.len ) ); in mbedtls_x509_write_names() 292 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_raw_buffer( p, start, ext->val.p + 1, in x509_write_extension() 293 ext->val.len - 1 ) ); in x509_write_extension() 294 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( p, start, ext->val.len - 1 ) ); in x509_write_extension() 297 if( ext->val.p[0] != 0 ) in x509_write_extension()
|
D | asn1parse.c | 129 int *val ) in mbedtls_asn1_get_bool() argument 140 *val = ( **p != 0 ) ? 1 : 0; in mbedtls_asn1_get_bool() 148 int *val ) in mbedtls_asn1_get_int() argument 159 *val = 0; in mbedtls_asn1_get_int() 163 *val = ( *val << 8 ) | **p; in mbedtls_asn1_get_int() 359 mbedtls_free( cur->val.p ); in mbedtls_asn1_free_named_data()
|
D | x509.c | 83 #define CHECK_RANGE(min, max, val) if( val < min || val > max ){ return( ret ); } argument 363 mbedtls_x509_buf *val; in x509_get_attr_type_value() local 393 val = &cur->val; in x509_get_attr_type_value() 394 val->tag = *(*p)++; in x509_get_attr_type_value() 396 if( ( ret = mbedtls_asn1_get_len( p, end, &val->len ) ) != 0 ) in x509_get_attr_type_value() 399 val->p = *p; in x509_get_attr_type_value() 400 *p += val->len; in x509_get_attr_type_value() 744 for( i = 0; i < name->val.len; i++ ) in mbedtls_x509_dn_gets() 749 c = name->val.p[i]; in mbedtls_x509_dn_gets()
|
D | havege.c | 219 int val; in mbedtls_havege_random() local 233 val = hs->pool[hs->offset[0]++]; in mbedtls_havege_random() 234 val ^= hs->pool[hs->offset[1]++]; in mbedtls_havege_random() 236 memcpy( p, &val, use_len ); in mbedtls_havege_random()
|
D | timing.c | 245 unsigned long mbedtls_timing_get_timer( struct mbedtls_timing_hr_time *val, int reset ) in mbedtls_timing_get_timer() argument 249 struct _hr_time *t = (struct _hr_time *) val; in mbedtls_timing_get_timer() 286 unsigned long mbedtls_timing_get_timer( struct mbedtls_timing_hr_time *val, int reset ) in mbedtls_timing_get_timer() argument 290 struct _hr_time *t = (struct _hr_time *) val; in mbedtls_timing_get_timer()
|
D | x509write_csr.c | 82 const unsigned char *val, size_t val_len ) in mbedtls_x509write_csr_set_extension() argument 85 0, val, val_len ); in mbedtls_x509write_csr_set_extension()
|
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/ |
D | asn1.h | 153 mbedtls_asn1_buf val; /**< The named value. */ member 203 int *val ); 217 int *val );
|
D | asn1write.h | 152 int mbedtls_asn1_write_int( unsigned char **p, unsigned char *start, int val ); 232 const unsigned char *val,
|
D | timing.h | 77 unsigned long mbedtls_timing_get_timer( struct mbedtls_timing_hr_time *val, int reset );
|
D | x509_csr.h | 236 const unsigned char *val, size_t val_len );
|
/net-tools-3.7.0/libcoap/include/coap/ |
D | option.h | 354 const unsigned char *val, 373 #define COAP_OPT_SETDELTA(opt,val) \ argument 374 coap_opt_encode((opt), COAP_MAX_PDU_SIZE, (val), NULL, 0)
|
D | utlist.h | 440 #define LL_SEARCH_SCALAR(head,out,field,val) \ argument 441 LL_SEARCH_SCALAR2(head,out,field,val,next) 443 #define LL_SEARCH_SCALAR2(head,out,field,val,next) \ argument 446 if ((out)->field == (val)) break; \ 702 #define CDL_SEARCH_SCALAR(head,out,field,val) \ argument 703 CDL_SEARCH_SCALAR2(head,out,field,val,next) 705 #define CDL_SEARCH_SCALAR2(head,out,field,val,next) \ argument 708 if ((out)->field == (val)) break; \
|
D | encode.h | 50 unsigned int coap_encode_var_bytes(unsigned char *buf, unsigned int val);
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_debug.function | 175 mbedtls_mpi val; 179 mbedtls_mpi_init( &val ); 185 TEST_ASSERT( mbedtls_mpi_read_string( &val, radix, value ) == 0 ); 189 mbedtls_debug_print_mpi( &ssl, 0, file, line, prefix, &val); 194 mbedtls_mpi_free( &val );
|
/net-tools-3.7.0/tinydtls-0.8.2/ |
D | utlist.h | 367 #define LL_SEARCH_SCALAR(head,out,field,val) \ argument 370 if ((out)->field == (val)) break; \ 475 #define CDL_SEARCH_SCALAR(head,out,field,val) \ argument 478 if ((out)->field == (val)) break; \
|
/net-tools-3.7.0/ |
D | echo-server.c | 96 int ret, val = 1; in bind_device() local 107 setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &val, sizeof(val)); in bind_device()
|