Lines Matching refs:approval

386 	if (iph1->approval == NULL) {
393 type = iph1->approval->hashtype;
416 if (iph1->approval == NULL) {
423 type = iph1->approval->hashtype;
447 if (iph2->approval->pfs_group && iph2->dhpub_p) {
491 pfs = ((iph2->approval->pfs_group && iph2->dhgxy) ? 1 : 0);
505 for (pr = iph2->approval->head; pr != NULL; pr = pr->next) {
662 for (pr = iph2->approval->head; pr != NULL; pr = pr->next) {
1054 iph1->approval->authmethod);
1149 iph1->approval->authmethod);
1619 s_oakley_attr_method(iph1->approval->authmethod));
1624 iph1->approval->authmethod);
1630 s_oakley_attr_method(iph1->approval->authmethod),
2699 s_oakley_attr_method(iph1->approval->authmethod));
2704 iph1->approval->authmethod);
2846 keylen = alg_oakley_encdef_keylen(iph1->approval->enctype,
2847 iph1->approval->encklen);
2852 iph1->approval->enctype,
2853 iph1->approval->encklen);
2864 prflen = alg_oakley_hashdef_hashlen(iph1->approval->hashtype);
2867 "invalid hash type %d.\n", iph1->approval->hashtype);
2951 if (iph1->approval->enctype > ARRAYLEN(oakley_encdef)
2952 || oakley_encdef[iph1->approval->enctype].weakkey == NULL) {
2955 iph1->approval->enctype);
2958 if ((oakley_encdef[iph1->approval->enctype].weakkey)(iph1->key)) {
3055 newivm->iv->l = alg_oakley_encdef_blocklen(iph1->approval->enctype);
3059 iph1->approval->enctype);
3137 newivm->iv->l = alg_oakley_encdef_blocklen(iph1->approval->enctype);
3141 iph1->approval->enctype);
3201 blen = alg_oakley_encdef_blocklen(iph1->approval->enctype);
3205 iph1->approval->enctype);
3231 new = alg_oakley_encdef_decrypt(iph1->approval->enctype,
3235 "decryption %d failed.\n", iph1->approval->enctype);
3323 blen = alg_oakley_encdef_blocklen(iph1->approval->enctype);
3327 iph1->approval->enctype);
3364 new = alg_oakley_encdef_encrypt(iph1->approval->enctype,
3368 "encryption %d failed.\n", iph1->approval->enctype);