Lines Matching refs:encrypted
138 int encrypted;
142 encrypted = ISSET(((struct isakmp *)msg0->v)->flags, ISAKMP_FLAG_E);
146 if (encrypted) {
180 if (encrypted) {
264 /* make sure the packet was encrypted after the beginning of phase 1. */
276 "%s message must be encrypted\n",
297 msgid, encrypted);
302 msgid, encrypted);
392 isakmp_info_recv_n(iph1, notify, msgid, encrypted)
396 int encrypted;
411 if (encrypted)
416 if (encrypted)
421 if (encrypted)
430 * However, since phase1 error notifications are not encrypted and
433 * Phase2 error notifications should be encrypted, so we could handle
438 if (encrypted)
450 isakmp_info_recv_d(iph1, delete, msgid, encrypted)
454 int encrypted;
496 if(!iph1->rmconf->weak_phase1_check && !encrypted) {