BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
SecurityActionSet.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 The Johns Hopkins University Applied Physics
3 * Laboratory LLC.
4 *
5 * This file is part of the Bundle Protocol Security Library (BSL).
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 * This work was performed for the Jet Propulsion Laboratory, California
18 * Institute of Technology, sponsored by the United States Government under
19 * the prime contract 80NM0018D0004 between the Caltech and NASA under
20 * subcontract 1700763.
21 */
26#ifndef BSLB_SECACTIONSET_H_
27#define BSLB_SECACTIONSET_H_
28
29#include <BPSecLib_Private.h>
30
31#include "SecOperation.h"
32
33#define BSL_SECURITYACTIONSET_MAX_OPS (10)
34
38{
39 BSL_SecOper_t sec_operations[BSL_SECURITYACTIONSET_MAX_OPS];
41 uint64_t new_block_ids[BSL_SECURITYACTIONSET_MAX_OPS];
42 uint64_t new_block_types[BSL_SECURITYACTIONSET_MAX_OPS];
45};
46
47
48#endif /* BSLB_SECACTIONSET_H_ */
Single entry-point include file for all of the BPSec Lib (BSL) frontend API.
Defines a security operation.
Contains the populated security operations for this bundle.
uint64_t new_block_ids[BSL_SECURITYACTIONSET_MAX_OPS]
Array for IDs of blocks to be created.
uint64_t new_block_types[BSL_SECURITYACTIONSET_MAX_OPS]
Array for block type codes of blocks to be created.
size_t arrays_capacity
Capacity of sec_operations.
BSL_SecOper_t sec_operations[BSL_SECURITYACTIONSET_MAX_OPS]
Fixed array of security operations (for simpler mem management)
size_t sec_operations_count
Count of sec_operations.
int err_code
General error code.