Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 47) sorted by relevance

12

/net-tools-2.7.6/
Dtcptest.py21 import time
32 print("%s: %s" % (time.asctime(), msg))
57 time.sleep(random.random())
69 time_before_send = time.time()
102 delta = time.time() - time_before_send
/net-tools-2.7.6/tinydtls-0.8.2/sha2/
Dsha2speed.c49 void printspeed(char *caption, unsigned long bytes, double time) { in printspeed() argument
51 printf("%s %.4f sec (%.3f GBps)\n", caption, time, (double)bytes/1073741824UL/time); in printspeed()
53 printf("%s %.4f (%.3f MBps)\n", caption, time, (double)bytes/1048576/time); in printspeed()
55 printf("%s %.4f (%.3f KBps)\n", caption, time, (double)bytes/1024/time); in printspeed()
57 printf("%s %.4f (%f Bps)\n", caption, time, (double)bytes/time); in printspeed()
DREADME55 the fun of it during my spare time. It is probably not the most
67 line at compile time if your compiler supports such things. For
92 need to define this either in sha.h or at compile time.
235 Please don't send support questions. I don't have the time to answer and
/net-tools-2.7.6/mbedtls-2.4.0/library/
Dx509.c493 static int x509_date_is_valid(const mbedtls_x509_time *time) in x509_date_is_valid() argument
497 CHECK_RANGE( 0, 9999, time->year ); in x509_date_is_valid()
498 CHECK_RANGE( 0, 23, time->hour ); in x509_date_is_valid()
499 CHECK_RANGE( 0, 59, time->min ); in x509_date_is_valid()
500 CHECK_RANGE( 0, 59, time->sec ); in x509_date_is_valid()
502 switch( time->mon ) in x509_date_is_valid()
505 CHECK_RANGE( 1, 31, time->day ); in x509_date_is_valid()
508 CHECK_RANGE( 1, 30, time->day ); in x509_date_is_valid()
511 CHECK_RANGE( 1, 28 + (time->year % 4 == 0), time->day ); in x509_date_is_valid()
526 mbedtls_x509_time *time ) in mbedtls_x509_get_time() argument
[all …]
Dx509write_crt.c267 const char *time, size_t size ) in x509_write_time() argument
275 if( time[0] == '2' && time[1] == '0' && time [2] < '5' ) in x509_write_time()
278 (const unsigned char *) time + 2, in x509_write_time()
286 (const unsigned char *) time, in x509_write_time()
Dssl_cookie.c134 const unsigned char time[4], in ssl_cookie_hmac()
144 mbedtls_md_hmac_update( hmac_ctx, time, 4 ) != 0 || in ssl_cookie_hmac()
Dssl_cache.c141 mbedtls_time_t t = time( NULL ), oldest = 0; in mbedtls_ssl_cache_set()
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Dplatform_time.h59 extern mbedtls_time_t (*mbedtls_time)( mbedtls_time_t* time );
68 int mbedtls_platform_set_time( mbedtls_time_t (*time_func)( mbedtls_time_t* time ) );
73 #define mbedtls_time time
Dx509.h254 int mbedtls_x509_time_is_past( const mbedtls_x509_time *time );
268 int mbedtls_x509_time_is_future( const mbedtls_x509_time *time );
297 mbedtls_x509_time *time );
Dplatform.h75 #define MBEDTLS_PLATFORM_STD_TIME time /**< Default time to use */
/net-tools-2.7.6/mbedtls-2.4.0/programs/random/
Dgen_random_havege.c72 t = time( NULL ); in main()
91 if( t == time( NULL ) ) in main()
/net-tools-2.7.6/mbedtls-2.4.0/tests/suites/
Dtest_suite_x509parse.function599 mbedtls_x509_time time;
604 memset( &time, 0x00, sizeof( time ) );
614 TEST_ASSERT( mbedtls_x509_get_time( &start, end, &time ) == ret );
617 TEST_ASSERT( year == time.year );
618 TEST_ASSERT( mon == time.mon );
619 TEST_ASSERT( day == time.day );
620 TEST_ASSERT( hour == time.hour );
621 TEST_ASSERT( min == time.min );
622 TEST_ASSERT( sec == time.sec );
/net-tools-2.7.6/tinydtls-0.8.2/
Ddtls_time.c56 dtls_clock_offset = time(NULL); in dtls_clock_init()
Ddebug.c218 if (print_timestamp(timebuf,sizeof(timebuf), time(NULL))) in dsrv_log()
300 if (print_timestamp(timebuf, sizeof(timebuf), time(NULL))) in dtls_dsrv_hexdump_log()
Dconfigure.in87 AC_CHECK_HEADERS([sys/time.h time.h])
Ddtls_config.h.in85 /* Define to 1 if you have the <sys/time.h> header file. */
91 /* Define to 1 if you have the <time.h> header file. */
/net-tools-2.7.6/docker/
Dgptp.cfg32 # Run time options
/net-tools-2.7.6/mbedtls-2.4.0/programs/test/
Dudp_proxy.c40 #define mbedtls_time time
494 opt.seed = (unsigned int) time( NULL ); in main()
/net-tools-2.7.6/tinydtls-0.8.2/ecc/
Dtestecc.c217 srand(time(NULL)); in main()
/net-tools-2.7.6/mbedtls-2.4.0/programs/ssl/
Dssl_client1.c33 #define mbedtls_time time
Dssl_server.c33 #define mbedtls_time time
/net-tools-2.7.6/libcoap/
DTODO9 Minor -> Things that are nice to have, but they are not time critical
/net-tools-2.7.6/mbedtls-2.4.0/yotta/data/example-hashing/
DREADME.md31 4. Build mbedtls and the examples. This may take a long time if this is your first compilation:
/net-tools-2.7.6/mbedtls-2.4.0/yotta/data/example-authcrypt/
DREADME.md31 4. Build mbedtls and the examples. This may take a long time if this is your first compilation:
/net-tools-2.7.6/mbedtls-2.4.0/yotta/data/example-selftest/
DREADME.md31 4. Build mbedtls and the examples. This may take a long time if this is your first compilation:

12