EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Control the buffer size

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#35076
Posted: 11/23/2015 06:03:17
by Aram Jivanyan (Basic support level)
Joined: 11/23/2015
Posts: 1

Is there any way to get buffers during read/write in 4096 byte lengths? We want to encrypt files with 4096 byte length blocks(except the latest block) Filter returns buffers with auxilary lengths...
#35077
Posted: 11/23/2015 06:08:38
by Eugene Mayevski (EldoS Corp.)

When the "process-cache" operation is handled, the filter passes to you whatever the initiating process has specified as the buffer. For "cache-filesystem" operations the buffer is a multiple of the cache page size.

There's no way to easily change the buffer size.

CallbackFilter includes several encryption-related samples and we recommend that you use one of them as a guide - encryption in filters is extremely non-trivial to implement. In particular, encryption algorithms are used in a special mode which allow seeking through the stream.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 1856 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!