Lines Matching refs:cipherlen
337 int cipherlen = 0, tosend; in RemoteDirList() local
358 …cipherlen = EncryptString(out, sizeof(out), in, strlen(in) + 1, conn->encryption_type, conn->sessi… in RemoteDirList()
360 tosend = cipherlen + CF_PROTO_OFFSET; in RemoteDirList()
368 snprintf(sendbuffer, CF_BUFSIZE - 1, "SOPENDIR %d", cipherlen); in RemoteDirList()
369 memcpy(sendbuffer + CF_PROTO_OFFSET, out, cipherlen); in RemoteDirList()
468 int i, tosend, cipherlen; in CompareHashNet() local
491 cipherlen = in CompareHashNet()
496 tosend = cipherlen + CF_PROTO_OFFSET; in CompareHashNet()
504 snprintf(sendbuffer, CF_BUFSIZE, "SMD5 %d", cipherlen); in CompareHashNet()
505 memcpy(sendbuffer + CF_PROTO_OFFSET, out, cipherlen); in CompareHashNet()
553 int tosend, cipherlen = 0; in EncryptCopyRegularFileNet() local
588 …cipherlen = EncryptString(out, sizeof(out), in, strlen(in) + 1, conn->encryption_type, conn->sessi… in EncryptCopyRegularFileNet()
590 tosend = cipherlen + CF_PROTO_OFFSET; in EncryptCopyRegularFileNet()
598 snprintf(workbuf, CF_BUFSIZE, "SGET %4d %4d", cipherlen, blocksize); in EncryptCopyRegularFileNet()
599 memcpy(workbuf + CF_PROTO_OFFSET, out, cipherlen); in EncryptCopyRegularFileNet()
626 if ((cipherlen = ReceiveTransaction(conn->conn_info, buf, &more)) == -1) in EncryptCopyRegularFileNet()
659 …_DecryptUpdate(crypto_ctx, (unsigned char *) workbuf, &plainlen, (unsigned char *) buf, cipherlen)) in EncryptCopyRegularFileNet()