Logo Search packages:      
Sourcecode: libtomcrypt version File versions  Download package

void burn_stack ( unsigned long  len)

Burn some stack memory

Parameters:
lenamount of stack to burn in bytes

Definition at line 22 of file burn_stack.c.

References zeromem().

{
   unsigned char buf[32];
   zeromem(buf, sizeof(buf));
   if (len > (unsigned long)sizeof(buf))
      burn_stack(len - sizeof(buf));
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index