From 6e8d5393dfbec20f8a9d35d5c507e9c8073399fe Mon Sep 17 00:00:00 2001 From: Geovane Fedrecheski Date: Thu, 31 Aug 2023 10:11:31 +0200 Subject: [PATCH] chore: remove hardcoded connection identifiers --- consts/src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/consts/src/lib.rs b/consts/src/lib.rs index 34e9dd35..14245d57 100644 --- a/consts/src/lib.rs +++ b/consts/src/lib.rs @@ -173,8 +173,6 @@ mod rust { pub type BytesMaxLabelBuffeer = [u8; MAX_KDF_LABEL_LEN]; pub type BytesEncStructureLen = [u8; ENC_STRUCTURE_LEN]; - pub const C_I: u8 = 0x37u8; - pub const C_R: u8 = 0x00u8; pub const EDHOC_SUITES: BytesSuites = [0, 1, 2, 3, 4, 5, 6, 24, 25]; // all but private cipher suites pub const EDHOC_SUPPORTED_SUITES: BytesSupportedSuites = [0x2u8]; @@ -330,9 +328,6 @@ mod hacspec { array!(BytesMaxLabelBuffer, MAX_KDF_LABEL_LEN, U8); array!(BytesEncStructureLen, ENC_STRUCTURE_LEN, U8); - pub const C_I: U8 = U8(0x37u8); - pub const C_R: U8 = U8(0x00u8); - // Currently only suite number 2 is supported, // which corresponds to the array 10, -16, 8, 1, -7, 10, -16, // which in turn corresponds to the following: