Lines Matching defs:rval
438 int rval = XEVNT_OK;
465 rval = XEVNT_OK;
524 rval = XEVNT_ERR;
529 rval = XEVNT_ERR;
548 rval = XEVNT_ERR;
554 rval = XEVNT_LEN;
572 rval = XEVNT_KEY;
588 rval = XEVNT_KEY;
601 rval = XEVNT_MD;
650 if ((rval = crypto_verify(ep, NULL, peer)) !=
662 rval = XEVNT_CRT;
665 if ((rval = cert_hike(peer, xinfo)) != XEVNT_OK)
707 if ((rval = crypto_verify(ep, NULL, peer)) !=
719 if ((rval = crypto_iff(ep, peer)) != XEVNT_OK)
745 if ((rval = crypto_verify(ep, NULL, peer)) !=
757 if ((rval = crypto_gq(ep, peer)) != XEVNT_OK)
782 if ((rval = crypto_verify(ep, NULL, peer)) !=
794 if ((rval = crypto_mv(ep, peer)) != XEVNT_OK)
818 if ((rval = crypto_verify(ep, &peer->cookval,
830 rval = XEVNT_CKY;
839 rval = XEVNT_CKY;
847 rval = XEVNT_CKY;
888 if ((rval = crypto_verify(ep, &peer->recval,
942 if ((rval = crypto_verify(ep, NULL, peer)) !=
952 rval = XEVNT_CRT;
979 rval = crypto_verify(ep, NULL, peer);
980 if ((rval != XEVNT_OK ) ||
1021 rval = XEVNT_LEN;
1036 rval = XEVNT_ERR;
1048 if (rval != XEVNT_OK) {
1051 associd, rval, eventstr(rval));
1054 return (rval);
1058 return (rval);
1101 int rval;
1124 rval = XEVNT_OK;
1160 rval = XEVNT_PER;
1180 rval = XEVNT_LEN;
1239 if ((rval = crypto_alice(peer, &vtemp)) == XEVNT_OK) {
1249 if ((rval = crypto_bob(ep, &vtemp)) == XEVNT_OK) {
1262 if ((rval = crypto_alice2(peer, &vtemp)) == XEVNT_OK) {
1272 if ((rval = crypto_bob2(ep, &vtemp)) == XEVNT_OK) {
1285 if ((rval = crypto_alice3(peer, &vtemp)) == XEVNT_OK) {
1295 if ((rval = crypto_bob3(ep, &vtemp)) == XEVNT_OK) {
1310 if ((rval = cert_sign(ep, &vtemp)) == XEVNT_OK) {
1333 rval = XEVNT_LEN;
1340 if ((rval = crypto_encrypt((const u_char *)ep->pkt, vallen, &tcookie, &vtemp))
1357 rval = XEVNT_ERR;
1380 rval = XEVNT_ERR;
1387 if (rval != XEVNT_OK) {
1394 "%04x %d %02x %s", opcode, associd, rval,
1395 eventstr(rval));