|
BSL v1.1.1 - 19.g31939de
AMMOS Bundle Protocol Security Library (BSL)
|
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. | |
Optional heap data storage and views.
| size_t BSL_Data_t::len |
Size of the data buffer.
Referenced by BSL_AbsSecBlock_DecodeFromCBOR(), BSL_AbsSecBlock_EncodeToCBOR(), BSL_API_QuerySecurity(), BSL_Cipher_Init(), 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_ExecAnyVerifierAcceptor_Pre(), BSL_IdValPair_Decode(), BSL_IdValPair_Encode(), BSL_IdValPair_Print(), BSL_IdValPair_SetBytestr(), 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_TestUtils_EncodeBase16(), BSL_TestUtils_IsB16StrEqualTo(), BSLX_BCB_ComputeAAD(), BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), BSLX_BCB_Execute(), BSLX_BCB_GetOptions(), BSLX_BIB_Execute(), BSLX_BIB_GenHMAC(), BSLX_BIB_GenIPPT(), Encode_ASB(), LLVMFuzzerTestOneInput(), mock_bpa_ctr_decode(), mock_bpa_ctr_encode(), 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_eid(), test_bsl_mock_encode_canonical(), test_bsl_mock_encode_primary(), test_BSL_TestUtils_DecodeBase16_valid(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), test_mock_bpa_crc_crc16(), test_mock_bpa_crc_crc32c(), test_mock_bpa_ctr_decode_invalid(), test_qcbor_decode_array_nested(), test_qcbor_decode_only_head(), test_qcbor_decode_with_head(), test_qcbor_decode_without_head(), test_RFC9173_AppendixA_Example2_BCB_Source(), test_sec_accept_keyunwrap(), and test_sec_source_keywrap().
| 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(), and test_BSL_TestUtils_DecodeBase16_valid().
| BSL_DataPtr_t BSL_Data_t::ptr |
Pointer to the front of the buffer.
Referenced by BSL_AbsSecBlock_EncodeToCBOR(), BSL_API_QuerySecurity(), BSL_Cipher_AddSeq(), BSL_Cipher_FinalizeSeq(), BSL_Cipher_Init(), BSL_Crypto_GenKey(), BSL_Crypto_UnwrapKey(), BSL_Crypto_WrapKey(), BSL_Data_AppendFrom(), BSL_Data_CopyFrom(), BSL_Data_InitBuffer(), BSL_Data_InitView(), bsl_data_int_free(), bsl_data_int_reset(), BSL_Data_Resize(), BSL_ExecAnyVerifierAcceptor_Pre(), BSL_IdValPair_Encode(), BSL_IdValPair_Print(), BSL_IdValPair_SetBytestr(), bsl_mock_decode_eid(), bsl_mock_decode_primary(), bsl_mock_encode_eid(), bsl_mock_encode_eid_from_ctx(), BSL_TestUtils_DecodeBase16(), BSL_TestUtils_EncodeBase16(), BSL_TestUtils_IsB16StrEqualTo(), BSLX_BCB_ComputeAAD(), BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), BSLX_BCB_Execute(), BSLX_BCB_GetOptions(), BSLX_BIB_Execute(), BSLX_BIB_GenHMAC(), BSLX_BIB_GenIPPT(), Encode_ASB(), LLVMFuzzerTestOneInput(), mock_bpa_ctr_decode(), mock_bpa_ctr_encode(), MockBPA_Agent_Exec(), MockBPA_GetBundleMetadata(), setUp(), switch(), test_bsl_loopback_eid(), test_bsl_mock_encode_canonical(), test_bsl_mock_encode_primary(), test_BSL_TestUtils_DecodeBase16_valid(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), test_mock_bpa_crc_crc16(), test_mock_bpa_crc_crc32c(), test_mock_bpa_ctr_decode_invalid(), test_qcbor_decode_array_nested(), test_qcbor_decode_only_head(), test_qcbor_decode_with_head(), test_qcbor_decode_without_head(), test_RFC9173_AppendixA_Example2_BCB_Source(), test_sec_accept_keyunwrap(), test_sec_source_keywrap(), and TestASBDecodeEncodeClosure().