Searched refs:hashtype (Results 1 – 10 of 10) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | pfkey.c | 456 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 …]
|
D | remoteconf.h | 144 int hashtype; member
|
D | ipsec_doi.c | 379 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);
|
D | nattraversal.c | 131 saddr2str(addr), iph1->approval->hashtype, in natt_hash_addr()
|
D | handler.c | 1465 if (approval->hashtype != p->hashtype) { in revalidate_ph1()
|
D | remoteconf.c | 602 alg_oakley_hashdef_name(prop->hashtype)); in dump_rmconf_single()
|
D | oakley.c | 393 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);
|
D | cfparse.y | 2402 new->hashtype = types[algclass_isakmp_hash];
|
/external/autotest/client/common_lib/ |
D | utils.py | 585 def hash(hashtype, input=None): argument 599 if hashtype not in ['md5', 'sha1']: 600 raise ValueError("Unsupported hash type: %s" % hashtype) 603 computed_hash = hashlib.new(hashtype) 605 if hashtype == 'md5': 607 elif hashtype == 'sha1':
|
/external/ipsec-tools/ |
D | setup.c | 322 p->hashtype = hash; in add_proposal()
|