From c149e1de9b77e380c43bb01122aaaf9a59e18166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 4 May 2021 10:25:05 +0200 Subject: [PATCH] Remove duplicated definition of PSA_ALG_GET_HASH() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Pégourié-Gonnard --- programs/psa/psa_constant_names.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/programs/psa/psa_constant_names.c b/programs/psa/psa_constant_names.c index 14d449441..b5fea04dd 100644 --- a/programs/psa/psa_constant_names.c +++ b/programs/psa/psa_constant_names.c @@ -52,12 +52,6 @@ int snprintf( char *s, size_t n, const char *fmt, ... ) } #endif -/* There are different GET_HASH macros for different kinds of algorithms - * built from hashes, but the values are all constructed on the - * same model. */ -#define PSA_ALG_GET_HASH(alg) \ - (((alg) & PSA_ALG_HASH_MASK) | PSA_ALG_CATEGORY_HASH) - static void append(char **buffer, size_t buffer_size, size_t *required_size, const char *string, size_t length)