Home
last modified time | relevance | path

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

/freebsd-src/contrib/wpa/hostapd/
H A Dhlr_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 …]
H A Dhlr_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-src/contrib/wpa/src/crypto/
H A Dmilenage.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 …]
H A Dmilenage.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-src/sys/dev/mlx5/mlx5_core/
H A Dmlx5_transobj.c109 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) in mlx5_core_create_sq() argument
118 *sqn = MLX5_GET(create_sq_out, out, sqn); in mlx5_core_create_sq()
132 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) in mlx5_core_destroy_sq() argument
138 MLX5_SET(destroy_sq_in, in, sqn, sqn); in mlx5_core_destroy_sq()
143 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out) in mlx5_core_query_sq() argument
149 MLX5_SET(query_sq_in, in, sqn, sqn); in mlx5_core_query_sq()
H A Dtransobj.h37 u32 *sqn);
39 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn);
40 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out);
H A Dmlx5_qp.c522 static void destroy_sq_tracked(struct mlx5_core_dev *dev, u32 sqn, u16 uid) in destroy_sq_tracked() argument
528 MLX5_SET(destroy_sq_in, in, sqn, sqn); in destroy_sq_tracked()
/freebsd-src/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_iq.c114 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt); in mlx5e_iq_send_nop()
286 err = mlx5_core_create_sq(iq->priv->mdev, in, inlen, &iq->sqn); in mlx5e_iq_enable()
308 MLX5_SET(modify_sq_in, in, sqn, iq->sqn); in mlx5e_iq_modify()
322 mlx5_core_destroy_sq(iq->priv->mdev, iq->sqn); in mlx5e_iq_disable()
H A Dmlx5_en_rl.c176 err = mlx5_core_query_sq(sq->priv->mdev, sq->sqn, out); in mlx5e_rl_query_sq()
209 "SQ remap - sqn=%u, err=(%d)\n", sq->sqn, err); in mlx5e_rl_open_sq()
366 MLX5_SET(modify_sq_in, in, sqn, sq->sqn); in mlx5e_rl_modify_sq()
448 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt); in mlx5e_rl_post_sq_remap_wqe()
477 iq_channel = &sq->priv->channel[sq->sqn % sq->priv->params.num_channels]; in mlx5e_rl_remap_sq()
H A Dmlx5_en_hw_tls.c584 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_tls_send_nop()
629 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in sbtls_recover_record()
662 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in sbtls_recover_record()
H A Dmlx5_en_tx.c63 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_send_nop()
634 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_sq_dump_xmit()
986 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_sq_xmit()
1050 mlx5e_dump_err_cqe(&sq->cq, sq->sqn, (const void *)cqe); in mlx5e_poll_tx_cq()
H A Dmlx5_en_hw_tls_rx.c157 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt); in mlx5e_tls_rx_send_static_parameters()
230 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt); in mlx5e_tls_rx_send_progress_parameters_sync()
359 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt); in mlx5e_tls_rx_receive_progress_parameters()
H A Den.h825 u32 sqn;
884 u32 sqn;
822 u32 sqn; global() member
881 u32 sqn; global() member
H A Dmlx5_en_main.c1776 err = mlx5_core_create_sq(sq->priv->mdev, in, inlen, &sq->sqn);
1798 MLX5_SET(modify_sq_in, in, sqn, sq->sqn); in mlx5e_modify_sq()
1813 mlx5_core_destroy_sq(sq->priv->mdev, sq->sqn); in mlx5e_open_sq()
4094 sq->doorbell.d32[1] = cpu_to_be32(sq->sqn << 8); in mlx5e_enable_rx_dma()
H A Dmlx5_en_ethtool.c1333 opened ? sq->sqn : -1, in mlx5e_ethtool_debug_channel_info()
/freebsd-src/contrib/wpa/src/eap_peer/
H A Deap_aka.c307 u8 opc[16], k[16], sqn[6]; in eap_aka_umts_auth()
331 if (hexstr2bin(pos, sqn, 6)) in eap_aka_umts_auth()
334 return milenage_check(opc, k, sqn, data->rand, data->autn, in eap_aka_umts_auth()
276 u8 opc[16], k[16], sqn[6]; eap_aka_umts_auth() local
/freebsd-src/sys/dev/mrsas/
H A Dmrsas_cam.c1073 io_request->RaidContext.raid_context_g35.routingFlags.bits.sqn = 1; in mrsas_setup_io()
1121 io_request->RaidContext.raid_context_g35.routingFlags.bits.sqn = 1; in mrsas_setup_io()
1233 io_request->RaidContext.raid_context_g35.routingFlags.bits.sqn = 1; in mrsas_build_syspdio()
H A Dmrsas.h217 u_int16_t sqn:1; member
229 u_int16_t sqn:1;
/freebsd-src/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_devx.c409 MLX5_GET(query_sq_in, in, sqn)); in devx_get_obj_id()
413 MLX5_GET(modify_sq_in, in, sqn)); in devx_get_obj_id()
H A Dmlx5_ib_qp.c2597 MLX5_SET(modify_sq_in, in, sqn, sq->base.mqp.qpn); in modify_raw_packet_qp_sq()
/freebsd-src/sys/dev/mlx5/
H A Dmlx5_ifc.h4813 u8 sqn[0x18];
6288 u8 sqn[0x18];
7121 u8 sqn[0x18];
7931 u8 sqn[0x18];
4522 u8 sqn[0x18]; global() member
5991 u8 sqn[0x18]; global() member
6819 u8 sqn[0x18]; global() member
7629 u8 sqn[0x18]; global() member
/freebsd-src/sys/dev/bxe/
H A Decore_hsi.h9438 uint16_t sqn[8] /* Cstorm CQ sequence to notify array, updated by driver */; member