TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseMemAllocation.c File Reference

Go to the source code of this file.

Data Structures

struct  CRYPTMEM_HEAD
 

Macros

#define CRYPTMEM_HEAD_SIGNATURE   SIGNATURE_32('c','m','h','d')
 
#define CRYPTMEM_OVERHEAD   sizeof(CRYPTMEM_HEAD)
 

Functions

void * malloc (size_t size)
 
void * realloc (void *ptr, size_t size)
 
void free (void *ptr)
 

Detailed Description

Base Memory Allocation Routines Wrapper for Crypto library over OpenSSL during PEI & DXE phases.

Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file BaseMemAllocation.c.

Macro Definition Documentation

◆ CRYPTMEM_HEAD_SIGNATURE

#define CRYPTMEM_HEAD_SIGNATURE   SIGNATURE_32('c','m','h','d')

Definition at line 16 of file BaseMemAllocation.c.

◆ CRYPTMEM_OVERHEAD

#define CRYPTMEM_OVERHEAD   sizeof(CRYPTMEM_HEAD)

Definition at line 23 of file BaseMemAllocation.c.

Function Documentation

◆ free()

void free ( void *  ptr)

Definition at line 107 of file BaseMemAllocation.c.

◆ malloc()

void * malloc ( size_t  size)

Definition at line 31 of file BaseMemAllocation.c.

◆ realloc()

void * realloc ( void *  ptr,
size_t  size 
)

Definition at line 64 of file BaseMemAllocation.c.