From 35058cdfe0134c88f1aa8d23342d1d7b9d39e296 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Tue, 7 Jan 2020 11:46:02 +0100 Subject: [HICN-2] Added P2P confidential communication on hICN P2P confidential communications exploit the TLS 1.3 protocol to let a consumer to establish a secure communication on an hICN name. Currently we don't support the consumer authentication (mutual authentication in TLS) and the 0-rtt session establishment. Change-Id: I2be073847c08a17f28c837d444081920c5e57a07 Signed-off-by: Alberto Compagno Signed-off-by: Olivier Roques Signed-off-by: Mauro Sardara --- lib/includes/hicn/name.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/includes') diff --git a/lib/includes/hicn/name.h b/lib/includes/hicn/name.h index 0a100dbce..7234a5159 100644 --- a/lib/includes/hicn/name.h +++ b/lib/includes/hicn/name.h @@ -186,9 +186,10 @@ int hicn_name_compare (const hicn_name_t * name_1, const hicn_name_t * name_2, * @brief Provides a 32-bit hash of an hICN name * @param [in] name - Name to hash * @param [out] hash - Resulting hash + * @param [in] consider_suffix - Consider the suffix in the hash computation * @return hICN error code */ -int hicn_name_hash (const hicn_name_t * name, u32 * hash); +int hicn_name_hash (const hicn_name_t * name, u32 * hash, bool consider_suffix); /** * @brief Test whether an hICN name is empty -- cgit 1.2.3-korg