Lines Matching defs:lstate

1055 	register int lstate = 0;
1087 lstate = encr_data.decrypt.state;
1091 lstate);
1102 lstate = ENCR_STATE_NOT_READY;
1107 lstate = ENCR_STATE_IN_PROGRESS;
1112 lstate &= ~ENCR_STATE_NO_RECV_IV;
1113 lstate &= ~ENCR_STATE_NO_SEND_IV;
1126 lstate = ENCR_STATE_NOT_READY;
1137 lstate &= ~ENCR_STATE_NO_RECV_IV; /* we received an OK IV */
1138 lstate &= ~ENCR_STATE_NO_SEND_IV; /* we dont send an IV */
1141 lstate = ENCR_STATE_NOT_READY;
1155 encr_data.decrypt.state = lstate;
1157 if (lstate == ENCR_STATE_NOT_READY)
1160 if (lstate == ENCR_STATE_OK && encr_data.decrypt.autoflag)
1178 register int lstate;
1183 lstate = encr_data.encrypt.state;
1190 return (lstate);
1204 if (lstate == ENCR_STATE_NOT_READY)
1205 lstate = ENCR_STATE_IN_PROGRESS;
1206 else if ((lstate & ENCR_STATE_NO_SEND_IV) == 0) {
1210 " state = %d\n", lstate);
1211 return (lstate);
1224 return (lstate);
1272 lstate &= ~ENCR_STATE_NO_SEND_IV; /* we sent our IV */
1273 lstate &= ~ENCR_STATE_NO_SEND_IV; /* dont need decrypt IV */
1275 encr_data.encrypt.state = lstate;
1287 return (lstate);
1345 int lstate;
1354 lstate = encrypt_send_encrypt_is();
1356 if (lstate != ENCR_STATE_OK) {
1360 "= %d\n", lstate);
1383 "(lstate = %d) data waiting = %d\n",
1385 lstate, nfrontp-nbackp);
1387 encr_data.encrypt.state = lstate;
1717 int lstate = ENCR_STATE_NOT_READY;
1742 lstate = encrypt_send_encrypt_is();
1743 if (lstate == ENCR_STATE_OK)
1841 int lstate;
1852 lstate = encr_data.encrypt.state;
1856 lstate);
1859 if (lstate == ENCR_STATE_NOT_READY)
1860 lstate = ENCR_STATE_IN_PROGRESS;
1861 lstate &= ~ENCR_STATE_NO_RECV_IV; /* we got the IV */
1862 lstate &= ~ENCR_STATE_NO_SEND_IV; /* we dont need to send IV */
1879 lstate = ENCR_STATE_NOT_READY;
1886 lstate = ENCR_STATE_NOT_READY;
1890 encr_data.encrypt.state = lstate;
1891 if (lstate == ENCR_STATE_NOT_READY) {
1900 if ((lstate == ENCR_STATE_OK) && encr_data.encrypt.autoflag)
1907 lstate);
1913 int lstate;
1915 lstate = (dir == TELNET_DIR_ENCRYPT ? encr_data.encrypt.state :
1922 "DECRYPT"), lstate);
1940 if (lstate == ENCR_STATE_NOT_READY)
1941 lstate = ENCR_STATE_IN_PROGRESS;
1945 lstate &= ~ENCR_STATE_NO_KEYID;
1952 "DECRYPT"), lstate);
1955 encr_data.encrypt.state = lstate;
1957 encr_data.decrypt.state = lstate;