hashtype
new->hashtype = types[algclass_isakmp_hash];
s_oakley_attr_v(OAKLEY_ATTR_HASH_ALG, s->hashtype));
if (sa->hashtype) {
p = isakmp_set_attr_l(p, OAKLEY_ATTR_HASH_ALG, sa->hashtype);
sa->hashtype = (uint16_t)ntohs(d->lorv);
saddr2str(addr), iph1->approval->hashtype,
prflen = alg_oakley_hashdef_hashlen(iph1->approval->hashtype);
"invalid hash type %d.\n", iph1->approval->hashtype);
type = iph1->approval->hashtype;
type = iph1->approval->hashtype;
ipsecdoi2pfkey_aalg(u_int hashtype)
switch (hashtype) {
"Not supported hash type: %u\n", hashtype);
"Invalid hash type: %u\n", hashtype);
keylen_aalg(u_int hashtype)
if (hashtype == 0)
res = alg_ipsec_hmacdef_hashlen(hashtype);
"invalid hmac algorithm %u.\n", hashtype);
pfkey_convertfromipsecdoi(u_int proto_id, u_int t_id, u_int hashtype,
if ((*a_type = ipsecdoi2pfkey_aalg(hashtype)) == ~0u)
if ((*a_keylen = keylen_aalg(hashtype)) == ~0u)
if ((*a_type = ipsecdoi2pfkey_aalg(hashtype)) == ~0u)
if ((*a_keylen = keylen_aalg(hashtype)) == ~0u)
&& hashtype == IPSECDOI_ATTR_AUTH_KPDK) {
alg_oakley_hashdef_name(prop->hashtype));
proposal->hashtype != p->hashtype)
int hashtype;
const uint16_t hashtype __unused =
if (hashtype != IGC_RXDADV_RSSTYPE_NONE) {
hashdone(void *hashtbl, enum hashtype htype, u_long hashmask)
hash_list_size(enum hashtype htype)
hashinit(u_int elements, enum hashtype htype, bool waitok, u_long *hashmask)
void *hashinit(u_int, enum hashtype, bool, u_long *);
void hashdone(void *, enum hashtype, u_long);
enum hashtype type; /* type of hash table */