Searched refs:sres (Results 1 - 14 of 14) sorted by relevance

/freebsd-11-stable/lib/libc/tests/gen/
H A Dpopen_test.c118 char *sres; local
125 ATF_CHECK_MSG((sres = fgets(buf, sizeof(buf), fp)) != NULL,
127 if (sres != NULL)
216 char *sres; local
230 sres = fgets(buf, sizeof(buf), fp);
231 ATF_CHECK_MSG(sres != NULL, "Input error 3");
232 if (sres != NULL)
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dpcsc_funcs.h20 unsigned char *sres, unsigned char *kc);
H A Dpcsc_funcs.c1230 * @sres: 4-byte buffer for SRES
1239 * successfully, SRES and Kc values will be written into sres and kc buffers.
1242 unsigned char *sres, unsigned char *kc)
1295 os_memcpy(sres, buf, 4);
1309 os_memcpy(sres, buf + 1, 4);
1313 wpa_hexdump(MSG_DEBUG, "SCARD: GSM auth - SRES", sres, 4);
1241 scard_gsm_auth(struct scard_data *scard, const unsigned char *_rand, unsigned char *sres, unsigned char *kc) argument
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dmilenage.h17 int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres,
H A Dmilenage.c231 * @sres: Buffer for SRES = 32-bit SRES
235 int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres, u8 *kc) argument
247 os_memcpy(sres, res, 4);
250 sres[i] = res[i] ^ res[i + 4];
/freebsd-11-stable/contrib/wpa/src/eap_server/
H A Deap_sim_db.h42 u8 *_rand, u8 *kc, u8 *sres,
H A Deap_sim_db.c45 u8 sres[EAP_SIM_MAX_CHAL][EAP_SIM_SRES_LEN]; member in struct:eap_sim_db_pending::__anon4338::__anon4339
505 if (hexstr2bin(start, entry->u.sim.sres[num_chal],
909 * @sres: Buffer for SRES values
927 u8 *_rand, u8 *kc, u8 *sres,
969 os_memcpy(sres, entry->u.sim.sres,
925 eap_sim_db_get_gsm_triplets(struct eap_sim_db_data *data, const char *username, int max_chal, u8 *_rand, u8 *kc, u8 *sres, void *cb_session_ctx) argument
H A Deap_server_sim.c27 u8 sres[EAP_SIM_MAX_CHAL][EAP_SIM_SRES_LEN]; member in struct:eap_sim_data
542 (u8 *) data->rand, (u8 *) data->kc, (u8 *) data->sres, sm);
591 (u8 *) data->sres,
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_sim.c27 u8 sres[3][EAP_SIM_SRES_LEN]; member in struct:eap_sim_data
148 os_memset(data->sres, 0, 3 * EAP_SIM_SRES_LEN);
220 if (hexstr2bin(pos, data->sres[i], EAP_SIM_SRES_LEN) < 0)
223 data->sres[i], EAP_SIM_SRES_LEN);
262 data->sres[0], data->kc[0]) ||
264 data->sres[1], data->kc[1]) ||
267 data->sres[2], data->kc[2]))) {
301 data->sres[i], data->kc[i])) {
310 data->sres[i], EAP_SIM_SRES_LEN);
334 os_memcpy(data->sres[
[all...]
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c75 u8 sres[4]; member in struct:gsm_triplet
335 hexstr2bin(pos, g->sres, 4)) {
617 u8 _rand[16], sres[4], kc[8]; local
621 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
625 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4);
643 rpos += wpa_snprintf_hex(rpos, rend - rpos, g->sres, 4);
684 u8 _rand[16], sres[4], kc[8]; local
688 gsm_milenage(m->opc, m->ki, _rand, sres, kc);
692 rpos += wpa_snprintf_hex(rpos, rend - rpos, sres, 4);
/freebsd-11-stable/usr.sbin/bhyve/
H A Drfb.c759 uint32_t sres = 0; local
790 sres = 0;
837 sres = htonl(1);
839 sres = 0;
841 sres = 0;
849 stream_write(cfd, &sres, 4);
851 if (sres) {
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Deapol_test.c1069 unsigned char sres[4]; local
1112 if (scard_gsm_auth(scard, _rand, sres, kc))
1116 if (scard_gsm_auth(scard, _rand, sres, kc))
1177 unsigned char sres[4]; local
1212 if (scard_gsm_auth(scard, _rand, sres, kc))
1223 printf("%02X", sres[j]);
/freebsd-11-stable/sys/kern/
H A Dsubr_rman.c969 struct resource_i *sres; local
1017 LIST_FOREACH(sres, res->r_sharehead, r_sharelink)
1019 res = sres;
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dlockd_lock.c2033 struct sm_stat_res sres; local
2078 (xdrproc_t)xdr_sm_stat_res, &sres);
2081 if (sres.res_stat == stat_fail) {

Completed in 131 milliseconds