Home
last modified time | relevance | path

Searched refs:sqn (Results 1 – 16 of 16) sorted by relevance

/freebsd-11-stable/contrib/wpa/hostapd/
HDhlr_auc_gw.c88 u8 sqn[6]; member
192 hexstr2bin(argv[i], m->sqn, sizeof(m->sqn))) { in get_milenage_cb()
235 pos += wpa_snprintf_hex(pos, sizeof(val), m->sqn, 6); in db_update_milenage_sqn()
465 hexstr2bin(pos, m->sqn, 6)) { in read_milenage()
545 pos += wpa_snprintf_hex(pos, end - pos, m->sqn, 6); in update_milenage_file()
712 static void inc_sqn(u8 *sqn) in inc_sqn() argument
725 val = ((u64) WPA_GET_BE32(sqn) << 16) | ((u64) WPA_GET_BE16(sqn + 4)); in inc_sqn()
729 WPA_PUT_BE32(sqn, val >> 16); in inc_sqn()
730 WPA_PUT_BE16(sqn + 4, val & 0xffff); in inc_sqn()
753 inc_sqn(m->sqn); in aka_req_auth()
[all …]
HDhlr_auc_gw.txt48 sqn CHAR(12) NOT NULL
50 INSERT INTO milenage(imsi,ki,opc,amf,sqn) VALUES(
57 INSERT INTO milenage(imsi,ki,opc,amf,sqn) VALUES(
/freebsd-11-stable/contrib/wpa/src/crypto/
HDmilenage.c37 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s) in milenage_f1() argument
49 os_memcpy(tmp2, sqn, 6); in milenage_f1()
174 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, in milenage_generate() argument
184 if (milenage_f1(opc, k, _rand, sqn, amf, mac_a, NULL) || in milenage_generate()
193 autn[i] = sqn[i] ^ ak[i]; in milenage_generate()
209 u8 *sqn) in milenage_auts() argument
218 sqn[i] = auts[i] ^ ak[i]; in milenage_auts()
219 if (milenage_f1(opc, k, _rand, sqn, amf, NULL, mac_s) || in milenage_auts()
270 int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand, in milenage_check() argument
295 if (os_memcmp(rx_sqn, sqn, 6) <= 0) { in milenage_check()
[all …]
HDmilenage.h13 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik,
16 u8 *sqn);
19 int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand,
23 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s);
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
HDmlx5_transobj.c107 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) in mlx5_core_create_sq() argument
116 *sqn = MLX5_GET(create_sq_out, out, sqn); in mlx5_core_create_sq()
130 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) in mlx5_core_destroy_sq() argument
136 MLX5_SET(destroy_sq_in, in, sqn, sqn); in mlx5_core_destroy_sq()
141 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out) in mlx5_core_query_sq() argument
147 MLX5_SET(query_sq_in, in, sqn, sqn); in mlx5_core_query_sq()
HDtransobj.h39 u32 *sqn);
41 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn);
42 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out);
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
HDmlx5_en_tx.c52 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_send_nop()
468 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_sq_xmit()
HDmlx5_en_main.c1603 err = mlx5_core_create_sq(sq->priv->mdev, in, inlen, &sq->sqn); in mlx5e_enable_sq()
1625 MLX5_SET(modify_sq_in, in, sqn, sq->sqn); in mlx5e_modify_sq()
1640 mlx5_core_destroy_sq(sq->priv->mdev, sq->sqn); in mlx5e_disable_sq()
3606 sq->doorbell.d32[1] = cpu_to_be32(sq->sqn << 8); in mlx5e_reset_sq_doorbell_record()
HDen.h826 u32 sqn; member
HDmlx5_en_ethtool.c1296 opened ? sq->sqn : -1, in mlx5e_ethtool_debug_channel_info()
/freebsd-11-stable/contrib/wpa/src/eap_peer/
HDeap_aka.c276 u8 opc[16], k[16], sqn[6]; in eap_aka_umts_auth() local
300 if (hexstr2bin(pos, sqn, 6)) in eap_aka_umts_auth()
303 return milenage_check(opc, k, sqn, data->rand, data->autn, in eap_aka_umts_auth()
/freebsd-11-stable/sys/dev/mrsas/
HDmrsas_cam.c1143 io_request->RaidContext.raid_context_g35.routingFlags.bits.sqn = 1; in mrsas_setup_io()
1191 io_request->RaidContext.raid_context_g35.routingFlags.bits.sqn = 1; in mrsas_setup_io()
1314 io_request->RaidContext.raid_context_g35.routingFlags.bits.sqn = 1; in mrsas_build_syspdio()
HDmrsas.h212 u_int16_t sqn:1; member
/freebsd-11-stable/sys/dev/mlx5/
HDmlx5_ifc.h4145 u8 sqn[0x18]; member
5360 u8 sqn[0x18]; member
6157 u8 sqn[0x18]; member
6899 u8 sqn[0x18]; member
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
HDmlx5_ib_qp.c2488 MLX5_SET(modify_sq_in, in, sqn, sq->base.mqp.qpn); in modify_raw_packet_qp_sq()
/freebsd-11-stable/sys/dev/bxe/
HDecore_hsi.h9438 uint16_t sqn[8] /* Cstorm CQ sequence to notify array, updated by driver */; member