Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 12 of 12) sorted by relevance

/net-tools-latest/libcoap/examples/
Dtiny.c116 id = rand() & INT_MAX; in main()
134 if (! (pdu = make_pdu( rand() & 0xfff ) ) ) in main()
/net-tools-latest/tinydtls-0.8.2/ecc/
Dtest_helper.c58 secret[i] = rand(); in ecc_setRandom()
/net-tools-latest/tinydtls-0.8.2/
Dprng.h35 *buf++ = rand() & 0xFF; in dtls_prng()
Dcrypto.c452 uint32_t rand[8]; in dtls_ecdsa_create_sig_hash() local
457 dtls_prng((unsigned char *)rand, key_size); in dtls_ecdsa_create_sig_hash()
458 ret = ecc_ecdsa_sign(priv, hash, rand, point_r, point_s); in dtls_ecdsa_create_sig_hash()
/net-tools-latest/libcoap/include/coap/
Dprng.h34 *buf++ = rand() & 0xFF; in coap_prng_impl()
/net-tools-latest/virtual-hub/src/
Dgraphs.c15 float random_number = ((float)rand()) / ((float)RAND_MAX); in random_nodes()
/net-tools-latest/mbedtls-2.4.0/programs/test/
Dudp_proxy.c343 rand() % opt.duplicate == 0 ) in send_packet()
433 rand() % opt.drop == 0 ) ) in handle_message()
446 rand() % opt.delay == 0 ) ) in handle_message()
Dbenchmark.c206 rnd = rand(); in myrand()
/net-tools-latest/mbedtls-2.4.0/tests/suites/
Dhelpers.function256 * This function just returns data from rand().
273 output[i] = rand();
314 * After the buffer is empty it will return rand();
/net-tools-latest/mbedtls-2.4.0/yotta/data/example-benchmark/
Dmain.cpp308 rnd = rand(); in myrand()
/net-tools-latest/mbedtls-2.4.0/library/
Drsa.c1596 output[i] = rand(); in myrand()
/net-tools-latest/mbedtls-2.4.0/
DChangeLog822 * On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
1252 * On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
1780 * Removed dependency on rand() in rsa_pkcs1_encrypt().