#ifndef __ASN1_ARCH_QSEE_CONFIG_H__
#define __ASN1_ARCH_QSEE_CONFIG_H__

#include "stdlib.h"

#include <tee_internal_api.h>

#define CALLOC(nmemb, size) TEE_Malloc((nmemb) * (size), HINT_FILL_WITH_ZEROS)
#define MALLOC(size)    TEE_Malloc(size, HINT_DONT_FILL_WITH_ZEROS)
#define REALLOC(oldptr, size) TEE_Realloc(oldptr, size)
#define FREEMEM(ptr)    TEE_Free(ptr)

#endif // __ASN1_ARCH_QSEE_CONFIG_H__
