1 /** 2 * \file mbedcrypto_user_config.h 3 * 4 * \brief Target and application specific configurations 5 * 6 * Target and application specific configurations allow user to override any previous default. 7 * 8 */ 9 /* 10 * Copyright The Mbed TLS Contributors 11 * SPDX-License-Identifier: Apache-2.0 12 * 13 * Licensed under the Apache License, Version 2.0 (the "License"); you may 14 * not use this file except in compliance with the License. 15 * You may obtain a copy of the License at 16 * 17 * http://www.apache.org/licenses/LICENSE-2.0 18 * 19 * Unless required by applicable law or agreed to in writing, software 20 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 21 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 22 * See the License for the specific language governing permissions and 23 * limitations under the License. 24 */ 25 26 #ifndef MBEDCRYPTO_USER_CONFIG_H 27 #define MBEDCRYPTO_USER_CONFIG_H 28 29 /** 30 * \def MBEDTLS_HKDF_C 31 * 32 * Enable the HKDF algorithm (RFC 5869). 33 * 34 * Module: library/hkdf.c 35 * Caller: 36 * 37 * Requires: MBEDTLS_MD_C 38 * 39 * This module adds support for the Hashed Message Authentication Code 40 * (HMAC)-based key derivation function (HKDF). 41 */ 42 #define MBEDTLS_HKDF_C /* Used for HUK deriviation */ 43 44 /** 45 * \def MBEDTLS_GCM_C 46 * 47 * Enable the Galois/Counter Mode (GCM). 48 * 49 * Module: library/gcm.c 50 * 51 * Requires: MBEDTLS_AES_C or MBEDTLS_CAMELLIA_C or MBEDTLS_ARIA_C 52 * 53 * This module enables the AES-GCM and CAMELLIA-GCM ciphersuites, if other 54 * requisites are enabled as well. 55 */ 56 #define MBEDTLS_GCM_C /* Used by PS by default. Mandatory for TLSv1.2 */ 57 58 #endif /* MBEDCRYPTO_USER_CONFIG_H */ 59