BSL v1.1.1 - 39.g9f43410
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSL_Data_t Struct Reference

Optional heap data storage and views. More...

#include <bsl/front/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_Decode(), BSL_API_QuerySecurity(), BSL_AuthCtx_Finalize(), BSL_AuthCtx_Init(), BSL_CBOR_Decode(), BSL_CBOR_Encode_Twopass(), BSL_Cipher_GetTag(), BSL_Cipher_Init(), BSL_Cipher_SetTag(), BSL_Crypto_CompareKeys(), BSL_Crypto_GenIV(), BSL_Crypto_GenKey(), BSL_Crypto_KDF(), BSL_Crypto_UnwrapKey(), BSL_Crypto_WrapKey(), BSL_Data_AppendFrom(), BSL_Data_Cmp(), BSL_Data_InitBuffer(), BSL_Data_InitView(), bsl_data_int_reset(), BSL_Data_Resize(), BSL_ExecAnyVerifierAcceptor_Pre(), BSL_IdValPair_Decode(), BSL_IdValPair_SetBytestr(), bsl_mock_decode_eid(), bsl_mock_decode_eid_from_ctx(), bsl_mock_decode_primary(), BSL_TestUtils_IsB16StrEqualTo(), BSL_TextUtil_Base16_Encode(), BSL_TextUtil_Base64_Decode(), BSL_TextUtil_Base64_Encode(), BSLP_PolicyOptions_SC3(), BSLX_BCB_ComputeAAD(), BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), BSLX_BCB_Execute(), BSLX_BIB_Execute(), BSLX_BIB_GenHMAC(), BSLX_BIB_GenIPPT(), BSLX_CoseMsg_Headers_Decode(), BSLX_CoseMsg_Mac0_Decode(), BSLX_CoseMsg_Mac_Decode(), BSLX_CoseMsg_Recipient_Decode(), BSLX_CoseSc_AddAadScope(), BSLX_CoseSc_bstring_AppendRaw(), BSLX_CoseSc_BuildAad(), BSLX_CoseSc_Encrypt_Compute(), BSLX_CoseSc_ExtractIV(), BSLX_CoseSc_GenerateIV(), BSLX_CoseSc_GenerateNonce(), BSLX_CoseSc_GetAndValidateAddlHeaders(), BSLX_CoseSc_GetAndValidateKey(), BSLX_CoseSc_GetOptions(), BSLX_CoseSc_Mac0_VerifyAccept(), BSLX_CoseSc_Mac_VerifyAccept(), ccsds_mac_rng(), cose_exA_5_rng(), cose_exA_6_rng(), Encode_ASB(), LLVMFuzzerTestOneInput(), mock_bpa_key_registry_cosekey_decode(), mock_bpa_key_registry_init_jwk(), MockBPA_Agent_Exec(), MockBPA_Agent_work_deliver(), MockBPA_Agent_work_forward(), MockBPA_Agent_work_over_rx(), MockBPA_Agent_work_under_rx(), test_AppendixA_Example1_BIB_Source(), test_AppendixA_Example1_BIB_VerifyAccept(), test_AppendixA_Example4_BCB_Source(), test_AppendixA_Example4_BCB_VerifyAccept(), test_AppendixA_Example5_BCB_Source(), test_AppendixA_Example5_BCB_VerifyAccept(), test_AppendixA_Example6_BCB_Source(), test_bsl_loopback_eid(), test_BSL_TextUtil_Base16_Decode_valid(), test_BSL_TextUtil_Base64_Decode_valid(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), test_CCSDS_Example_Mac_Source(), test_CCSDS_Example_Mac_VerifyAccept(), test_CoseSc_InvalidOptions_Verifier(), test_decrypt(), test_encrypt(), test_mock_bpa_crc_crc16(), test_mock_bpa_crc_crc32c(), test_mock_bpa_ctr_decode_invalid(), test_qcbor_decode_array_nested(), test_qcbor_decode_map_sequential(), test_qcbor_decode_only_head(), test_qcbor_decode_with_head(), test_qcbor_decode_without_head(), test_sec_accept_keyunwrap(), test_sec_source_keywrap(), and TestASBDecodeEncodeClosure().

