Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/crypto/
H A Dfips_prf_internal.c45 _t[0] = host_to_be32(_t[0]); in fips186_2_prf()
46 _t[1] = host_to_be32(_t[1]); in fips186_2_prf()
47 _t[2] = host_to_be32(_t[2]); in fips186_2_prf()
48 _t[3] = host_to_be32(_t[3]); in fips186_2_prf()
49 _t[4] = host_to_be32(_t[4]); in fips186_2_prf()
/freebsd/contrib/wpa/src/utils/
H A Dcommon.h152 #define host_to_be32(n) wpa_swap_32(n) macro
182 #define host_to_be32(n) ((__force be32) bswap_32((n))) macro
195 #define host_to_be32(n) (n) macro
H A Dcommon.c256 tmp = host_to_be32(sec); in wpa_get_ntp_timestamp()
258 tmp = host_to_be32(usec); in wpa_get_ntp_timestamp()
/freebsd/contrib/wpa/src/pae/
H A Dieee802_1x_kay.c773 body->actor_mn = host_to_be32(participant->mn); in ieee802_1x_mka_encode_basic_body()
970 body_peer->mn = host_to_be32(peer->mn); in ieee802_1x_mka_encode_live_peer_body()
1030 body_peer->mn = host_to_be32(peer->mn); in ieee802_1x_mka_encode_potential_peer_body()
1320 body->olpn = host_to_be32(olpn); in ieee802_1x_mka_encode_sak_use_body()
1322 body->llpn = host_to_be32(llpn); in ieee802_1x_mka_encode_sak_use_body()
1350 body->lkn = host_to_be32(participant->lki.kn); in ieee802_1x_mka_encode_sak_use_body()
1362 body->okn = host_to_be32(participant->oki.kn); in ieee802_1x_mka_encode_sak_use_body()
1644 body->kn = host_to_be32(sak->key_identifier.kn); in ieee802_1x_mka_encode_dist_sak_body()
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_ttls.c119 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr()
124 avp->avp_code = host_to_be32(avp_code); in eap_ttls_avp_hdr()
125 avp->avp_length = host_to_be32(((u32) flags << 24) | in eap_ttls_avp_hdr()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_ttls.c242 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr()
247 avp->avp_code = host_to_be32(avp_code); in eap_ttls_avp_hdr()
248 avp->avp_length = host_to_be32(((u32) flags << 24) | in eap_ttls_avp_hdr()
H A Deap_fast.c529 nak->vendor_id = host_to_be32(vendor_id); in eap_fast_tlv_nak()
H A Deap_teap.c515 nak->vendor_id = host_to_be32(vendor_id); in eap_teap_tlv_nak()
/freebsd/contrib/wpa/src/ap/
H A Dieee802_1x.c895 timestamp = host_to_be32(hapd->conf->t_c_timestamp); in ieee802_1x_encapsulate_radius()