Lines Matching refs:hashtype
403 ipsecdoi2pfkey_aalg(hashtype)
404 u_int hashtype;
406 switch (hashtype) {
417 "Not supported hash type: %u\n", hashtype);
425 "Invalid hash type: %u\n", hashtype);
603 keylen_aalg(hashtype)
604 u_int hashtype;
608 if (hashtype == 0)
611 res = alg_ipsec_hmacdef_hashlen(hashtype);
614 "invalid hmac algorithm %u.\n", hashtype);
638 pfkey_convertfromipsecdoi(proto_id, t_id, hashtype,
642 u_int hashtype;
658 if ((*a_type = ipsecdoi2pfkey_aalg(hashtype)) == ~0)
660 if ((*a_keylen = keylen_aalg(hashtype)) == ~0)
671 if ((*a_type = ipsecdoi2pfkey_aalg(hashtype)) == ~0)
673 if ((*a_keylen = keylen_aalg(hashtype)) == ~0)
678 && hashtype == IPSECDOI_ATTR_AUTH_KPDK) {