mirror of
https://github.com/vgough/encfs.git
synced 2025-08-13 23:48:59 +02:00
break out cipher primitives, add unit tests
git-svn-id: http://encfs.googlecode.com/svn/trunk@94 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
@ -29,7 +29,8 @@ namespace encfs {
|
||||
Memory Pool for fixed sized objects.
|
||||
|
||||
Usage:
|
||||
MemBlock mb( size );
|
||||
MemBlock mb;
|
||||
mb.allocate( size );
|
||||
// do things with storage in mb.data
|
||||
byte *buffer = mb.data;
|
||||
|
||||
@ -59,7 +60,7 @@ namespace MemoryPool
|
||||
struct SecureMem
|
||||
{
|
||||
int size;
|
||||
char *data;
|
||||
byte *data;
|
||||
|
||||
SecureMem(int len);
|
||||
~SecureMem();
|
||||
|
Reference in New Issue
Block a user