MPHELL  4.0.0
Functions
mphell-tmp.c File Reference

Definition of internal MPHELL big_uint memory functions. More...

#include "mphell-tmp.h"
Include dependency graph for mphell-tmp.c:

Go to the source code of this file.

Functions

uint32_t get_stack_size (uint8_t stack)
 Get the current size of stack nb stack. More...
 
bool verify_stack_size (uint32_t prev_size, uint8_t stack)
 Compare the current size and the previous size of stack nb stack. More...
 

Detailed Description

Definition of internal MPHELL big_uint memory functions.

Definition in file mphell-tmp.c.

Function Documentation

◆ get_stack_size()

uint32_t get_stack_size ( uint8_t  stack)

Get the current size of stack nb stack.

Parameters
stackTemporary memory stack to use
Returns
Current size of stack nb stack

Definition at line 320 of file mphell-tmp.c.

◆ verify_stack_size()

bool verify_stack_size ( uint32_t  prev_size,
uint8_t  stack 
)

Compare the current size and the previous size of stack nb stack.

Parameters
prev_sizePrevious size of the stack to compare with
stackTemporary memory stack to use
Returns
True if current size == previous size
False otherwise

Definition at line 338 of file mphell-tmp.c.