Home
last modified time | relevance | path

Searched refs:rnd (Results 1 – 9 of 9) sorted by relevance

/AliOS-Things-master/components/mbedtls/platform/yoc/
A Dctr_drbg.c24 static uint32_t rnd = 0x12345; in _tls_random()
26 random = rnd * 0xFFFF777; in _tls_random()
27 rnd = random; in _tls_random()
33 random = rnd * 0xFFFF777; in _tls_random()
34 rnd = random; in _tls_random()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/crypto/
A Dtls_polarssl.c340 unsigned char *rnd; in tls_connection_prf() local
342 rnd = (unsigned char *)os_zalloc(64); in tls_connection_prf()
343 if(!rnd){ in tls_connection_prf()
348 os_memcpy(rnd, conn->client_random, 32); in tls_connection_prf()
349 os_memcpy(rnd + 32, conn->server_random, 32); in tls_connection_prf()
358 os_free(rnd, 0); in tls_connection_prf()
923 unsigned char *rnd; in tls_connection_prf() local
925 rnd = (unsigned char *)os_zalloc(64); in tls_connection_prf()
926 if(!rnd){ in tls_connection_prf()
931 os_memcpy(rnd, conn->client_random, 32); in tls_connection_prf()
[all …]
/AliOS-Things-master/components/linkkit/wrappers/os/
A DHAL_OS_rhino.c119 static uint32_t rnd = 0x12345; in HAL_Random() local
121 output = rnd * 0xFFFF777; in HAL_Random()
122 rnd = output; in HAL_Random()
/AliOS-Things-master/components/linkkit/wrappers/platform/os/
A DHAL_OS_yoc.c445 static uint32_t rnd = 0x12345; in HAL_Random() local
447 output = rnd * 0xFFFF777; in HAL_Random()
448 rnd = output; in HAL_Random()
/AliOS-Things-master/components/websocket/src/
A Drws_socketpriv.c1069 static uint32_t rnd = 0x12345; in transport_utils_random()
1071 random = rnd * 0xFFFF777; in transport_utils_random()
1072 rnd = random; in transport_utils_random()
1078 random = rnd * 0xFFFF777; in transport_utils_random()
1079 rnd = random; in transport_utils_random()
/AliOS-Things-master/solutions/lora_p2p_demo/
A Dradio.c607 uint32_t rnd = 0; in RadioRandom() local
618 rnd = SX126xGetRandom( ); in RadioRandom()
620 return rnd; in RadioRandom()
/AliOS-Things-master/components/mbedtls/programs/test/
A Dbenchmark.c208 int rnd; in myrand() local
219 rnd = rand(); in myrand()
220 memcpy( output, &rnd, use_len ); in myrand()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dprov.c1071 PROV_BUF(rnd, 16); in prov_random()
1097 prov_buf_init(&rnd, PROV_RANDOM); in prov_random()
1098 net_buf_simple_add_mem(&rnd, plink.rand, 16); in prov_random()
1100 if (prov_send(&rnd)) { in prov_random()
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c105309 #define DUK__UPDATE_RND(rnd) do { \ argument
105310 (rnd) += ((rnd) * (rnd)) | 0x05UL; \
105311 (rnd) = ((rnd) & 0xffffffffUL); /* if duk_uint32_t is exactly 32 bits, this is a NOP */ \
105314 #define DUK__RND_BIT(rnd) ((rnd) >> 31) /* only use the highest bit */ argument
105323 duk_uint32_t rnd; local
105325 rnd = thr->heap->rnd_state;
105331 DUK__UPDATE_RND(rnd);
105332 t += DUK__RND_BIT(rnd);
105336 thr->heap->rnd_state = rnd;

Completed in 312 milliseconds