Ryan Everett | ab5ec9d | 2024-04-25 15:05:31 +0100 | [diff] [blame^] | 1 | /** |
| 2 | * \file crypto-config-ccm-psk-tls1_2.h |
| 3 | * |
| 4 | * \brief Minimal crypto configuration for TLS 1.2 with |
| 5 | * PSK and AES-CCM ciphersuites |
| 6 | */ |
| 7 | /* |
| 8 | * Copyright The Mbed TLS Contributors |
| 9 | * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later |
| 10 | */ |
| 11 | |
| 12 | /** |
| 13 | * To be used in conjunction with configs/config-ccm-psk-tls1_2.h |
| 14 | * or configs/config-ccm-psk-dtls1_2.h. */ |
| 15 | |
| 16 | #ifndef PSA_CRYPTO_CONFIG_H |
| 17 | #define PSA_CRYPTO_CONFIG_H |
| 18 | |
| 19 | #define PSA_WANT_ALG_CCM 1 |
| 20 | #define PSA_WANT_ALG_CCM_STAR_NO_TAG 1 |
| 21 | #define PSA_WANT_ALG_ECB_NO_PADDING 1 |
| 22 | #define PSA_WANT_ALG_HMAC 1 |
| 23 | #define PSA_WANT_ALG_SHA_256 1 |
| 24 | #define PSA_WANT_ALG_TLS12_PRF 1 |
| 25 | #define PSA_WANT_ALG_TLS12_PSK_TO_MS 1 |
| 26 | #define PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS 1 |
| 27 | |
| 28 | #define PSA_WANT_KEY_TYPE_AES 1 |
| 29 | #define PSA_WANT_KEY_TYPE_HMAC 1 |
| 30 | #endif /* PSA_CRYPTO_CONFIG_H */ |