/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_fast_pac.c | 50 void eap_fast_free_pac(struct eap_fast_pac *pac) in eap_fast_free_pac() argument 52 os_free(pac->pac_opaque); in eap_fast_free_pac() 53 os_free(pac->pac_info); in eap_fast_free_pac() 54 os_free(pac->a_id); in eap_fast_free_pac() 55 os_free(pac->i_id); in eap_fast_free_pac() 56 os_free(pac->a_id_info); in eap_fast_free_pac() 57 os_free(pac); in eap_fast_free_pac() 73 struct eap_fast_pac *pac = pac_root; in eap_fast_get_pac() local 75 while (pac) { in eap_fast_get_pac() 76 if (pac->pac_type == pac_type && pac->a_id_len == a_id_len && in eap_fast_get_pac() [all …]
|
H A D | eap_teap_pac.c | 50 void eap_teap_free_pac(struct eap_teap_pac *pac) in eap_teap_free_pac() argument 52 os_free(pac->pac_opaque); in eap_teap_free_pac() 53 os_free(pac->pac_info); in eap_teap_free_pac() 54 os_free(pac->a_id); in eap_teap_free_pac() 55 os_free(pac->i_id); in eap_teap_free_pac() 56 os_free(pac->a_id_info); in eap_teap_free_pac() 57 os_free(pac); in eap_teap_free_pac() 73 struct eap_teap_pac *pac = pac_root; in eap_teap_get_pac() local 75 while (pac) { in eap_teap_get_pac() 76 if (pac->pac_type == pac_type && pac->a_id_len == a_id_len && in eap_teap_get_pac() [all …]
|
H A D | eap_fast.c | 61 struct eap_fast_pac *pac; member 205 eap_fast_load_pac_bin(sm, &data->pac, config->pac_file) < 0) { in eap_fast_init() 212 eap_fast_load_pac(sm, &data->pac, config->pac_file) < 0) { in eap_fast_init() 217 eap_fast_pac_list_truncate(data->pac, data->max_pac_list_len); in eap_fast_init() 219 if (data->pac == NULL && !data->provisioning_allowed) { in eap_fast_init() 233 struct eap_fast_pac *pac, *prev; in eap_fast_deinit() local 243 pac = data->pac; in eap_fast_deinit() 245 while (pac) { in eap_fast_deinit() 246 prev = pac; in eap_fast_deinit() 247 pac = pac->next; in eap_fast_deinit() [all …]
|
H A D | eap_teap.c | 61 struct eap_teap_pac *pac; member 215 eap_teap_load_pac_bin(sm, &data->pac, config->pac_file) < 0) { in eap_teap_init() 222 eap_teap_load_pac(sm, &data->pac, config->pac_file) < 0) { in eap_teap_init() 227 eap_teap_pac_list_truncate(data->pac, data->max_pac_list_len); in eap_teap_init() 255 struct eap_teap_pac *pac, *prev; in eap_teap_deinit() local 265 pac = data->pac; in eap_teap_deinit() 267 while (pac) { in eap_teap_deinit() 268 prev = pac; in eap_teap_deinit() 269 pac = pac->next; in eap_teap_deinit() 966 u8 *pac, size_t pac_len) in eap_teap_process_pac_tlv() argument [all …]
|
H A D | eap_fast_pac.h | 32 void eap_fast_free_pac(struct eap_fast_pac *pac);
|
H A D | eap_teap_pac.h | 32 void eap_teap_free_pac(struct eap_teap_pac *pac);
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | pac.c | 51 struct PACTYPE *pac; member 171 krb5_pac *pac) in krb5_pac_parse() argument 211 p->pac = calloc(1, header_end); in krb5_pac_parse() 212 if (p->pac == NULL) { in krb5_pac_parse() 217 p->pac->numbuffers = tmp; in krb5_pac_parse() 218 p->pac->version = tmp2; in krb5_pac_parse() 225 for (i = 0; i < p->pac->numbuffers; i++) { in krb5_pac_parse() 226 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].type), out); in krb5_pac_parse() 227 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].buffersize), out); in krb5_pac_parse() 228 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_lo), out); in krb5_pac_parse() [all …]
|
H A D | test_pac.c | 166 krb5_pac pac; in main() local 181 ret = krb5_pac_parse(context, saved_pac, sizeof(saved_pac), &pac); in main() 185 ret = krb5_pac_verify(context, pac, authtime, p, in main() 190 ret = _krb5_pac_sign(context, pac, authtime, p, in main() 195 krb5_pac_free(context, pac); in main() 197 ret = krb5_pac_parse(context, data.data, data.length, &pac); in main() 202 ret = krb5_pac_verify(context, pac, authtime, p, in main() 218 ret = krb5_pac_get_types(context, pac, &len, &list); in main() 227 ret = krb5_pac_get_buffer(context, pac, list[i], &data); in main() 266 krb5_pac_free(context, pac); in main() [all …]
|
H A D | rd_req.c | 1037 krb5_pac pac; in krb5_rd_req_ctx() local 1045 ret = krb5_pac_parse(context, data.data, data.length, &pac); in krb5_rd_req_ctx() 1051 pac, in krb5_rd_req_ctx() 1056 krb5_pac_free(context, pac); in krb5_rd_req_ctx()
|
/freebsd/crypto/heimdal/kdc/ |
H A D | windc.c | 76 krb5_pac *pac) in _kdc_pac_generate() argument 78 *pac = NULL; in _kdc_pac_generate() 81 return (windcft->pac_generate)(windcctx, context, client, pac); in _kdc_pac_generate() 91 krb5_pac *pac, in _kdc_pac_verify() argument 102 client, server, krbtgt, pac); in _kdc_pac_verify()
|
H A D | krb5tgs.c | 320 krb5_pac pac; in check_PAC() local 326 &pac); in check_PAC() 331 ret = krb5_pac_verify(context, pac, tkt->authtime, in check_PAC() 335 krb5_pac_free(context, pac); in check_PAC() 341 client, server, krbtgt, &pac, &signed_pac); in check_PAC() 343 krb5_pac_free(context, pac); in check_PAC() 355 ret = _krb5_pac_sign(context, pac, tkt->authtime, in check_PAC() 359 krb5_pac_free(context, pac); in check_PAC()
|
/freebsd/usr.sbin/lpr/pac/ |
H A D | Makefile | 4 PROG= pac 5 MAN= pac.8
|
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_amd.c | 553 struct amd_cpu *pac; in amd_intr() local 568 pac = amd_pcpu[cpu]; in amd_intr() 582 if ((pm = pac->pc_amdpmcs[i].phw_pmc) == NULL || in amd_intr() 696 struct amd_cpu *pac; in amd_pcpu_init() local 706 amd_pcpu[cpu] = pac = malloc(sizeof(struct amd_cpu), M_PMC, in amd_pcpu_init() 718 for (n = 0, phw = pac->pc_amdpmcs; n < AMD_NPMCS; n++, phw++) { in amd_pcpu_init() 734 struct amd_cpu *pac; in amd_pcpu_fini() local 756 if ((pac = amd_pcpu[cpu]) == NULL) in amd_pcpu_fini() 763 KASSERT(pac->pc_amdpmcs[i].phw_pmc == NULL, in amd_pcpu_fini() 781 free(pac, M_PMC); in amd_pcpu_fini()
|
H A D | hwpmc_armv7.c | 405 struct armv7_cpu *pac; in armv7_pcpu_init() local 416 armv7_pcpu[cpu] = pac = malloc(sizeof(struct armv7_cpu), M_PMC, in armv7_pcpu_init() 419 pac->pc_armv7pmcs = malloc(sizeof(struct pmc_hw) * armv7_npmcs, in armv7_pcpu_init() 425 for (i = 0, phw = pac->pc_armv7pmcs; i < armv7_npmcs; i++, phw++) { in armv7_pcpu_init()
|
H A D | hwpmc_arm64.c | 455 struct arm64_cpu *pac; in arm64_pcpu_init() 466 arm64_pcpu[cpu] = pac = malloc(sizeof(struct arm64_cpu), M_PMC, in arm64_pcpu_init() 469 pac->pc_arm64pmcs = malloc(sizeof(struct pmc_hw) * arm64_npmcs, in arm64_pcpu_init() 475 for (i = 0, phw = pac->pc_arm64pmcs; i < arm64_npmcs; i++, phw++) { in arm64_pcpu_init() 441 struct arm64_cpu *pac; arm64_pcpu_init() local
|
H A D | hwpmc_powerpc.c | 142 struct powerpc_cpu *pac; in powerpc_pcpu_init() local 150 powerpc_pcpu[cpu] = pac = malloc(sizeof(struct powerpc_cpu) + in powerpc_pcpu_init() 152 pac->pc_class = in powerpc_pcpu_init() 159 for (i = 0, phw = pac->pc_ppcpmcs; i < ppc_max_pmcs; i++, phw++) { in powerpc_pcpu_init()
|
/freebsd/crypto/heimdal/lib/gssapi/ntlm/ |
H A D | inquire_sec_context_by_oid.c | 62 if (ctx->pac.length == 0) { in _gss_ntlm_inquire_sec_context_by_oid() 68 &ctx->pac, in _gss_ntlm_inquire_sec_context_by_oid()
|
H A D | ntlm.h | 122 gss_buffer_desc pac; member
|
/freebsd/usr.sbin/lpr/ |
H A D | Makefile | 2 chkprintcap lp lpc lpd lpq lpr lprm lptest pac \
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_fast.c | 1240 static int eap_fast_pac_type(u8 *pac, size_t len, u16 type) in eap_fast_pac_type() argument 1244 if (pac == NULL || len != sizeof(*tlv)) in eap_fast_pac_type() 1247 tlv = (struct eap_tlv_pac_type_tlv *) pac; in eap_fast_pac_type() 1277 if (tlv.pac == NULL || tlv.pac_len < 6) { in eap_fast_process_phase2_tlvs() 1284 type = WPA_GET_BE16(tlv.pac); in eap_fast_process_phase2_tlvs() 1285 len = WPA_GET_BE16(tlv.pac + 2); in eap_fast_process_phase2_tlvs() 1286 res = WPA_GET_BE16(tlv.pac + 4); in eap_fast_process_phase2_tlvs() 1354 eap_fast_pac_type(tlv.pac, tlv.pac_len, in eap_fast_process_phase2_tlvs() 1365 eap_fast_pac_type(tlv.pac, tlv.pac_len, in eap_fast_process_phase2_tlvs()
|
H A D | eap_server_teap.c | 1516 static int eap_teap_pac_type(u8 *pac, size_t len, u16 type) in eap_teap_pac_type() argument 1520 if (!pac || len != sizeof(*tlv)) in eap_teap_pac_type() 1523 tlv = (struct teap_attr_pac_type *) pac; in eap_teap_pac_type() 1562 if (!tlv.pac || tlv.pac_len < 6) { in eap_teap_process_phase2_tlvs() 1569 type = WPA_GET_BE16(tlv.pac); in eap_teap_process_phase2_tlvs() 1570 len = WPA_GET_BE16(tlv.pac + 2); in eap_teap_process_phase2_tlvs() 1571 res = WPA_GET_BE16(tlv.pac + 4); in eap_teap_process_phase2_tlvs() 1638 eap_teap_pac_type(tlv.pac, tlv.pac_len, in eap_teap_process_phase2_tlvs() 1648 eap_teap_pac_type(tlv.pac, tlv.pac_len, in eap_teap_process_phase2_tlvs()
|
/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_fast_common.c | 255 if (tlv->pac) { in eap_fast_parse_tlv() 261 tlv->pac = pos; in eap_fast_parse_tlv()
|
H A D | eap_fast_common.h | 88 u8 *pac; member
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | Unwind-EHABI.cpp | 433 uint32_t pac; in _Unwind_VRS_Interpret() local 435 _Unwind_VRS_Get(context, _UVRSC_PSEUDO, 0, _UVRSD_UINT32, &pac); in _Unwind_VRS_Interpret() 436 __asm__ __volatile__("autg %0, %1, %2" : : "r"(pac), "r"(lr), "r"(sp) :); in _Unwind_VRS_Interpret() 1141 uint32_t pac = *sp++; in _Unwind_VRS_Pop() local 1143 return _Unwind_VRS_Set(context, _UVRSC_PSEUDO, 0, _UVRSD_UINT32, &pac); in _Unwind_VRS_Pop()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_mtree.c | 600 struct attr_counter *pac; in attr_counter_inc() 606 for (pac = ac->prev; pac; pac = pac->prev) { in attr_counter_inc() 607 if (pac->count >= ac->count) in attr_counter_inc() 613 if (pac != NULL) { in attr_counter_inc() 614 ac->prev = pac; in attr_counter_inc() 615 ac->next = pac->next; in attr_counter_inc() 616 pac in attr_counter_inc() 601 struct attr_counter *pac; attr_counter_inc() local [all...] |