cmac_alloc_ctx
extern void *cmac_alloc_ctx(int);
allocf = cmac_alloc_ctx;
alloc_fun = cmac_alloc_ctx;