Make the alternative cmac optional

Have the alternative cmac undefined by default,
in order not to break backwards compatability.
pull/10947/head
Ron Eldor 2019-07-08 18:27:54 +03:00
parent a5aac1e4b6
commit 77d8b067bf
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* /*
* mbedtls_device.h * 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 * SPDX-License-Identifier: Apache-2.0
* *
* Licensed under the Apache License, Version 2.0 (the "License"); you may * Licensed under the Apache License, Version 2.0 (the "License"); you may
@ -25,7 +25,7 @@
#define MBEDTLS_SHA1_ALT #define MBEDTLS_SHA1_ALT
#define MBEDTLS_SHA256_ALT #define MBEDTLS_SHA256_ALT
#define MBEDTLS_CCM_ALT #define MBEDTLS_CCM_ALT
#define MBEDTLS_CMAC_ALT //#define MBEDTLS_CMAC_ALT
#define MBEDTLS_ECDSA_VERIFY_ALT #define MBEDTLS_ECDSA_VERIFY_ALT
#define MBEDTLS_ECDSA_SIGN_ALT #define MBEDTLS_ECDSA_SIGN_ALT
#define MBEDTLS_ECDSA_GENKEY_ALT #define MBEDTLS_ECDSA_GENKEY_ALT