From 77d8b067bf60caa27bddb974a4e1841287334a8c Mon Sep 17 00:00:00 2001 From: Ron Eldor Date: Mon, 8 Jul 2019 18:27:54 +0300 Subject: [PATCH] Make the alternative cmac optional Have the alternative cmac undefined by default, in order not to break backwards compatability. --- features/cryptocell/FEATURE_CRYPTOCELL310/mbedtls_device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/cryptocell/FEATURE_CRYPTOCELL310/mbedtls_device.h b/features/cryptocell/FEATURE_CRYPTOCELL310/mbedtls_device.h index 1d89e12e38..dcec9dc55b 100644 --- a/features/cryptocell/FEATURE_CRYPTOCELL310/mbedtls_device.h +++ b/features/cryptocell/FEATURE_CRYPTOCELL310/mbedtls_device.h @@ -1,7 +1,7 @@ /* * mbedtls_device.h * - * Copyright (C) 2018, Arm Limited, All Rights Reserved + * Copyright (C) 2018-2019, Arm Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -25,7 +25,7 @@ #define MBEDTLS_SHA1_ALT #define MBEDTLS_SHA256_ALT #define MBEDTLS_CCM_ALT -#define MBEDTLS_CMAC_ALT +//#define MBEDTLS_CMAC_ALT #define MBEDTLS_ECDSA_VERIFY_ALT #define MBEDTLS_ECDSA_SIGN_ALT #define MBEDTLS_ECDSA_GENKEY_ALT