Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 81) sorted by relevance

1234

/net-tools-3.6.0/mbedtls-2.4.0/tests/suites/
Dtest_suite_hmac_drbg.misc.data21 HMAC_DRBG write/update seed file SHA-1
25 HMAC_DRBG write/update seed file SHA-1
27 hmac_drbg_seed_file:MBEDTLS_MD_SHA1:"no_such_dir/file":MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR
29 HMAC_DRBG write/update seed file SHA-224
33 HMAC_DRBG write/update seed file SHA-224
35 hmac_drbg_seed_file:MBEDTLS_MD_SHA224:"no_such_dir/file":MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR
37 HMAC_DRBG write/update seed file SHA-256
41 HMAC_DRBG write/update seed file SHA-256
43 hmac_drbg_seed_file:MBEDTLS_MD_SHA256:"no_such_dir/file":MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR
45 HMAC_DRBG write/update seed file SHA-384
[all …]
Dtest_suite_debug.function10 void string_debug(void *data, int level, const char *file, int line, const char *str)
16 memcpy( p, file, strlen( file ) );
17 p += strlen( file );
50 void debug_print_msg_threshold( int threshold, int level, char *file, int line,
67 mbedtls_debug_print_msg( &ssl, level, file, line,
79 void mbedtls_debug_print_ret( char *file, int line, char *text, int value,
95 mbedtls_debug_print_ret( &ssl, 0, file, line, text, value);
106 void mbedtls_debug_print_buf( char *file, int line, char *text,
127 mbedtls_debug_print_buf( &ssl, 0, file, line, text, data, data_len );
138 void mbedtls_debug_print_crt( char *crt_file, char *file, int line,
[all …]
Dmain_test.function129 " files... One or more test data file. If no file is specified\n" \
260 FILE *file;
310 /* Not an option, therefore treat all further arguments as the file
337 file = fopen( test_filename, "r" );
338 if( file == NULL )
340 mbedtls_fprintf( stderr, "Failed to open test file: %s\n",
345 while( !feof( file ) )
355 if( ( ret = get_line( file, buf, sizeof(buf) ) ) != 0 )
366 if( ( ret = get_line( file, buf, sizeof(buf) ) ) != 0 )
393 if( ( ret = get_line( file, buf, sizeof(buf) ) ) != 0 )
[all …]
Dtest_suite_entropy.data4 Entropy write/update seed file
7 Entropy write/update seed file
8 entropy_seed_file:"no_such_dir/file":MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR
Dtest_suite_dhm.data10 Diffie-Hallman load parameters from file
13 Diffie-Hallman load parameters from file
/net-tools-3.6.0/mbedtls-2.4.0/library/
Ddebug.c64 const char *file, int line, in debug_send_line() argument
75 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, idstr ); in debug_send_line()
77 ssl->conf->f_dbg( ssl->conf->p_dbg, level, file, line, str ); in debug_send_line()
82 const char *file, int line, in mbedtls_debug_print_msg() argument
115 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_msg()
119 const char *file, int line, in mbedtls_debug_print_ret() argument
138 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_ret()
142 const char *file, int line, const char *text, in mbedtls_debug_print_buf() argument
155 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
169 debug_send_line( ssl, level, file, line, str ); in mbedtls_debug_print_buf()
[all …]
Dplatform.c227 FILE *file; in mbedtls_platform_std_nv_seed_read() local
230 if( ( file = fopen( MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "rb" ) ) == NULL ) in mbedtls_platform_std_nv_seed_read()
233 if( ( n = fread( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_read()
235 fclose( file ); in mbedtls_platform_std_nv_seed_read()
239 fclose( file ); in mbedtls_platform_std_nv_seed_read()
245 FILE *file; in mbedtls_platform_std_nv_seed_write() local
248 if( ( file = fopen( MBEDTLS_PLATFORM_STD_NV_SEED_FILE, "w" ) ) == NULL ) in mbedtls_platform_std_nv_seed_write()
251 if( ( n = fwrite( buf, 1, buf_len, file ) ) != buf_len ) in mbedtls_platform_std_nv_seed_write()
253 fclose( file ); in mbedtls_platform_std_nv_seed_write()
257 fclose( file ); in mbedtls_platform_std_nv_seed_write()
Dentropy_poll.c153 FILE *file; in mbedtls_platform_entropy_poll() local
175 file = fopen( "/dev/urandom", "rb" ); in mbedtls_platform_entropy_poll()
176 if( file == NULL ) in mbedtls_platform_entropy_poll()
179 read_len = fread( output, 1, len, file ); in mbedtls_platform_entropy_poll()
182 fclose( file ); in mbedtls_platform_entropy_poll()
186 fclose( file ); in mbedtls_platform_entropy_poll()
/net-tools-3.6.0/tinydtls-0.8.2/sha2/
Dsha2test.pl152 foreach $file (@FILES) {
153 $dir = $file;
154 if ($file !~ /\//) {
160 open(FILE, "<" . $file) ||
161 usage("Unable to open test vector information file '$file' for reading: $!\n");
162 $vec = { desc => "", file => "", sha256 => "", sha384 => "", sha512 => "" };
174 $vec->{file} = $data;
191 "file format at line $line of file '$file'\n");
199 "format at line $line of file '$file'\n");
206 $vec->{file} = $data;
[all …]
Dsha2prog.c53 char *av, *file = (char*)0; in main() local
86 file = argv[ac++]; in main()
90 if ((IN = fopen(file, "r")) == NULL) { in main()
107 if (file) { in main()
114 printf("SHA-256 (%s) = ", file); in main()
120 printf("SHA-384 (%s) = ", file); in main()
126 printf("SHA-512 (%s) = ", file); in main()
/net-tools-3.6.0/mbedtls-2.4.0/scripts/
Dmalloc-init.pl46 while (my $file = shift @ARGV)
48 open my $fh, "<", $file or die "read $file failed: $!\n";
53 push @bad, "$file:$line:$name" if $name;
57 push @bad, "$file:$.:???" unless /return mbedtls_malloc/;
62 push @bad, "$file:$line:$name";
/net-tools-3.6.0/tinydtls-0.8.2/
Ddtls_config.h.in12 /* Define to 1 if you have the <arpa/inet.h> header file. */
15 /* Define to 1 if you have the <assert.h> header file. */
18 /* Define to 1 if you have the <fcntl.h> header file. */
24 /* Define to 1 if you have the <inttypes.h> header file. */
31 /* Define to 1 if you have the <memory.h> header file. */
37 /* Define to 1 if you have the <netdb.h> header file. */
40 /* Define to 1 if you have the <netinet/in.h> header file. */
52 /* Define to 1 if you have the <stddef.h> header file. */
55 /* Define to 1 if you have the <stdint.h> header file. */
58 /* Define to 1 if you have the <stdlib.h> header file. */
[all …]
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/
Ddebug.h115 const char *file, int line,
134 const char *file, int line,
155 const char *file, int line, const char *text,
176 const char *file, int line,
198 const char *file, int line,
219 const char *file, int line,
/net-tools-3.6.0/virtual-hub/src/
Dgraphs.c44 int read_lines(char *file) in read_lines() argument
50 fd = fopen(file, "r"); in read_lines()
73 float **read_csv(char *file) in read_csv() argument
75 int file_lines = read_lines(file); in read_csv()
81 fd = fopen(file, "r"); in read_csv()
Dgraphs.h13 int read_lines(char *file);
15 float **read_csv(char *file);
/net-tools-3.6.0/mbedtls-2.4.0/tests/scripts/
Dgen_gcm_encrypt.pl8 my $file = shift;
10 open(TEST_DATA, "$file") or die "Opening test cases '$file': $!";
Dgen_pkcs1_v21_sign_verify.pl6 my $file = shift;
8 open(TEST_DATA, "$file") or die "Opening test cases '$file': $!";
Dgen_gcm_decrypt.pl8 my $file = shift;
10 open(TEST_DATA, "$file") or die "Opening test cases '$file': $!";
Dgen_ctr_drbg.pl9 my $file = shift;
11 open(TEST_DATA, "$file") or die "Opening test cases '$file': $!";
Dcheck-doxy-blocks.pl43 for my $file (<$dirname/*.[ch]>) {
44 check_file($file);
/net-tools-3.6.0/mbedtls-2.4.0/programs/pkey/
Dgen_key.c57 FILE *file; in dev_random_entropy_poll() local
64 file = fopen( "/dev/random", "rb" ); in dev_random_entropy_poll()
65 if( file == NULL ) in dev_random_entropy_poll()
71 ret = fread( p, 1, left, file ); in dev_random_entropy_poll()
72 if( ret == 0 && ferror( file ) ) in dev_random_entropy_poll()
74 fclose( file ); in dev_random_entropy_poll()
82 fclose( file ); in dev_random_entropy_poll()
/net-tools-3.6.0/tinydtls-0.8.2/ecc/
Dtest_helper.c71 test_assert(const char *file, int lineno) in test_assert() argument
73 printf("Assertion failed: file %s, line %d.\n", file, lineno); in test_assert()
/net-tools-3.6.0/virtual-hub/
DREADME.md21 To run the virtual-hub you will need to pass an csv file
27 The csv file represents a graph (conection matrix). It enables the
29 There is an example file in virtual-hub's directory for 3 nodes full
57 from the file refers to the node with `QEMU_PIPE_ID` defined with 1. In the
58 same way the second line and column from the file refers to the node with
/net-tools-3.6.0/libcoap/include/coap/
Dcoap.h.in2 * coap.h -- main header file for CoAP stack of libcoap
7 * This file is part of the CoAP library libcoap. Please see README for terms
28 /* Define the version of libcoap this file belongs to. */
/net-tools-3.6.0/tinydtls-0.8.2/doc/
DDoxyfile.in3 # This file describes the settings to be used by the documentation system
17 # This tag specifies the encoding used for all characters in the config file
48 # otherwise cause performance problems for the file system.
67 # the file and class documentation (similar to JavaDoc).
86 # "The $name file" "is" "provides" "specifies" "contains"
105 # path before files name in the file list and in the header files. If set
106 # to NO the shortest path that makes the file name unique will be used.
113 # the path. The tag can be used to show relative paths in the file list.
121 # the reader which header file to include in order to use a class.
122 # If left blank only the name of the header file containing the class
[all …]

1234