◆ 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(), and BSL_TestUtils_IsB16StrEqualTo().

◆ ptr

BSL_DataPtr_t BSL_Data_t::ptr

Pointer to the front of the buffer.

Referenced by BSL_API_QuerySecurity(), BSL_AuthCtx_DigestSeq(), BSL_AuthCtx_Finalize(), BSL_AuthCtx_Init(), BSL_CBOR_Decode(), BSL_CBOR_Encode_Twopass(), BSL_Cipher_AddAadSeq(), BSL_Cipher_AddSeq(), BSL_Cipher_FinalizeSeq(), BSL_Cipher_GetTag(), BSL_Cipher_Init(), BSL_Cipher_SetTag(), BSL_Crypto_CompareKeys(), BSL_Crypto_GenIV(), BSL_Crypto_GenKey(), BSL_Crypto_KDF(), BSL_Crypto_UnwrapKey(), BSL_Crypto_WrapKey(), BSL_Data_AppendFrom(), BSL_Data_Cmp(), 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_Print(), BSL_IdValPair_SetBytestr(), bsl_mock_decode_eid(), bsl_mock_decode_primary(), BSL_TestUtils_IsB16StrEqualTo(), BSL_TestUtils_PrintHexToBuffer(), BSL_TextUtil_Base16_Decode(), BSL_TextUtil_Base16_Encode(), BSL_TextUtil_Base64_Decode(), BSL_TextUtil_Base64_Encode(), BSLP_PolicyOptions_SC3(), BSLX_BCB_ComputeAAD(), BSLX_BCB_Decrypt(), BSLX_BCB_Encrypt(), BSLX_BIB_Execute(), BSLX_BIB_GenHMAC(), BSLX_BIB_GenIPPT(), BSLX_CoseSc_AddAadScope(), BSLX_CoseSc_bstring_AppendRaw(), BSLX_CoseSc_Encrypt_Compute(), BSLX_CoseSc_ExtractIV(), BSLX_CoseSc_GenerateNonce(), BSLX_CoseSc_GetAndValidateAddlHeaders(), BSLX_CoseSc_GetAndValidateKey(), BSLX_CoseSc_GetOptions(), BSLX_CoseSc_Mac0_VerifyAccept(), BSLX_CoseSc_Mac_VerifyAccept(), ccsds_mac_rng(), cose_exA_5_rng(), cose_exA_6_rng(), Encode_ASB(), LLVMFuzzerTestOneInput(), mock_bpa_key_registry_init_jwk(), MockBPA_Agent_Exec(), test_AppendixA_Example1_BIB_Source(), test_AppendixA_Example1_BIB_VerifyAccept(), test_AppendixA_Example4_BCB_Source(), test_AppendixA_Example4_BCB_VerifyAccept(), test_AppendixA_Example5_BCB_Source(), test_AppendixA_Example5_BCB_VerifyAccept(), test_AppendixA_Example6_BCB_Source(), test_bsl_loopback_eid(), test_BSL_TextUtil_Base16_Decode_valid(), test_BSL_TextUtil_Base16_Encode(), test_BSL_TextUtil_Base64_Decode_valid(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), TEST_CASE(), test_CCSDS_Example_Mac_Source(), test_CCSDS_Example_Mac_VerifyAccept(), test_CoseSc_InvalidOptions_Verifier(), test_decrypt(), test_encrypt(), test_mock_bpa_crc_crc16(), test_mock_bpa_crc_crc32c(), test_mock_bpa_ctr_decode_invalid(), test_qcbor_decode_array_nested(), test_qcbor_decode_map_sequential(), test_qcbor_decode_only_head(), test_qcbor_decode_with_head(), test_qcbor_decode_without_head(), test_sec_accept_keyunwrap(), test_sec_source_keywrap(), and TestASBDecodeEncodeClosure().


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