int BSLX_BIB_InitFromSecOper(BSLX_BIB_t *self, const BSL_SecOper_t *sec_oper)
Populate the BIB parameters convenience struct from the security operation struct.
void * BSLX_ScratchSpace_take(BSLX_ScratchSpace_t *scratch, size_t len)
This means "give me len bytes from the scratch space and increment a counter." This is a convenience ...
int BSLX_BIB_GenHMAC(BSLX_BIB_t *self, BSL_Data_t ippt_data)
Performs the actual HMAC over the given IPPT, placing the result in hmac_result.
int BSLX_BIB_GenIPPT(BSLX_BIB_t *self, BSL_Data_t ippt_space)
Computes the Integrity-Protected Plaintext (IPPT) for a canonical bundle block (non-primary)
struct BSLX_BCB_s BSLX_BCB_t
BCB encryption context with crypto primitives.
struct BSLX_ScratchSpace_s BSLX_ScratchSpace_t
Wrapper for large, variable-sized buffer holding all working data to compete a BCB operation.