Description:
Check whether the specified HASH flag is
set or not.
Parameters:
__FLAG__: specifies the flag to check.
This parameter can be one of the
following values:
HASH_FLAG_DINIS: A new block
can be entered into the input buffer.
HASH_FLAG_DCIS: Digest
calculation complete
HASH_FLAG_DMAS: DMA interface
is enabled (DMAE=1) or a transfer is
ongoing
HASH_FLAG_BUSY: The hash core
is Busy : processing a block of data
HASH_FLAG_DINNE: DIN not
empty : The input buffer contains at
least one word of data
Return value:
The: new state of __FLAG__ (TRUE or
FALSE).
Description:
Set the number of valid bits in last word
written in Data register.
Parameters:
SIZE: size in byte of last data written in
Data register.
Return value:
None