aboutsummaryrefslogtreecommitdiff
path: root/lib/ext/t_cose/src/t_cose_parameters.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ext/t_cose/src/t_cose_parameters.h')
-rw-r--r--lib/ext/t_cose/src/t_cose_parameters.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/ext/t_cose/src/t_cose_parameters.h b/lib/ext/t_cose/src/t_cose_parameters.h
index 8a17cd28a0..b51e8611b0 100644
--- a/lib/ext/t_cose/src/t_cose_parameters.h
+++ b/lib/ext/t_cose/src/t_cose_parameters.h
@@ -2,6 +2,7 @@
* t_cose_parameters.h
*
* Copyright 2019, Laurence Lundblade
+ * Copyright (c) 2020, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -12,7 +13,6 @@
#ifndef t_cose_parameters_h
#define t_cose_parameters_h
-#include "t_cose_sign1_verify.h"
#include "q_useful_buf.h"
#include "t_cose_common.h"
#include <stdint.h>
@@ -58,6 +58,13 @@ struct t_cose_label_list {
/**
+ * A special COSE algorithm ID that indicates no COSE algorithm ID or an unset
+ * COSE algorithm ID.
+ */
+#define T_COSE_UNSET_ALGORITHM_ID 0
+
+
+/**
* \brief Clear a label list to empty.
*
* \param[in,out] list The list to clear.