Lines Matching refs:ivec_size
284 static int ivec_size = IVEC; variable
476 ivec_size = v; in enc_do()
754 ivec_size = 0; /* we want no IV. */ in enc_xfer()
766 RAND_bytes(ivec, ivec_size); in enc_xfer()
770 memcpy(buf+salt_size, ivec, ivec_size); in enc_xfer()
772 n = salt_size + ivec_size; in enc_xfer()
785 if (salt_size+ivec_size == 0) { in enc_xfer()
788 n = read(sock_fr, buf, salt_size+ivec_size+96); in enc_xfer()
790 if (n == 0 && salt_size+ivec_size > 0) { in enc_xfer()
794 if (n < salt_size+ivec_size) { in enc_xfer()
813 memcpy(ivec, buf+salt_size, ivec_size); in enc_xfer()
816 n = n - salt_size - ivec_size; in enc_xfer()
817 psrc = buf + salt_size + ivec_size; in enc_xfer()
880 if (ivec_size < Cipher->iv_len && !securevnc) { in enc_xfer()
882 prog, encstr, ivec_size, Cipher->iv_len); in enc_xfer()
901 } else if (noultra && ivec_size > 0) { in enc_xfer()
958 } else if (first && n == 0 && salt_size + ivec_size == 0) { in enc_xfer()