Searched refs:sqn (Results 1 - 21 of 21) sorted by relevance

/freebsd-current/contrib/wpa/src/crypto/
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);
H A Dmilenage.c30 * @sqn: SQN = 48-bit sequence number
37 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s)
49 os_memcpy(tmp2, sqn, 6);
165 * @sqn: SQN = 48-bit sequence number
174 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik,
184 if (milenage_f1(opc, k, _rand, sqn, amf, mac_a, NULL) ||
193 autn[i] = sqn[i] ^ ak[i];
205 * @sqn: Buffer for SQN = 48-bit sequence number
206 * Returns: 0 = success (sqn filled), -1 on failure
209 u8 *sqn)
36 milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s) argument
173 milenage_generate(const u8 *opc, const u8 *amf, const u8 *k, const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len) argument
208 milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts, u8 *sqn) argument
270 milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand, const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len, u8 *auts) argument
[all...]
/freebsd-current/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c88 u8 sqn[6]; member in struct:milenage_parameters
129 " sqn CHAR(12) NOT NULL,"
191 if (os_strcmp(col[i], "sqn") == 0 && argv[i] &&
192 hexstr2bin(argv[i], m->sqn, sizeof(m->sqn))) {
193 printf("Invalid sqn value in database\n");
235 pos += wpa_snprintf_hex(pos, sizeof(val), m->sqn, 6);
238 "UPDATE milenage SET sqn='%s' WHERE imsi=%s;",
465 hexstr2bin(pos, m->sqn, 6)) {
545 pos += wpa_snprintf_hex(pos, end - pos, m->sqn,
712 inc_sqn(u8 *sqn) argument
814 u8 _auts[EAP_AKA_AUTS_LEN], _rand[EAP_AKA_RAND_LEN], sqn[6]; local
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_core/
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_transobj.c109 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) argument
118 *sqn = MLX5_GET(create_sq_out, out, sqn);
132 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) argument
138 MLX5_SET(destroy_sq_in, in, sqn, sqn);
143 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out) argument
149 MLX5_SET(query_sq_in, in, sqn, sqn);
H A Dmlx5_qp.c522 static void destroy_sq_tracked(struct mlx5_core_dev *dev, u32 sqn, u16 uid) argument
528 MLX5_SET(destroy_sq_in, in, sqn, sqn);
/freebsd-current/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_iq.c114 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt);
286 err = mlx5_core_create_sq(iq->priv->mdev, in, inlen, &iq->sqn);
308 MLX5_SET(modify_sq_in, in, sqn, iq->sqn);
322 mlx5_core_destroy_sq(iq->priv->mdev, iq->sqn);
H A Dmlx5_en_rl.c176 err = mlx5_core_query_sq(sq->priv->mdev, sq->sqn, out);
209 "SQ remap - sqn=%u, err=(%d)\n", sq->sqn, err);
366 MLX5_SET(modify_sq_in, in, sqn, sq->sqn);
448 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt);
477 iq_channel = &sq->priv->channel[sq->sqn % sq->priv->params.num_channels];
H A Dmlx5_en_tx.c62 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt);
633 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt);
983 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt);
1047 mlx5e_dump_err_cqe(&sq->cq, sq->sqn, (const void *)cqe);
H A Dmlx5_en_hw_tls.c511 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt);
556 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt);
589 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt);
H A Dmlx5_en_hw_tls_rx.c156 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt);
229 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt);
358 wqe->ctrl.qpn_ds = cpu_to_be32((iq->sqn << 8) | ds_cnt);
H A Den.h822 u32 sqn; member in struct:mlx5e_iq
881 u32 sqn; member in struct:mlx5e_sq
H A Dmlx5_en_main.c1769 err = mlx5_core_create_sq(sq->priv->mdev, in, inlen, &sq->sqn);
1791 MLX5_SET(modify_sq_in, in, sqn, sq->sqn);
1806 mlx5_core_destroy_sq(sq->priv->mdev, sq->sqn);
4010 sq->doorbell.d32[1] = cpu_to_be32(sq->sqn << 8);
H A Dmlx5_en_ethtool.c1333 opened ? sq->sqn : -1,
/freebsd-current/contrib/wpa/src/eap_peer/
H A Deap_aka.c276 u8 opc[16], k[16], sqn[6]; local
300 if (hexstr2bin(pos, sqn, 6))
303 return milenage_check(opc, k, sqn, data->rand, data->autn,
/freebsd-current/sys/dev/mrsas/
H A Dmrsas_cam.c1073 io_request->RaidContext.raid_context_g35.routingFlags.bits.sqn = 1;
1121 io_request->RaidContext.raid_context_g35.routingFlags.bits.sqn = 1;
1233 io_request->RaidContext.raid_context_g35.routingFlags.bits.sqn = 1;
H A Dmrsas.h217 u_int16_t sqn:1; member in struct:_RAID_CONTEXT_G35::__anon3459::__anon3460
229 u_int16_t sqn:1;
/freebsd-current/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_devx.c409 MLX5_GET(query_sq_in, in, sqn));
413 MLX5_GET(modify_sq_in, in, sqn));
H A Dmlx5_ib_qp.c2597 MLX5_SET(modify_sq_in, in, sqn, sq->base.mqp.qpn);
/freebsd-current/sys/dev/mlx5/
H A Dmlx5_ifc.h4522 u8 sqn[0x18]; member in struct:mlx5_ifc_query_sq_in_bits
5991 u8 sqn[0x18]; member in struct:mlx5_ifc_modify_sq_in_bits
6819 u8 sqn[0x18]; member in struct:mlx5_ifc_destroy_sq_in_bits
7629 u8 sqn[0x18]; member in struct:mlx5_ifc_create_sq_out_bits
/freebsd-current/sys/dev/bxe/
H A Decore_hsi.h9438 uint16_t sqn[8] /* Cstorm CQ sequence to notify array, updated by driver */; member in struct:iscsi_cq_db_sqn_2_notify_arr

Completed in 373 milliseconds