Home
last modified time | relevance | path

Searched refs:hashtype (Results 1 – 9 of 9) sorted by relevance

/external/ipsec-tools/src/racoon/
Dpfkey.c456 ipsecdoi2pfkey_aalg(hashtype) in ipsecdoi2pfkey_aalg() argument
457 u_int hashtype; in ipsecdoi2pfkey_aalg()
459 switch (hashtype) {
488 "Not supported hash type: %u\n", hashtype);
496 "Invalid hash type: %u\n", hashtype);
686 keylen_aalg(hashtype) in keylen_aalg() argument
687 u_int hashtype; in keylen_aalg()
691 if (hashtype == 0)
694 res = alg_ipsec_hmacdef_hashlen(hashtype);
697 "invalid hmac algorithm %u.\n", hashtype);
[all …]
Dremoteconf.h144 int hashtype; member
Dipsec_doi.c379 s->hashtype),
381 tsap->hashtype));
402 tsap->hashtype == s->hashtype &&
513 if (sa.hashtype != s->hashtype) {
521 s->hashtype),
523 sa.hashtype));
616 sa->hashtype = (u_int16_t)ntohs(d->lorv);
2826 if (sa->hashtype) {
2829 p = isakmp_set_attr_l(p, OAKLEY_ATTR_HASH_ALG, sa->hashtype);
Dnattraversal.c131 saddr2str(addr), iph1->approval->hashtype, in natt_hash_addr()
Dhandler.c1465 if (approval->hashtype != p->hashtype) { in revalidate_ph1()
Dremoteconf.c602 alg_oakley_hashdef_name(prop->hashtype)); in dump_rmconf_single()
Doakley.c393 type = iph1->approval->hashtype;
423 type = iph1->approval->hashtype;
2864 prflen = alg_oakley_hashdef_hashlen(iph1->approval->hashtype);
2867 "invalid hash type %d.\n", iph1->approval->hashtype);
Dcfparse.y2402 new->hashtype = types[algclass_isakmp_hash];
/external/ipsec-tools/
Dsetup.c308 p->hashtype = hash; in add_proposal()