blob: 799890d4efc97f9c153ae2accae15cf832538d01 [file] [log] [blame]
Ryan Everettd3b11572024-04-25 14:34:33 +01001/**
2 * \file crypto-config-symmetric-only.h
3 *
4 * \brief Crypto configuration without any asymmetric cryptography.
5 */
6/*
7 * Copyright The Mbed TLS Contributors
8 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9 */
10
11/**
12 * To be used in conjunction with configs/config-symmetric-only.h. */
13
14#ifndef PSA_CRYPTO_CONFIG_H
15#define PSA_CRYPTO_CONFIG_H
16
17#define PSA_WANT_ALG_CBC_NO_PADDING 1
18#define PSA_WANT_ALG_CBC_PKCS7 1
19#define PSA_WANT_ALG_CCM 1
20#define PSA_WANT_ALG_CCM_STAR_NO_TAG 1
21#define PSA_WANT_ALG_CFB 1
22#define PSA_WANT_ALG_CHACHA20_POLY1305 1
23#define PSA_WANT_ALG_CMAC 1
24#define PSA_WANT_ALG_CTR 1
25#define PSA_WANT_ALG_ECB_NO_PADDING 1
26#define PSA_WANT_ALG_GCM 1
27#define PSA_WANT_ALG_HKDF 1
28#define PSA_WANT_ALG_HKDF_EXTRACT 1
29#define PSA_WANT_ALG_HKDF_EXPAND 1
30#define PSA_WANT_ALG_HMAC 1
31#define PSA_WANT_ALG_MD5 1
32#define PSA_WANT_ALG_OFB 1
33#define PSA_WANT_ALG_RIPEMD160 1
34#define PSA_WANT_ALG_SHA_1 1
35#define PSA_WANT_ALG_STREAM_CIPHER 1
36#define PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS 1
37#define PSA_WANT_ALG_TLS12_PRF 1
38#define PSA_WANT_ALG_TLS12_PSK_TO_MS 1
39
40/* The library does not currently support enabling SHA-224 without SHA-256.
41 * A future version of the library will have this option disabled
42 * by default. */
43#define PSA_WANT_ALG_SHA_224 1
44#define PSA_WANT_ALG_SHA_256 1
45#define PSA_WANT_ALG_SHA_384 1
46#define PSA_WANT_ALG_SHA_512 1
47
48#define PSA_WANT_KEY_TYPE_AES 1
49#define PSA_WANT_KEY_TYPE_ARIA 1
50#define PSA_WANT_KEY_TYPE_CAMELLIA 1
51#define PSA_WANT_KEY_TYPE_CHACHA20 1
52#define PSA_WANT_KEY_TYPE_DES 1
53#define PSA_WANT_KEY_TYPE_HMAC 1
54
55#endif /* PSA_CRYPTO_CONFIG_H */