Home
last modified time | relevance | path

Searched refs:authxf (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/sbin/ipsecctl/
Dike.c305 if (r->p2xfs && r->p2xfs->authxf) { in ike_section_p2()
306 switch (r->p2xfs->authxf->id) { in ike_section_p2()
326 warnx("illegal transform %s", r->p2xfs->authxf->name); in ike_section_p2()
504 if (r->p1xfs && r->p1xfs->authxf) { in ike_section_p1()
505 switch (r->p1xfs->authxf->id) { in ike_section_p1()
522 warnx("illegal transform %s", r->p1xfs->authxf->name); in ike_section_p1()
Dpfkdump.c860 xfs.authxf = &authxfs[AUTHXF_HMAC_MD5]; in pfkey_print_sa()
863 xfs.authxf = &authxfs[AUTHXF_HMAC_RIPEMD160]; in pfkey_print_sa()
866 xfs.authxf = &authxfs[AUTHXF_HMAC_SHA1]; in pfkey_print_sa()
869 xfs.authxf = &authxfs[AUTHXF_HMAC_SHA2_256]; in pfkey_print_sa()
872 xfs.authxf = &authxfs[AUTHXF_HMAC_SHA2_384]; in pfkey_print_sa()
875 xfs.authxf = &authxfs[AUTHXF_HMAC_SHA2_512]; in pfkey_print_sa()
Dparse.y744 if (ipsec_transforms->authxf)
747 ipsec_transforms->authxf = parse_xf($2,
749 if (!ipsec_transforms->authxf)
2352 if (!xfs->authxf) in validate_sa()
2353 xfs->authxf = &authxfs[AUTHXF_HMAC_SHA2_256]; in validate_sa()
2379 if (xfs->encxf->noauth && xfs->authxf) { in validate_sa()
2383 } else if (!xfs->encxf->noauth && !xfs->authxf) in validate_sa()
2384 xfs->authxf = &authxfs[AUTHXF_HMAC_SHA2_256]; in validate_sa()
2391 if (xfs->authxf || xfs->encxf) { in validate_sa()
2403 if (xfs->authxf || xfs->encxf || xfs->compxf) { in validate_sa()
[all …]
Dipsecctl.h156 const struct ipsec_xf *authxf; member
Dipsecctl.c520 if (r->xfs && r->xfs->authxf) in ipsecctl_print_sa()
521 printf(" auth %s", r->xfs->authxf->name); in ipsecctl_print_sa()
Dpfkey.c455 if (xfs && xfs->authxf) { in pfkey_sa()
456 switch (xfs->authxf->id) { in pfkey_sa()
479 xfs->authxf->id); in pfkey_sa()
/openbsd/src/sbin/iked/
Dparse.y889 const struct ipsec_xf **xfs = ipsec_transforms->authxf;
900 ipsec_transforms->authxf = xfs;
2969 ike_sa->xfs[i]->authxf, in create_ike()
3076 ipsec_sa->xfs[i]->authxf, in create_ike()
3163 free(ike_sa->xfs[i]->authxf); in create_ike()
3174 free(ipsec_sa->xfs[i]->authxf); in create_ike()
Diked.h953 const struct ipsec_xf **authxf; member