32#define CRYPTMEM_HEAD_SIGNATURE SIGNATURE_32('c','m','h','d')
39#define CRYPTMEM_OVERHEAD sizeof(CRYPTMEM_HEAD)
59 NewSize = (
UINTN)(size * num) + CRYPTMEM_OVERHEAD;
67 PoolHdr->Signature = CRYPTMEM_HEAD_SIGNATURE;
70 return (VOID *)(PoolHdr + 1);
93 ASSERT (PoolHdr->Signature == CRYPTMEM_HEAD_SIGNATURE);
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
VOID EFIAPI FreePool(IN VOID *Buffer)