32 local_hash_handle = 0xffffffffL;
35 for(
int index = 0; index < len; index++) {
36 c =
static_cast<const char*
>(data)[index];
49 this->hash_handle = 0xffffffffL;
57 for(
int index = 0; index < len; index++) {
58 c =
static_cast<const char*
>(data)[index];
76 FW_ASSERT(
sizeof(this->hash_handle) ==
sizeof(U32));
78 hashvalue = ~(this->hash_handle);
88 this->hash_handle = ~this->hash_handle;
PlatformIntType NATIVE_INT_TYPE
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
A container class for holding a hash buffer.
static void hash(const void *data, const NATIVE_INT_TYPE len, HashBuffer &buffer)
void update(const void *const data, const NATIVE_INT_TYPE len)
void setHashValue(HashBuffer &value)
void final(HashBuffer &buffer)
unsigned long update_crc_32(unsigned long crc, char c)
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.