BSL v1.0.0 - 16.g9d98179
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSL_Data_t Struct Reference

Optional heap data storage and views. More...

#include <Data.h>

+ Collaboration diagram for BSL_Data_t:

Data Fields

bool owned
 Determine if the data is owned by this instance.
 
BSL_DataPtr_t ptr
 Pointer to the front of the buffer.
 
size_t len
 Size of the data buffer.
 

Detailed Description

Optional heap data storage and views.

Field Documentation

◆ len

size_t BSL_Data_t::len

Size of the data buffer.

Referenced by BSL_AbsSecBlock_DecodeFromCBOR(), BSL_AbsSecBlock_EncodeToCBOR(), BSL_API_QuerySecurity(), BSL_Cipher_AddData(), BSL_Cipher_FinalizeData(), BSL_Crypto_GenKey(), BSL_Crypto_UnwrapKey(), BSL_Crypto_WrapKey(), BSL_Data_AppendFrom(), BSL_Data_InitBuffer(), BSL_Data_InitView(), bsl_data_int_reset(), BSL_Data_Resize(), BSL_ExecBCBAcceptor(), BSL_ExecBIBAccept(), bsl_mock_decode_eid(), bsl_mock_decode_eid_from_ctx(), bsl_mock_decode_primary(), bsl_mock_encode_eid(), bsl_mock_encode_eid_from_ctx(), BSL_SecParam_InitBytestr(), BSL_SecResult_InitFull(), BSL_TestUtils_EncodeBase16(), BSL_TestUtils_IsB16StrEqualTo(), BSLX_BCB_ComputeAAD(), BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), BSLX_BCB_Execute(), BSLX_BCB_GetParams(), BSLX_BIB_Execute(), BSLX_BIB_GenHMAC(), BSLX_BIB_GenIPPT(), BSLX_BIB_InitFromSecOper(), Encode_ASB(), LLVMFuzzerTestOneInput(), M_ALGO_DEF(), mock_bpa_decode(), MockBPA_Agent_Exec(), MockBPA_Agent_work_deliver(), MockBPA_Agent_work_forward(), MockBPA_Agent_work_over_rx(), MockBPA_Agent_work_under_rx(), MockBPA_GetBundleMetadata(), setUp(), switch(), test_bsl_loopback_bundle(), test_bsl_loopback_eid(), test_bsl_mock_encode_canonical(), test_BSL_TestUtils_DecodeBase16_valid(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), test_qcbor_decode_only_head(), test_qcbor_decode_with_head(), test_qcbor_decode_without_head(), test_RFC9173_AppendixA_Example1_BIB_Source(), test_RFC9173_AppendixA_Example2_BCB_Source(), test_sec_accept_keyunwrap(), and test_sec_source_keywrap().

◆ owned

bool BSL_Data_t::owned

Determine if the data is owned by this instance.

True if this data is allocated and deallocated with the lifetime of this struct instance. False if this data is a view onto some other, externally-managed data.

Referenced by BSL_Data_CopyFrom(), BSL_Data_InitBuffer(), BSL_Data_InitView(), bsl_data_int_free(), bsl_data_int_reset(), BSL_Data_Resize(), BSL_TestUtils_IsB16StrEqualTo(), BSL_TestUtils_LoadBundleFromCBOR(), and test_BSL_TestUtils_DecodeBase16_valid().

◆ ptr


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