27#ifndef BSL_MOCK_BPA_CRC_H_
28#define BSL_MOCK_BPA_CRC_H_
31#include <qcbor/UsefulBuf.h>
Single entry-point include file for all of the "Public" BPSec Lib (BSL) frontend API.
BSL_BundleCRCType_e
Block CRC types.
void mock_bpa_crc_apply(UsefulBuf buf, size_t begin, size_t end, BSL_BundleCRCType_e crc_type)
Apply a CRC function to an encoded block.
bool mock_bpa_crc_check(UsefulBufC buf, size_t begin, size_t end, BSL_BundleCRCType_e crc_type)
Check the CRC of an encoded block.