ctr_eFuse/hsm_utils/my_hsm_alloc.h
kubodera_yuichi 4118586ac2 hsm_utils
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@113 ff987cc8-cf2f-4642-8568-d52cce064691
2009-12-28 01:03:51 +00:00

31 lines
623 B
C

/*
* my_hsm_alloc.h
*/
#ifndef MY_HSM_ALLOC_H
#define MY_HSM_ALLOC_H
#include "nfastapp.h"
#ifdef __cplusplus
extern "C" {
#endif
extern const NFast_MallocUpcalls my_hsm_malloc_upcalls;
void *my_hsm_malloc( size_t nbytes,
struct NFast_Call_Context *cctx, struct NFast_Transaction_Context *tctx );
void *my_hsm_realloc( void *ptr, size_t nbytes,
struct NFast_Call_Context *cctx, struct NFast_Transaction_Context *tctx );
void my_hsm_free( void *ptr,
struct NFast_Call_Context *cctx, struct NFast_Transaction_Context *tctx );
#ifdef __cplusplus
}
#endif
#endif // MY_HSM_ALLOC_H