![]() |
RTEMS 6.1-rc8
|
Data Fields | |
| dcp_hash_block_t | blk |
| size_t | blksz |
| dcp_hash_algo_t | algo |
| dcp_hash_algo_state_t | state |
| uint32_t | fullMessageSize |
| uint32_t | ctrl0 |
| uint32_t | runningHash [9] |
| dcp_handle_t * | handle |
internal dcp_hash context structure
| dcp_hash_algo_t _dcp_hash_ctx_internal::algo |
selected algorithm from the set of supported algorithms
| dcp_hash_block_t _dcp_hash_ctx_internal::blk |
memory buffer. only full blocks are written to DCP during hash updates
| size_t _dcp_hash_ctx_internal::blksz |
number of valid bytes in memory buffer
| uint32_t _dcp_hash_ctx_internal::ctrl0 |
HASH_INIT and HASH_TERM flags
| uint32_t _dcp_hash_ctx_internal::fullMessageSize |
track message size
| uint32_t _dcp_hash_ctx_internal::runningHash[9] |
running hash. up to SHA-256 plus size, that is 36 bytes.
| dcp_hash_algo_state_t _dcp_hash_ctx_internal::state |
finite machine state of the hash software process