Searched refs:os_get_random (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-10.2-release/contrib/wpa/src/crypto/
H A Drandom.h16 #define random_get_bytes(b, l) os_get_random((b), (l))
H A Drandom.c9 * one provided by the operating system (os_get_random()) for session key
10 * generation. The os_get_random() output is expected to be secure and the
12 * cases where os_get_random() cannot provide strong randomness. This
15 * os_get_random() and as such, calls to os_get_random() can be replaced with
21 * extra code/memory size. As pointed out above, os_get_random() needs to be
164 ret = os_get_random(buf, len);
165 wpa_hexdump_key(MSG_EXCESSIVE, "random from os_get_random",
H A Dms_funcs.c447 if (os_get_random(pw_block, offset) < 0)
H A Dcrypto_libtomcrypt.c526 if (os_get_random(pos, ps_len) < 0) {
/freebsd-10.2-release/contrib/wpa/src/utils/
H A Dos_none.c52 int os_get_random(unsigned char *buf, size_t len) function
H A Dos_win32.c120 int os_get_random(unsigned char *buf, size_t len) function
H A Dos.h92 * os_get_random - Get cryptographically strong pseudo random data
97 int os_get_random(unsigned char *buf, size_t len);
H A Dos_internal.c111 int os_get_random(unsigned char *buf, size_t len) function
H A Dos_unix.c186 int os_get_random(unsigned char *buf, size_t len) function
/freebsd-10.2-release/contrib/wpa/src/p2p/
H A Dp2p_utils.c31 if (os_get_random((unsigned char *) buf, len))
/freebsd-10.2-release/contrib/wpa/src/tls/
H A Dpkcs1.c56 if (os_get_random(pos, ps_len) < 0) {
H A Dtlsv1_record.c187 if (os_get_random(pos, rl->iv_size))
H A Dtlsv1_client.c43 if (os_get_random(pre_master_secret + 2,
H A Dtlsv1_server_read.c558 if (os_get_random(out, outlen)) {
/freebsd-10.2-release/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_udp.c280 os_get_random(priv->cookie, COOKIE_LEN);
532 os_get_random(priv->cookie, COOKIE_LEN);
H A Dp2p_supplicant.c2887 os_get_random((u8 *) &r, sizeof(r));
2906 os_get_random((u8 *) &r, sizeof(r));
3982 os_get_random((u8 *) &r, sizeof(r));
3999 os_get_random((u8 *) &r, sizeof(r));
4977 os_get_random((u8 *) &r, sizeof(r));
5000 os_get_random((u8 *) &r, sizeof(r));
/freebsd-10.2-release/contrib/wpa/src/eap_server/
H A Deap_server_sake.c72 if (os_get_random(&data->session_id, 1)) {
H A Dikev2.c1092 if (os_get_random(data->i_spi, IKEV2_SPI_LEN))
/freebsd-10.2-release/contrib/wpa/src/wps/
H A Dwps_upnp_ssdp.c315 os_get_random((void *) &r, sizeof(r));
H A Dwps_upnp.c254 os_get_random(uuid, UUID_LEN);
/freebsd-10.2-release/contrib/wpa/src/rsn_supp/
H A Dtdls.c998 if (os_get_random(peer->inonce, WPA_NONCE_LEN)) {
1580 if (os_get_random(peer->rnonce, WPA_NONCE_LEN)) {
/freebsd-10.2-release/contrib/wpa/src/ap/
H A Dsta_info.c816 os_get_random(trans_id, WLAN_SA_QUERY_TR_ID_LEN);
/freebsd-10.2-release/contrib/wpa/src/eap_peer/
H A Dikev2.c1125 if (os_get_random(data->r_spi, IKEV2_SPI_LEN))
H A Dtncc.c1224 if (os_get_random(correlation_id, sizeof(correlation_id)))
/freebsd-10.2-release/contrib/wpa/hostapd/
H A Dctrl_iface.c167 os_get_random(trans_id, WLAN_SA_QUERY_TR_ID_LEN) < 0)

Completed in 285 milliseconds

12