Home
last modified time | relevance | path

Searched refs:authtype (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dproposal.c512 newtr->authtype = tr1->authtype;
594 if (tr1->authtype != tr2->authtype) {
598 s_ipsecdoi_attr_v(IPSECDOI_ATTR_AUTH, tr2->authtype),
599 s_ipsecdoi_attr_v(IPSECDOI_ATTR_AUTH, tr1->authtype));
668 newtr->authtype = a->alg;
693 newtr->authtype = b->alg;
718 newtr->authtype = IPSECDOI_ATTR_AUTH_NONE; /*no auth*/
979 s_ipsecdoi_attr_v(IPSECDOI_ATTR_AUTH, tr->authtype));
986 s_ipsecdoi_attr_v(IPSECDOI_ATTR_AUTH, tr->authtype));
H A Dproposal.h102 int authtype; /* authentication algorithm if ESP */ member
H A Disakmp_xauth.h65 int authtype; member
H A Disakmp_xauth.c215 xst->authtype = XAUTH_TYPE_GENERIC;
1761 switch (xst->authtype) {
1775 "Unsupported authtype %d\n", xst->authtype);
1780 "Unexpected authtype %d\n", xst->authtype);
H A Dipsec_doi.c2959 tr->authtype == IPSECDOI_ATTR_AUTH_NONE)
2990 if (tr->authtype != IPSECDOI_ATTR_AUTH_NONE)
2994 if (tr->authtype == IPSECDOI_ATTR_AUTH_NONE) {
3072 if ((pr->proto_id == IPSECDOI_PROTO_IPSEC_ESP && tr->authtype != IPSECDOI_ATTR_AUTH_NONE)
3074 x = isakmp_set_attr_l(x, IPSECDOI_ATTR_AUTH, tr->authtype);
4526 tr->authtype = IPSECDOI_ATTR_AUTH_NONE;
4668 if (tr->authtype != IPSECDOI_ATTR_AUTH_NONE) {
4674 tr->authtype = (u_int16_t)ntohs(d->lorv);
H A Dhandler.c1364 if (alg->alg == approval->head->head->authtype) in revalidate_ph2()
H A Dpfkey.c1166 pr->head->authtype,
1450 pr->head->authtype,
H A Doakley.c589 l = alg_ipsec_hmacdef_hashlen(tr->authtype);
/netbsd-src/sys/lib/libsa/
H A Drpc.c71 int32_t authtype; /* auth type */ member
150 auth->authtype = htonl(RPCAUTH_NULL); in rpc_call()
159 auth->authtype = htonl(RPCAUTH_UNIX); in rpc_call()
165 auth->authtype = htonl(RPCAUTH_NULL); in rpc_call()
/netbsd-src/sys/fs/nfs/common/
H A Dkrpc_subr.c76 u_int32_t authtype; /* auth type */ member
290 call->rpc_auth.authtype = txdr_unsigned(AUTH_UNIX); in krpc_call()
293 call->rpc_verf.authtype = 0; in krpc_call()
410 if (reply->rp_auth.authtype != 0) { in krpc_call()
/netbsd-src/sys/nfs/
H A Dkrpc_subr.c79 u_int32_t authtype; /* auth type */ member
297 call->rpc_auth.authtype = txdr_unsigned(RPCAUTH_UNIX); in krpc_call()
300 call->rpc_verf.authtype = 0; in krpc_call()
370 if (reply->rp_auth.authtype != 0) { in krpc_call()
/netbsd-src/external/bsd/iscsi/dist/src/lib/
H A Dparameters.c405 const char *authtype; in find_credentials() local
418 authtype = (e.sv.c == 1) ? "none" : e.sv.v[1]; in find_credentials()
419 cc = strlen(authtype); in find_credentials()
420 if (auth == NULL || (strncasecmp(authtype, auth, cc) == 0 && cc == strlen(auth))) { in find_credentials()
422 cred->auth_type = strdup(authtype); in find_credentials()
/netbsd-src/sys/dev/pcmcia/
H A Dif_malo_pcmciavar.h116 uint8_t authtype; member
H A Dif_malo_pcmcia.c1495 body->authtype = 0; in cmalo_cmd_set_auth()