Home | History | Annotate | Download | only in racoon

Lines Matching refs:sw

891 oakley_ph1hash_common(iph1, sw)
893 int sw;
908 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l);
913 bp = (sw == GENERATE ? iph1->gi_i : iph1->gi_r);
916 if (sw == GENERATE)
935 bp = (sw == GENERATE ? iph1->dhpub : iph1->dhpub_p);
939 bp = (sw == GENERATE ? iph1->dhpub_p : iph1->dhpub);
944 bp2 = (sw == GENERATE ?
947 bp2 = (sw == GENERATE ?
954 bp2 = (sw == GENERATE ?
957 bp2 = (sw == GENERATE ?
967 bp = (sw == GENERATE ? iph1->id : iph1->id_p);
974 bp = (sw == GENERATE ? iph1->gi_i : iph1->gi_r);
1015 oakley_ph1hash_base_i(iph1, sw)
1017 int sw;
1077 bp = (sw == GENERATE ? iph1->nonce_p : iph1->nonce);
1081 bp = (sw == GENERATE ? iph1->nonce : iph1->nonce_p);
1102 len = (sw == GENERATE ? iph1->dhpub->l : iph1->dhpub_p->l)
1105 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l);
1114 bp = (sw == GENERATE ? iph1->dhpub : iph1->dhpub_p);
1126 bp = (sw == GENERATE ? iph1->id : iph1->id_p);
1157 oakley_ph1hash_base_r(iph1, sw)
1159 int sw;
1207 bp = (sw == GENERATE ? iph1->nonce_p : iph1->nonce);
1211 bp = (sw == GENERATE ? iph1->nonce : iph1->nonce_p);
1222 len = (sw == GENERATE ? iph1->dhpub_p->l : iph1->dhpub->l)
1223 + (sw == GENERATE ? iph1->dhpub->l : iph1->dhpub_p->l)
1226 + (sw == GENERATE ? iph1->id_p->l : iph1->id->l);
1236 bp = (sw == GENERATE ? iph1->dhpub_p : iph1->dhpub);
1240 bp = (sw == GENERATE ? iph1->dhpub : iph1->dhpub_p);
1252 bp = (sw == GENERATE ? iph1->id_p : iph1->id);