 |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
32 local_hash_handle = 0xffffffffL;
35 for(
int index = 0; index < len; index++) {
36 c = ((
char*)data)[index];
49 this->hash_handle = 0xffffffffL;
57 for(
int index = 0; index < len; index++) {
58 c = ((
char*)data)[index];
76 FW_ASSERT(
sizeof(this->hash_handle) ==
sizeof(U32));
78 hashvalue = ~(this->hash_handle);
88 this->hash_handle = ~this->hash_handle;
SerializeStatus
forward declaration for string
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void final(HashBuffer &buffer)
An container class for holding a hash buffer.
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.
void setHashValue(HashBuffer &value)
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
void update(const void *const data, const NATIVE_INT_TYPE len)
int NATIVE_INT_TYPE
native integer type declaration
static void hash(const void *data, const NATIVE_INT_TYPE len, HashBuffer &buffer)
unsigned long update_crc_32(unsigned long crc, char c)