Home
last modified time | relevance | path

Searched refs:hs (Results 1 – 8 of 8) sorted by relevance

/net-tools-3.7.0/mbedtls-2.4.0/library/
Dhavege.c158 hs->pool[n % MBEDTLS_HAVEGE_COLLECT_SIZE] ^= RES[i];
163 static void havege_fill( mbedtls_havege_state *hs ) in havege_fill() argument
170 WALK = hs->WALK; in havege_fill()
171 PT1 = hs->PT1; in havege_fill()
172 PT2 = hs->PT2; in havege_fill()
189 hs->PT1 = PT1; in havege_fill()
190 hs->PT2 = PT2; in havege_fill()
192 hs->offset[0] = 0; in havege_fill()
193 hs->offset[1] = MBEDTLS_HAVEGE_COLLECT_SIZE / 2; in havege_fill()
199 void mbedtls_havege_init( mbedtls_havege_state *hs ) in mbedtls_havege_init() argument
[all …]
Dentropy_poll.c233 mbedtls_havege_state *hs = (mbedtls_havege_state *) data; in mbedtls_havege_poll() local
236 if( mbedtls_havege_random( hs, output, len ) != 0 ) in mbedtls_havege_poll()
Dssl_tls.c274 size_t nb, hs; in tls1_prf() local
288 hs = ( slen + 1 ) / 2; in tls1_prf()
290 S2 = secret + slen - hs; in tls1_prf()
306 mbedtls_md_hmac_starts( &md_ctx, S1, hs ); in tls1_prf()
337 mbedtls_md_hmac_starts( &md_ctx, S2, hs ); in tls1_prf()
/net-tools-3.7.0/mbedtls-2.4.0/programs/random/
Dgen_random_havege.c55 mbedtls_havege_state hs; in main() local
70 mbedtls_havege_init( &hs ); in main()
76 if( mbedtls_havege_random( &hs, buf, sizeof( buf ) ) != 0 ) in main()
97 mbedtls_havege_free( &hs ); in main()
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/
Dhavege.h50 void mbedtls_havege_init( mbedtls_havege_state *hs );
57 void mbedtls_havege_free( mbedtls_havege_state *hs );
/net-tools-3.7.0/mbedtls-2.4.0/programs/test/
Dbenchmark.c559 mbedtls_havege_state hs; in main() local
560 mbedtls_havege_init( &hs ); in main()
561 TIME_AND_TSC( "HAVEGE", mbedtls_havege_random( &hs, buf, BUFSIZE ) ); in main()
562 mbedtls_havege_free( &hs ); in main()
/net-tools-3.7.0/mbedtls-2.4.0/yotta/data/example-benchmark/
Dmain.cpp605 mbedtls_havege_state hs; in benchmark() local
606 mbedtls_havege_init( &hs ); in benchmark()
607 TIME_AND_TSC( "HAVEGE", mbedtls_havege_random( &hs, buf, BUFSIZE ) ); in benchmark()
608 mbedtls_havege_free( &hs ); in benchmark()
/net-tools-3.7.0/tinydtls-0.8.2/
Dconfigure862 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)