NAME
EvmEventValidate() — perform a data integrity check on an event
SYNOPSIS
#include <evm/evm.h>
EvmStatus_t EvmEventValidate(
EvmEvent_t event );
Library
EVM Support Library
(libevm.so).
Parameters
- event
The event to be validated.
DESCRIPTION
The
EvmEventValidate()
routine performs a data integrity check on an event.
The data integrity check intends to validate an event
that was received over a connection or was retrieved from storage.
Do not use
the data integrity check
on an event that has been modified by the caller.
RETURN VALUE
- EvmERROR_NONE
The operation completed without error.
- EvmERROR_INVALID_ARGUMENT
One of the arguments to the function is invalid.
- EvmERROR_INVALID_VALUE
A value in a structure member is invalid.
- EvmERROR_NO_MEMORY
An operation failed because an attempt to acquire heap memory failed.
ERRORS
The value of
errno
is not set.