#include "system.h"
#include "blockpad.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
memchunk * | pkcs5Pad (int blockbytes, memchunk *tmp) |
Enlarge buffer to boundary. More... | |
memchunk * | pkcs5Unpad (int blockbytes, memchunk *tmp) |
Shrink buffer to boundary. More... | |
memchunk * | pkcs5PadCopy (int blockbytes, const memchunk *src) |
Copy/enlarge buffer to boundary. More... | |
memchunk * | pkcs5UnpadCopy (int blockbytes, const memchunk *src) |
Copy/shrink buffer to boundary. More... |
Definition in file blockpad.c.
|
Enlarge buffer to boundary.
Definition at line 33 of file blockpad.c. References memchunk::data, memchunkResize, and memchunk::size. |
|
Copy/enlarge buffer to boundary.
Definition at line 80 of file blockpad.c. References memchunk::data, memchunkAlloc, and memchunk::size. |
|
Shrink buffer to boundary.
Definition at line 50 of file blockpad.c. References memchunk::data, and memchunk::size. |
|
Copy/shrink buffer to boundary.
Definition at line 101 of file blockpad.c. References memchunk::data, memchunkAlloc, and memchunk::size. |