REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|

Public Attributes | |
dcp_hash_block_t | blk |
memory buffer. | |
size_t | blksz |
number of valid bytes in memory buffer | |
dcp_hash_algo_t | algo |
selected algorithm from the set of supported algorithms | |
dcp_hash_algo_state_t | state |
finite machine state of the hash software process | |
uint32_t | fullMessageSize |
track message size | |
uint32_t | ctrl0 |
HASH_INIT and HASH_TERM flags. | |
uint32_t | runningHash [9] |
running hash. | |
dcp_handle_t * | handle |
Detailed Description
Member Data Documentation
◆ algo
dcp_hash_algo_t utils::_dcp_hash_ctx_internal::algo |
selected algorithm from the set of supported algorithms
Definition at line 152 of file dcp.cpp.
Referenced by utils::DCP_HASH_Finish(), utils::DCP_HASH_Init(), and utils::dcp_hash_update_non_blocking().
◆ blk
dcp_hash_block_t utils::_dcp_hash_ctx_internal::blk |
memory buffer.
only full blocks are written to DCP during hash updates
Definition at line 150 of file dcp.cpp.
Referenced by utils::DCP_HASH_Finish(), utils::DCP_HASH_Init(), utils::dcp_hash_process_message_data(), and utils::DCP_HASH_Update().
◆ blksz
size_t utils::_dcp_hash_ctx_internal::blksz |
number of valid bytes in memory buffer
Definition at line 151 of file dcp.cpp.
Referenced by utils::DCP_HASH_Finish(), utils::DCP_HASH_Init(), utils::dcp_hash_process_message_data(), and utils::DCP_HASH_Update().
◆ ctrl0
uint32_t utils::_dcp_hash_ctx_internal::ctrl0 |
HASH_INIT and HASH_TERM flags.
Definition at line 155 of file dcp.cpp.
Referenced by utils::DCP_HASH_Finish(), utils::DCP_HASH_Update(), utils::dcp_hash_update(), and utils::dcp_hash_update_non_blocking().
◆ fullMessageSize
uint32_t utils::_dcp_hash_ctx_internal::fullMessageSize |
track message size
Definition at line 154 of file dcp.cpp.
Referenced by utils::DCP_HASH_Init(), and utils::DCP_HASH_Update().
◆ handle
dcp_handle_t* utils::_dcp_hash_ctx_internal::handle |
Definition at line 157 of file dcp.cpp.
Referenced by utils::DCP_HASH_Init(), utils::dcp_hash_update(), and utils::dcp_hash_update_non_blocking().
◆ runningHash
uint32_t utils::_dcp_hash_ctx_internal::runningHash[9] |
running hash.
up to SHA-256 plus size, that is 36 bytes.
Definition at line 156 of file dcp.cpp.
Referenced by utils::DCP_HASH_Finish(), and utils::dcp_hash_update_non_blocking().
◆ state
dcp_hash_algo_state_t utils::_dcp_hash_ctx_internal::state |
finite machine state of the hash software process
Definition at line 153 of file dcp.cpp.
Referenced by utils::DCP_HASH_Finish(), utils::DCP_HASH_Init(), and utils::DCP_HASH_Update().
The documentation for this struct was generated from the following file:
- lib/hardware/src/utils/dcp.cpp