|
BSL v1.1.1 - 39.g9f43410
AMMOS Bundle Protocol Security Library (BSL)
|
Defines a security operation. More...
Include dependency graph for SecOperation.c:Functions | |
| size_t | BSL_SecOper_Sizeof (void) |
| void | BSL_SecOper_Init (BSL_SecOper_t *self) |
| Initialize a newly allocated structure. | |
| void | BSL_SecOper_InitSet (BSL_SecOper_t *self, const BSL_SecOper_t *src) |
| Initialize from a copy. | |
| void | BSL_SecOper_Deinit (BSL_SecOper_t *self) |
| Empty and release any resources used internally by this structure. | |
| void | BSL_SecOper_Set (BSL_SecOper_t *self, const BSL_SecOper_t *src) |
| Set from a copy. | |
| void | BSL_SecOper_Populate (BSL_SecOper_t *self, int64_t context_id, uint64_t target_block_num, uint64_t sec_block_num, BSL_SecBlockType_e sec_type, BSL_SecRole_e sec_role, BSL_PolicyAction_e policy_action) |
| Populate an initialized Security Operation with the given values. | |
| size_t | BSL_SecOper_CountOptions (const BSL_SecOper_t *self) |
| Get the count of parameters contained within this security operation. | |
| bool | BSL_SecOper_IsConsistent (const BSL_SecOper_t *self) |
| Returns true if internal consistency and sanity checks pass. | |
| void | BSL_SecOper_AppendOption (BSL_SecOper_t *self, const BSL_IdValPair_t *option) |
| Add the given option to this operation. | |
| void | BSL_SecOper_AppendParam (BSL_SecOper_t *self, const BSL_IdValPair_t *param) |
| Add the given security parameter to this operation manually. | |
| BSL_IdValPair_t * | BSL_SecOper_AddParam (BSL_SecOper_t *self, int64_t param_id) |
| Add an empty security parameter. | |
| BSL_IdValPair_t * | BSL_SecOper_AddResult (BSL_SecOper_t *self, int64_t result_id) |
| Add an empty security result. | |
| size_t | BSL_SecOper_CountParams (const BSL_SecOper_t *self) |
| Get the count of parameters contained within this security operation. | |
| size_t | BSL_SecOper_CountResults (const BSL_SecOper_t *self) |
| Get the count of results contained within this security operation. | |
| void | BSL_SecOper_ClearParamsAndResults (BSL_SecOper_t *self) |
| Clear all parameters and results contained within this security operation. | |
| uint64_t | BSL_SecOper_GetSecurityBlockNum (const BSL_SecOper_t *self) |
| Get the block number of the security block containing this sec operation. | |
| uint64_t | BSL_SecOper_GetTargetBlockNum (const BSL_SecOper_t *self) |
| Get the block number of the target block covered by this security operation. | |
| const BSL_HostEID_t * | BSL_SecOper_GetSecuritySource (const BSL_SecOper_t *self) |
| Get the security source for an operation. | |
| const BSL_IdValPair_t * | BSL_SecOper_FindOption (const BSL_SecOper_t *self, int64_t option_id) |
| Returns a pointer to the Security Parameter at a given index in the list of all parameters. | |
| const BSL_IdValPair_t * | BSL_SecOper_FindParam (const BSL_SecOper_t *self, int64_t param_id) |
| Returns a pointer to the Security Parameter at a given index in the list of all parameters. | |
| size_t | BSL_SecOper_ResultCount (const BSL_SecOper_t *self) |
| Count the number of results present. | |
| const BSL_IdValPair_t * | BSL_SecOper_FindResult (const BSL_SecOper_t *self, int64_t result_id) |
| Returns a pointer to the Security Parameter at a given index in the list of all parameters. | |
| bool | BSL_SecOper_IsRoleSource (const BSL_SecOper_t *self) |
| Return true if this security operation's role is SOURCE. | |
| bool | BSL_SecOper_IsRoleAcceptor (const BSL_SecOper_t *self) |
| Return true if this security operation's role is Acceptor. | |
| bool | BSL_SecOper_IsRoleVerifier (const BSL_SecOper_t *self) |
| Return true if this security operation's role is Verifier. | |
| bool | BSL_SecOper_IsBIB (const BSL_SecOper_t *self) |
| Return true if this security operation is BIB. | |
| BSL_PolicyAction_e | BSL_SecOper_GetPolicyAction (const BSL_SecOper_t *self) |
| Retrieve the policy action of a security operation. | |
| BSL_ReasonCode_t | BSL_SecOper_GetReasonCode (const BSL_SecOper_t *self) |
| Get security operation reason code. | |
| void | BSL_SecOper_SetReasonCode (BSL_SecOper_t *self, BSL_ReasonCode_t new_reason_code) |
| Set the security operation reason code. | |
| BSL_SecOper_ConclusionState_e | BSL_SecOper_GetConclusion (const BSL_SecOper_t *self) |
| Retrieve the conclusion state of a security operation. | |
| void | BSL_SecOper_SetConclusion (BSL_SecOper_t *self, BSL_SecOper_ConclusionState_e new_conclusion) |
| Set the security operation conclusion state. | |
Defines a security operation.
| BSL_IdValPair_t * BSL_SecOper_AddParam | ( | BSL_SecOper_t * | self, |
| int64_t | param_id | ||
| ) |
Add an empty security parameter.
| [in,out] | self | This security operation. |
| [in] | param_id | Security parameter ID. |
References ASSERT_PRECONDITION, BSL_SecOper_IsConsistent(), and BSLB_IdValPairPtrMap_add().
Referenced by BSLX_BCB_Execute(), BSLX_BIB_Execute(), and BSLX_CoseSc_AddAadScope().
| BSL_IdValPair_t * BSL_SecOper_AddResult | ( | BSL_SecOper_t * | self, |
| int64_t | result_id | ||
| ) |
Add an empty security result.
| [in,out] | self | This security operation. |
| [in] | result_id | Security result ID. |
References ASSERT_PRECONDITION, BSL_SecOper_IsConsistent(), and BSLB_IdValPairPtrMap_add().
Referenced by BSLX_BCB_Execute(), BSLX_BIB_Execute(), BSLX_CoseSc_Encrypt0_Source(), BSLX_CoseSc_Encrypt_Source(), BSLX_CoseSc_Mac0_Source(), and BSLX_CoseSc_Mac_Source().
| void BSL_SecOper_AppendOption | ( | BSL_SecOper_t * | self, |
| const BSL_IdValPair_t * | option | ||
| ) |
Add the given option to this operation.
| [in,out] | self | This security operation |
| [in] | option | Security option to include. |
References ASSERT_ARG_EXPR, ASSERT_POSTCONDITION, ASSERT_PRECONDITION, BSL_IdValPair_IsConsistent(), and BSL_SecOper_IsConsistent().
Referenced by BSL_TestUtils_InitBCB_Appendix2(), BSL_TestUtils_InitBIB_AppendixA1(), BSLP_PolicyRule_EvaluateAsSecOper(), set_CoseSc_InvalidOptions_Source_baseline(), 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_CCSDS_Example_Mac_Source(), test_CCSDS_Example_Mac_VerifyAccept(), test_CoseSc_InvalidOptions_Verifier(), test_RFC9173_AppendixA_Example3_Acceptor(), test_RFC9173_AppendixA_Example3_Source(), test_RFC9173_AppendixA_Example4_Acceptor(), test_RFC9173_AppendixA_Example4_Source(), test_sec_accept_keyunwrap(), and test_sec_source_keywrap().
| void BSL_SecOper_AppendParam | ( | BSL_SecOper_t * | self, |
| const BSL_IdValPair_t * | param | ||
| ) |
Add the given security parameter to this operation manually.
| [in,out] | self | This security operation |
| [in] | param | Security parameter to include. |
References ASSERT_ARG_EXPR, ASSERT_POSTCONDITION, ASSERT_PRECONDITION, BSL_IdValPair_IsConsistent(), and BSL_SecOper_IsConsistent().
| void BSL_SecOper_ClearParamsAndResults | ( | BSL_SecOper_t * | self | ) |
Clear all parameters and results contained within this security operation.
| [in,out] | self | This security operation |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSL_SecCtx_ExecutePolicyActionSet().
| size_t BSL_SecOper_CountOptions | ( | const BSL_SecOper_t * | self | ) |
Get the count of parameters contained within this security operation.
| self | This security operation. |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by test_PolicyProvider_Inspect_RFC9173_BIB().
| size_t BSL_SecOper_CountParams | ( | const BSL_SecOper_t * | self | ) |
Get the count of parameters contained within this security operation.
| [in] | self | This security operation |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
| size_t BSL_SecOper_CountResults | ( | const BSL_SecOper_t * | self | ) |
Get the count of results contained within this security operation.
| [in] | self | This security operation |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by test_AppendixA_Example1_BIB_Source(), test_AppendixA_Example4_BCB_Source(), test_AppendixA_Example5_BCB_Source(), test_AppendixA_Example6_BCB_Source(), test_CCSDS_Example_Mac_Source(), test_RFC9173_AppendixA_Example1_BIB_Source(), test_RFC9173_AppendixA_Example2_BCB_Source(), and test_sec_source_keywrap().
| void BSL_SecOper_Deinit | ( | BSL_SecOper_t * | self | ) |
Empty and release any resources used internally by this structure.
Certain backend implementations may create dynamic data structures that may need to be cleaned up, so it is essential to call this under all circumstances.
| [in,out] | self | Non-NULL pointer to this security operation |
References ASSERT_ARG_NONNULL.
Referenced by BCBTestContext_Deinit(), BIBTestContext_Deinit(), BSLP_QueryPolicy(), 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_CCSDS_Example_Mac_Source(), test_CCSDS_Example_Mac_VerifyAccept(), test_CoseSc_InvalidOptions_Source(), test_CoseSc_InvalidOptions_Verifier(), and test_SamplePolicyProvider_WildcardPolicyRuleVerifiesBIB().
| const BSL_IdValPair_t * BSL_SecOper_FindOption | ( | const BSL_SecOper_t * | self, |
| int64_t | option_id | ||
| ) |
Returns a pointer to the Security Parameter at a given index in the list of all parameters.
| [in] | self | This security operation |
| option_id | The internal option ID value to search for. |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSLX_BCB_GetOptions(), BSLX_BIB_InitFromSecOper(), and BSLX_CoseSc_GetOptions().
| const BSL_IdValPair_t * BSL_SecOper_FindParam | ( | const BSL_SecOper_t * | self, |
| int64_t | param_id | ||
| ) |
Returns a pointer to the Security Parameter at a given index in the list of all parameters.
| [in] | self | This security operation |
| param_id | The parameter ID value to search for. |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSLX_BCB_Execute(), BSLX_BIB_Execute(), BSLX_CoseSc_GetAndValidateAadScope(), BSLX_CoseSc_GetAndValidateAddlHeaders(), and test_sec_source_keywrap().
| const BSL_IdValPair_t * BSL_SecOper_FindResult | ( | const BSL_SecOper_t * | self, |
| int64_t | param_id | ||
| ) |
Returns a pointer to the Security Parameter at a given index in the list of all parameters.
| [in] | self | This security operation |
| [in] | index | Index of security parameter list to retrieve from |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSLX_BCB_Execute(), BSLX_BIB_Execute(), BSLX_CoseSc_Execute(), test_AppendixA_Example1_BIB_Source(), test_AppendixA_Example4_BCB_Source(), test_AppendixA_Example5_BCB_Source(), test_AppendixA_Example6_BCB_Source(), test_CCSDS_Example_Mac_Source(), test_RFC9173_AppendixA_Example1_BIB_Source(), test_RFC9173_AppendixA_Example2_BCB_Source(), and test_sec_source_keywrap().
| BSL_SecOper_ConclusionState_e BSL_SecOper_GetConclusion | ( | const BSL_SecOper_t * | self | ) |
Retrieve the conclusion state of a security operation.
| [in] | self | The security operation |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSL_API_ApplySecurity(), BSLP_FinalizePolicy(), test_BSL_32(), TEST_CASE(), and test_dyn_mem_cbs_BSL_32().
| BSL_PolicyAction_e BSL_SecOper_GetPolicyAction | ( | const BSL_SecOper_t * | self | ) |
Retrieve the policy action of a security operation.
| [in] | self | The security operation |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSLP_PolicyProvider_HandleFailures().
| BSL_ReasonCode_t BSL_SecOper_GetReasonCode | ( | const BSL_SecOper_t * | self | ) |
Get security operation reason code.
| [in] | self | the security operation |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSL_SecCtx_ExecutePolicyActionSet(), and BSLP_PolicyProvider_HandleFailures().
| uint64_t BSL_SecOper_GetSecurityBlockNum | ( | const BSL_SecOper_t * | self | ) |
Get the block number of the security block containing this sec operation.
| [in] | self | This security operation |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSLP_QueryPolicy(), BSLX_BCB_Execute(), BSLX_BIB_Execute(), and BSLX_CoseSc_Prepare().
| const BSL_HostEID_t * BSL_SecOper_GetSecuritySource | ( | const BSL_SecOper_t * | self | ) |
Get the security source for an operation.
If the operation role is source, this is the local security EID, otherwise it is the EID from the ASB from which this operation originated.
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSLX_CoseSc_ExternalAad_Chunked(), and BSLX_CoseSc_HkdfContentKey().
| uint64_t BSL_SecOper_GetTargetBlockNum | ( | const BSL_SecOper_t * | self | ) |
Get the block number of the target block covered by this security operation.
| [in] | self | This security operation |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSL_ExecBCBVerifierAcceptor(), BSL_ExecBIBVerifierAcceptor(), BSL_TestSecCtx_Validate(), BSLP_PolicyProvider_HandleFailures(), BSLP_QueryPolicy(), BSLX_BCB_Execute(), BSLX_BCB_Init(), BSLX_BIB_Execute(), and BSLX_CoseSc_Prepare().
| void BSL_SecOper_Init | ( | BSL_SecOper_t * | self | ) |
Initialize a newly allocated structure.
| [in,out] | self | Non-NULL pointer to this security operation |
References ASSERT_ARG_NONNULL.
Referenced by BCBTestContext_Init(), BIBTestContext_Init(), BSL_TestUtils_InitMallocBIBActionSet(), BSLP_QueryPolicy(), 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_CCSDS_Example_Mac_Source(), test_CCSDS_Example_Mac_VerifyAccept(), test_CoseSc_InvalidOptions_Source(), test_CoseSc_InvalidOptions_Verifier(), test_RFC9173_AppendixA_Example3_Acceptor(), test_RFC9173_AppendixA_Example3_Source(), test_RFC9173_AppendixA_Example4_Acceptor(), test_RFC9173_AppendixA_Example4_Source(), test_SamplePolicyProvider_WildcardPolicyRuleVerifiesBIB(), and test_SecurityContext_ValidatePolicyActionSet_UsesRegisteredValidator().
| void BSL_SecOper_InitSet | ( | BSL_SecOper_t * | self, |
| const BSL_SecOper_t * | src | ||
| ) |
Initialize from a copy.
| [in,out] | self | Non-NULL pointer to this security operation |
| [in] | src | Non-NULL pointer to this source to copy from. |
References ASSERT_ARG_NONNULL, ASSERT_POSTCONDITION, and BSL_SecOper_IsConsistent().
| bool BSL_SecOper_IsBIB | ( | const BSL_SecOper_t * | self | ) |
Return true if this security operation is BIB.
| [in] | self | This security operation |
References ASSERT_PRECONDITION, BSL_SECBLOCKTYPE_BIB, and BSL_SecOper_IsConsistent().
Referenced by BSL_SecCtx_ExecutePolicyActionSet(), BSLP_QueryPolicy(), BSLX_CoseSc_Prepare(), and test_SamplePolicyProvider_WildcardPolicyRuleVerifiesBIB().
| bool BSL_SecOper_IsConsistent | ( | const BSL_SecOper_t * | self | ) |
Returns true if internal consistency and sanity checks pass.
| [in] | self | This security operation |
References BSL_SECBLOCKTYPE_BCB, BSL_SECBLOCKTYPE_BIB, BSL_SECOP_CONCLUSION_FAILURE, BSL_SECOP_CONCLUSION_PENDING, BSL_SECROLE_ACCEPTOR, BSL_SECROLE_SOURCE, BSL_SECROLE_VERIFIER, and CHK_AS_BOOL.
Referenced by BSL_ExecBIBVerifierAcceptor(), BSL_SecOper_AddParam(), BSL_SecOper_AddResult(), BSL_SecOper_AppendOption(), BSL_SecOper_AppendParam(), BSL_SecOper_ClearParamsAndResults(), BSL_SecOper_CountOptions(), BSL_SecOper_CountParams(), BSL_SecOper_CountResults(), BSL_SecOper_FindOption(), BSL_SecOper_FindParam(), BSL_SecOper_FindResult(), BSL_SecOper_GetConclusion(), BSL_SecOper_GetPolicyAction(), BSL_SecOper_GetReasonCode(), BSL_SecOper_GetSecurityBlockNum(), BSL_SecOper_GetSecuritySource(), BSL_SecOper_GetTargetBlockNum(), BSL_SecOper_InitSet(), BSL_SecOper_IsBIB(), BSL_SecOper_IsRoleAcceptor(), BSL_SecOper_IsRoleSource(), BSL_SecOper_IsRoleVerifier(), BSL_SecOper_Populate(), BSL_SecOper_ResultCount(), BSL_SecOper_Set(), BSL_SecOper_SetConclusion(), BSL_SecOper_SetReasonCode(), and BSLX_BIB_Execute().
| bool BSL_SecOper_IsRoleAcceptor | ( | const BSL_SecOper_t * | self | ) |
Return true if this security operation's role is Acceptor.
| [in] | self | This Security Operation |
References ASSERT_PRECONDITION, BSL_SecOper_IsConsistent(), and BSL_SECROLE_ACCEPTOR.
Referenced by BSLX_BCB_Execute().
| bool BSL_SecOper_IsRoleSource | ( | const BSL_SecOper_t * | self | ) |
Return true if this security operation's role is SOURCE.
| [in] | self | This Security Operation |
References ASSERT_PRECONDITION, BSL_SecOper_IsConsistent(), and BSL_SECROLE_SOURCE.
Referenced by BSL_SecCtx_ExecutePolicyActionSet(), BSLP_QueryPolicy(), BSLX_BCB_Init(), BSLX_BIB_InitFromSecOper(), and BSLX_CoseSc_Prepare().
| bool BSL_SecOper_IsRoleVerifier | ( | const BSL_SecOper_t * | self | ) |
Return true if this security operation's role is Verifier.
| [in] | self | This Security Operation |
References ASSERT_PRECONDITION, BSL_SecOper_IsConsistent(), and BSL_SECROLE_VERIFIER.
Referenced by BSL_ExecBCBVerifierAcceptor(), BSL_ExecBIBVerifierAcceptor(), and BSLX_CoseSc_Prepare().
| void BSL_SecOper_Populate | ( | BSL_SecOper_t * | self, |
| int64_t | context_id, | ||
| uint64_t | target_block_num, | ||
| uint64_t | sec_block_num, | ||
| BSL_SecBlockType_e | sec_type, | ||
| BSL_SecRole_e | sec_role, | ||
| BSL_PolicyAction_e | policy_action | ||
| ) |
Populate an initialized Security Operation with the given values.
| [in,out] | self | Non-NULL pointer to this security operation. |
| [in] | context_id | ID of the security context |
| [in] | target_block_num | Block ID of security target block |
| [in] | sec_block_num | Block ID of security block. |
| [in] | sec_type | Member of BSL_SecBlockType_e enum indicating BIB or BCB |
| [in] | sec_role | Member of BSL_SecRole_e enum indicating role. |
| [in] | policy_action | Member of BSL_PolicyAction_e enum indicating failure policy |
References ASSERT_ARG_NONNULL, ASSERT_POSTCONDITION, BSL_REASONCODE_NO_ADDITIONAL_INFO, BSL_SECOP_CONCLUSION_PENDING, and BSL_SecOper_IsConsistent().
Referenced by BSL_TestUtils_InitBCB_Appendix2(), BSL_TestUtils_InitBIB_AppendixA1(), BSLP_PolicyRule_EvaluateAsSecOper(), 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_CCSDS_Example_Mac_Source(), test_CCSDS_Example_Mac_VerifyAccept(), test_CoseSc_InvalidOptions_Source(), test_CoseSc_InvalidOptions_Verifier(), test_RFC9173_AppendixA_Example3_Acceptor(), test_RFC9173_AppendixA_Example3_Source(), test_RFC9173_AppendixA_Example4_Acceptor(), test_RFC9173_AppendixA_Example4_Source(), test_sec_accept_keyunwrap(), test_sec_source_keywrap(), and test_SecurityContext_ValidatePolicyActionSet_UsesRegisteredValidator().
| size_t BSL_SecOper_ResultCount | ( | const BSL_SecOper_t * | self | ) |
Count the number of results present.
| [in] | self | The security operation |
References ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSLX_CoseSc_Execute().
| void BSL_SecOper_Set | ( | BSL_SecOper_t * | self, |
| const BSL_SecOper_t * | src | ||
| ) |
Set from a copy.
| [in,out] | self | Non-NULL pointer to this security operation |
| [in] | src | Non-NULL pointer to this source to copy from. |
References ASSERT_POSTCONDITION, ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
| void BSL_SecOper_SetConclusion | ( | BSL_SecOper_t * | self, |
| BSL_SecOper_ConclusionState_e | new_conclusion | ||
| ) |
Set the security operation conclusion state.
| [in,out] | self | security operation to change conclusion state of |
| [in] | new_conclusion | new conclusion to set to |
References ASSERT_POSTCONDITION, ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSL_SecCtx_ExecutePolicyActionSet(), and BSLP_QueryPolicy().
| void BSL_SecOper_SetReasonCode | ( | BSL_SecOper_t * | self, |
| BSL_ReasonCode_t | new_reason_code | ||
| ) |
Set the security operation reason code.
| [in,out] | self | security operation to change reason code of |
| [in] | new_reason_code | new reason code to set to |
References ASSERT_POSTCONDITION, ASSERT_PRECONDITION, and BSL_SecOper_IsConsistent().
Referenced by BSL_API_QuerySecurity(), and BSL_SecCtx_ExecutePolicyActionSet().
| size_t BSL_SecOper_Sizeof | ( | void | ) |
Referenced by BSLP_QueryPolicy().