BSL v1.1.1 - 19.g31939de
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
mock_bpa_crc_desc_t Struct Reference
+ Collaboration diagram for mock_bpa_crc_desc_t:

Data Fields

size_t out_size
 Output size.
 
size_t state_size
 State size.
 
void(* init )(void *state)
 Init function.
 
void(* update )(void *state, UsefulBufC data)
 Update function.
 
void(* finalize )(void *state, uint8_t *out)
 Finalize function.
 

Field Documentation

◆ finalize

void(* mock_bpa_crc_desc_t::finalize) (void *state, uint8_t *out)

Finalize function.

Parameters
[in]stateThe initialized state.
[out]outThe output buffer. The buffer must be of size out_size.

Referenced by mock_bpa_crc_apply(), mock_bpa_crc_check(), and mock_bpa_crc_oneshot().

◆ init

void(* mock_bpa_crc_desc_t::init) (void *state)

Init function.

Parameters
stateThe uninitialized state.

Referenced by mock_bpa_crc_apply(), mock_bpa_crc_check(), and mock_bpa_crc_oneshot().

◆ out_size

size_t mock_bpa_crc_desc_t::out_size

Output size.

Referenced by mock_bpa_crc_apply(), and mock_bpa_crc_check().

◆ state_size

size_t mock_bpa_crc_desc_t::state_size

◆ update

void(* mock_bpa_crc_desc_t::update) (void *state, UsefulBufC data)

Update function.

Parameters
stateThe initialized state.

Referenced by mock_bpa_crc_apply(), mock_bpa_crc_check(), and mock_bpa_crc_oneshot().


The documentation for this struct was generated from the following file: