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

/freebsd-10-stable/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-10-stable/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c80 u8 sqn[6]; member in struct:milenage_parameters
119 " sqn CHAR(12) NOT NULL"
180 if (os_strcmp(col[i], "sqn") == 0 && argv[i] &&
181 hexstr2bin(argv[i], m->sqn, sizeof(m->sqn))) {
182 printf("Invalid sqn value in database\n");
201 "SELECT ki,opc,amf,sqn FROM milenage WHERE imsi=%llu;",
218 pos += wpa_snprintf_hex(pos, sizeof(val), m->sqn, 6);
221 "UPDATE milenage SET sqn='%s' WHERE imsi=%s;",
502 if (strlen(pos) != 12 || hexstr2bin(pos, m->sqn,
692 inc_sqn(u8 *sqn) argument
795 u8 _auts[EAP_AKA_AUTS_LEN], _rand[EAP_AKA_RAND_LEN], sqn[6]; local
[all...]
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/
H A Dtransobj.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);
H A Dmlx5_transobj.c118 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) argument
128 *sqn = MLX5_GET(create_sq_out, out, sqn);
143 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) argument
151 MLX5_SET(destroy_sq_in, in, sqn, sqn);
156 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out) argument
163 MLX5_SET(query_sq_in, in, sqn, sqn);
/freebsd-10-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_tx.c52 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt);
426 wqe->ctrl.qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt);
H A Dmlx5_en_main.c1141 err = mlx5_core_create_sq(sq->priv->mdev, in, inlen, &sq->sqn);
1163 MLX5_SET(modify_sq_in, in, sqn, sq->sqn);
1178 mlx5_core_destroy_sq(sq->priv->mdev, sq->sqn);
H A Den.h567 u32 sqn; member in struct:mlx5e_sq
/freebsd-10-stable/contrib/wpa/src/eap_peer/
H A Deap_aka.c162 u8 opc[16], k[16], sqn[6]; local
186 if (hexstr2bin(pos, sqn, 6))
189 return milenage_check(opc, k, sqn, data->rand, data->autn,
/freebsd-10-stable/sys/dev/mlx5/
H A Dmlx5_ifc.h3926 u8 sqn[0x18]; member in struct:mlx5_ifc_query_sq_in_bits
5138 u8 sqn[0x18]; member in struct:mlx5_ifc_modify_sq_in_bits
5901 u8 sqn[0x18]; member in struct:mlx5_ifc_destroy_sq_in_bits
6643 u8 sqn[0x18]; member in struct:mlx5_ifc_create_sq_out_bits
/freebsd-10-stable/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 409 milliseconds