mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-21 20:14:29 +00:00
feat(mbedtls): introduce crypto lib heap info struct
Add a struct to store information about the memory location of the heap, intended for use with cryptographic libraries such as Mbed-TLS. Change-Id: I42e6bbdbd3a353e01d70fb09b77edeef9498fd98 Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
This commit is contained in:
parent
0e932b8563
commit
24da55eef7
1 changed files with 9 additions and 0 deletions
|
@ -167,6 +167,15 @@ typedef struct meminfo {
|
|||
size_t total_size;
|
||||
} meminfo_t;
|
||||
|
||||
/*******************************************************************************
|
||||
* Structure used for conveying the location and size of the heap allocated for
|
||||
* use by the cryptography library.
|
||||
* *****************************************************************************/
|
||||
struct crypto_heap_info {
|
||||
void *addr;
|
||||
size_t size;
|
||||
};
|
||||
|
||||
/*******************************************************************************
|
||||
* Function & variable prototypes
|
||||
******************************************************************************/
|
||||
|
|
Loading…
Add table
Reference in a new issue