|
post quantum cryptography
Highly optimized implementation of the NTRUEncrypt algorithm
|
memory management More...

Go to the source code of this file.
Functions | |
| void * | ntru_malloc (size_t size) |
| void * | ntru_calloc (size_t nmemb, size_t size) |
memory management
This file provides functions for memory management.
Definition in file ntru_mem.c.
| void* ntru_calloc | ( | size_t | nmemb, |
| size_t | size | ||
| ) |
Allocate memory of size and return a void pointer. The memory is zeroed.
| nmemb | amount of blocks to allocate |
| size | of the memory blocks to allocate in bytes |
Definition at line 56 of file ntru_mem.c.
| void* ntru_malloc | ( | size_t | size | ) |
Allocate memory of size and return a void pointer.
| size | of the memory to allocate in bytes |
Definition at line 38 of file ntru_mem.c.
1.8.7