|
wickr-crypto-c
|
Functions | |
| void * | wickr_alloc (size_t len) |
| void * | wickr_alloc_zero (size_t len) |
| void | wickr_free (void *buf) |
| void | wickr_free_zero (void *buf, size_t len) |
| void* wickr_alloc | ( | size_t | len | ) |
Allocate memory from the system
| len | the number of bytes to allocate |
| void* wickr_alloc_zero | ( | size_t | len | ) |
Allocate zeroed memory from the system
| len | the number of bytes of zeroed memory to allocate |
| void wickr_free | ( | void * | buf | ) |
Free memory
| buf | the pointer to memory that needs to be freed |
| void wickr_free_zero | ( | void * | buf, |
| size_t | len | ||
| ) |
Zero-then-free memory
| buf | the buffer to fill with 0s and then free |
| len | the number of bytes to fill with 0s before freeing 'buf' |