Loading...
Searching...
No Matches
crypto_config.h File Reference

PSA crypto configuration options (set of defines). More...

Go to the source code of this file.

## Macros

#define | PSA_WANT_ALG_CBC_NO_PADDING 1
#define | PSA_WANT_ALG_CBC_PKCS7 1
#define | PSA_WANT_ALG_CCM 1
#define | PSA_WANT_ALG_CCM_STAR_NO_TAG 1
#define | PSA_WANT_ALG_CMAC 1
#define | PSA_WANT_ALG_CFB 1
#define | PSA_WANT_ALG_CHACHA20_POLY1305 1
#define | PSA_WANT_ALG_CTR 1
#define | PSA_WANT_ALG_DETERMINISTIC_ECDSA 1
#define | PSA_WANT_ALG_ECB_NO_PADDING 1
#define | PSA_WANT_ALG_ECDH 1
#define | PSA_WANT_ALG_FFDH 1
#define | PSA_WANT_ALG_ECDSA 1
#define | PSA_WANT_ALG_JPAKE 1
#define | PSA_WANT_ALG_GCM 1
#define | PSA_WANT_ALG_HKDF 1
#define | PSA_WANT_ALG_HKDF_EXTRACT 1
#define | PSA_WANT_ALG_HKDF_EXPAND 1
#define | PSA_WANT_ALG_HMAC 1
#define | PSA_WANT_ALG_MD5 1
#define | PSA_WANT_ALG_OFB 1
#define | PSA_WANT_ALG_PBKDF2_HMAC 1
#define | PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 1
#define | PSA_WANT_ALG_RIPEMD160 1
#define | PSA_WANT_ALG_RSA_OAEP 1
#define | PSA_WANT_ALG_RSA_PKCS1V15_CRYPT 1
#define | PSA_WANT_ALG_RSA_PKCS1V15_SIGN 1
#define | PSA_WANT_ALG_RSA_PSS 1
#define | PSA_WANT_ALG_SHA_1 1
#define | PSA_WANT_ALG_SHA_224 1
#define | PSA_WANT_ALG_SHA_256 1
#define | PSA_WANT_ALG_SHA_384 1
#define | PSA_WANT_ALG_SHA_512 1
#define | PSA_WANT_ALG_SHA3_224 1
#define | PSA_WANT_ALG_SHA3_256 1
#define | PSA_WANT_ALG_SHA3_384 1
#define | PSA_WANT_ALG_SHA3_512 1
#define | PSA_WANT_ALG_STREAM_CIPHER 1
#define | PSA_WANT_ALG_TLS12_PRF 1
#define | PSA_WANT_ALG_TLS12_PSK_TO_MS 1
#define | PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS 1
#define | PSA_WANT_ECC_BRAINPOOL_P_R1_256 1
#define | PSA_WANT_ECC_BRAINPOOL_P_R1_384 1
#define | PSA_WANT_ECC_BRAINPOOL_P_R1_512 1
#define | PSA_WANT_ECC_MONTGOMERY_255 1
#define | PSA_WANT_ECC_MONTGOMERY_448 1
#define | PSA_WANT_ECC_SECP_K1_192 1
#define | PSA_WANT_ECC_SECP_K1_256 1
#define | PSA_WANT_ECC_SECP_R1_192 1
#define | PSA_WANT_ECC_SECP_R1_224 1
#define | PSA_WANT_ECC_SECP_R1_256 1
#define | PSA_WANT_ECC_SECP_R1_384 1
#define | PSA_WANT_ECC_SECP_R1_521 1
#define | PSA_WANT_DH_RFC7919_2048 1
#define | PSA_WANT_DH_RFC7919_3072 1
#define | PSA_WANT_DH_RFC7919_4096 1
#define | PSA_WANT_DH_RFC7919_6144 1
#define | PSA_WANT_DH_RFC7919_8192 1
#define | PSA_WANT_KEY_TYPE_DERIVE 1
#define | PSA_WANT_KEY_TYPE_PASSWORD 1
#define | PSA_WANT_KEY_TYPE_PASSWORD_HASH 1
#define | PSA_WANT_KEY_TYPE_HMAC 1
#define | PSA_WANT_KEY_TYPE_AES 1
#define | PSA_WANT_KEY_TYPE_ARIA 1
#define | PSA_WANT_KEY_TYPE_CAMELLIA 1
#define | PSA_WANT_KEY_TYPE_CHACHA20 1
#define | PSA_WANT_KEY_TYPE_DES 1
#define | PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY 1
#define | PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY 1
#define | PSA_WANT_KEY_TYPE_RAW_DATA 1
#define | PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY 1
#define | PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC 1
#define | PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT 1
#define | PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT 1
#define | PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE 1
#define | PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE 1
#define | PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC 1
#define | PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT 1
#define | PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT 1
#define | PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE 1
#define | PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC 1
#define | PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT 1
#define | PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT 1
#define | PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE 1

## Detailed Description

PSA crypto configuration options (set of defines).

Definition in file crypto_config.h.

## Macro Definition Documentation

## PSA_WANT_ALG_CBC_NO_PADDING

#define PSA_WANT_ALG_CBC_NO_PADDING 1

When `MBEDTLS_PSA_CRYPTO_CONFIG` is disabled in mbedtls_config.h, this file is not used, and cryptographic mechanisms are supported through the PSA API if and only if they are supported through the mbedtls_xxx API.

Definition at line 41 of file crypto_config.h.

## PSA_WANT_ALG_CBC_PKCS7

#define PSA_WANT_ALG_CBC_PKCS7 1

Definition at line 42 of file crypto_config.h.

## PSA_WANT_ALG_CCM

#define PSA_WANT_ALG_CCM 1

Definition at line 43 of file crypto_config.h.

## PSA_WANT_ALG_CCM_STAR_NO_TAG

#define PSA_WANT_ALG_CCM_STAR_NO_TAG 1

Definition at line 44 of file crypto_config.h.

## PSA_WANT_ALG_CFB

#define PSA_WANT_ALG_CFB 1

Definition at line 46 of file crypto_config.h.

## PSA_WANT_ALG_CHACHA20_POLY1305

#define PSA_WANT_ALG_CHACHA20_POLY1305 1

Definition at line 47 of file crypto_config.h.

## PSA_WANT_ALG_CMAC

#define PSA_WANT_ALG_CMAC 1

Definition at line 45 of file crypto_config.h.

## PSA_WANT_ALG_CTR

#define PSA_WANT_ALG_CTR 1

Definition at line 48 of file crypto_config.h.

## PSA_WANT_ALG_DETERMINISTIC_ECDSA

#define PSA_WANT_ALG_DETERMINISTIC_ECDSA 1

Definition at line 49 of file crypto_config.h.

## PSA_WANT_ALG_ECB_NO_PADDING

#define PSA_WANT_ALG_ECB_NO_PADDING 1

Definition at line 50 of file crypto_config.h.

## PSA_WANT_ALG_ECDH

#define PSA_WANT_ALG_ECDH 1

Definition at line 51 of file crypto_config.h.

## PSA_WANT_ALG_ECDSA

#define PSA_WANT_ALG_ECDSA 1

Definition at line 53 of file crypto_config.h.

## PSA_WANT_ALG_FFDH

#define PSA_WANT_ALG_FFDH 1

Definition at line 52 of file crypto_config.h.

## PSA_WANT_ALG_GCM

#define PSA_WANT_ALG_GCM 1

Definition at line 55 of file crypto_config.h.

## PSA_WANT_ALG_HKDF

#define PSA_WANT_ALG_HKDF 1

Definition at line 56 of file crypto_config.h.

## PSA_WANT_ALG_HKDF_EXPAND

#define PSA_WANT_ALG_HKDF_EXPAND 1

Definition at line 58 of file crypto_config.h.

## PSA_WANT_ALG_HKDF_EXTRACT

#define PSA_WANT_ALG_HKDF_EXTRACT 1

Definition at line 57 of file crypto_config.h.

## PSA_WANT_ALG_HMAC

#define PSA_WANT_ALG_HMAC 1

Definition at line 59 of file crypto_config.h.

## PSA_WANT_ALG_JPAKE

#define PSA_WANT_ALG_JPAKE 1

Definition at line 54 of file crypto_config.h.

## PSA_WANT_ALG_MD5

#define PSA_WANT_ALG_MD5 1

Definition at line 60 of file crypto_config.h.

## PSA_WANT_ALG_OFB

#define PSA_WANT_ALG_OFB 1

Definition at line 61 of file crypto_config.h.

## PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128

#define PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 1

Definition at line 63 of file crypto_config.h.

## PSA_WANT_ALG_PBKDF2_HMAC

#define PSA_WANT_ALG_PBKDF2_HMAC 1

Definition at line 62 of file crypto_config.h.

## PSA_WANT_ALG_RIPEMD160

#define PSA_WANT_ALG_RIPEMD160 1

Definition at line 64 of file crypto_config.h.

## PSA_WANT_ALG_RSA_OAEP

#define PSA_WANT_ALG_RSA_OAEP 1

Definition at line 65 of file crypto_config.h.

## PSA_WANT_ALG_RSA_PKCS1V15_CRYPT

#define PSA_WANT_ALG_RSA_PKCS1V15_CRYPT 1

Definition at line 66 of file crypto_config.h.

## PSA_WANT_ALG_RSA_PKCS1V15_SIGN

#define PSA_WANT_ALG_RSA_PKCS1V15_SIGN 1

Definition at line 67 of file crypto_config.h.

## PSA_WANT_ALG_RSA_PSS

#define PSA_WANT_ALG_RSA_PSS 1

Definition at line 68 of file crypto_config.h.

## PSA_WANT_ALG_SHA3_224

#define PSA_WANT_ALG_SHA3_224 1

Definition at line 74 of file crypto_config.h.

## PSA_WANT_ALG_SHA3_256

#define PSA_WANT_ALG_SHA3_256 1

Definition at line 75 of file crypto_config.h.

## PSA_WANT_ALG_SHA3_384

#define PSA_WANT_ALG_SHA3_384 1

Definition at line 76 of file crypto_config.h.

## PSA_WANT_ALG_SHA3_512

#define PSA_WANT_ALG_SHA3_512 1

Definition at line 77 of file crypto_config.h.

## PSA_WANT_ALG_SHA_1

#define PSA_WANT_ALG_SHA_1 1

Definition at line 69 of file crypto_config.h.

## PSA_WANT_ALG_SHA_224

#define PSA_WANT_ALG_SHA_224 1

Definition at line 70 of file crypto_config.h.

## PSA_WANT_ALG_SHA_256

#define PSA_WANT_ALG_SHA_256 1

Definition at line 71 of file crypto_config.h.

## PSA_WANT_ALG_SHA_384

#define PSA_WANT_ALG_SHA_384 1

Definition at line 72 of file crypto_config.h.

## PSA_WANT_ALG_SHA_512

#define PSA_WANT_ALG_SHA_512 1

Definition at line 73 of file crypto_config.h.

## PSA_WANT_ALG_STREAM_CIPHER

#define PSA_WANT_ALG_STREAM_CIPHER 1

Definition at line 78 of file crypto_config.h.

## PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS

#define PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS 1

Definition at line 81 of file crypto_config.h.

## PSA_WANT_ALG_TLS12_PRF

#define PSA_WANT_ALG_TLS12_PRF 1

Definition at line 79 of file crypto_config.h.

## PSA_WANT_ALG_TLS12_PSK_TO_MS

#define PSA_WANT_ALG_TLS12_PSK_TO_MS 1

Definition at line 80 of file crypto_config.h.

## PSA_WANT_DH_RFC7919_2048

#define PSA_WANT_DH_RFC7919_2048 1

Definition at line 98 of file crypto_config.h.

## PSA_WANT_DH_RFC7919_3072

#define PSA_WANT_DH_RFC7919_3072 1

Definition at line 99 of file crypto_config.h.

## PSA_WANT_DH_RFC7919_4096

#define PSA_WANT_DH_RFC7919_4096 1

Definition at line 100 of file crypto_config.h.

## PSA_WANT_DH_RFC7919_6144

#define PSA_WANT_DH_RFC7919_6144 1

Definition at line 101 of file crypto_config.h.

## PSA_WANT_DH_RFC7919_8192

#define PSA_WANT_DH_RFC7919_8192 1

Definition at line 102 of file crypto_config.h.

## PSA_WANT_ECC_BRAINPOOL_P_R1_256

#define PSA_WANT_ECC_BRAINPOOL_P_R1_256 1

Definition at line 83 of file crypto_config.h.

## PSA_WANT_ECC_BRAINPOOL_P_R1_384

#define PSA_WANT_ECC_BRAINPOOL_P_R1_384 1

Definition at line 84 of file crypto_config.h.

## PSA_WANT_ECC_BRAINPOOL_P_R1_512

#define PSA_WANT_ECC_BRAINPOOL_P_R1_512 1

Definition at line 85 of file crypto_config.h.

## PSA_WANT_ECC_MONTGOMERY_255

#define PSA_WANT_ECC_MONTGOMERY_255 1

Definition at line 86 of file crypto_config.h.

## PSA_WANT_ECC_MONTGOMERY_448

#define PSA_WANT_ECC_MONTGOMERY_448 1

Definition at line 87 of file crypto_config.h.

## PSA_WANT_ECC_SECP_K1_192

#define PSA_WANT_ECC_SECP_K1_192 1

Definition at line 88 of file crypto_config.h.

## PSA_WANT_ECC_SECP_K1_256

#define PSA_WANT_ECC_SECP_K1_256 1

Definition at line 89 of file crypto_config.h.

## PSA_WANT_ECC_SECP_R1_192

#define PSA_WANT_ECC_SECP_R1_192 1

Definition at line 90 of file crypto_config.h.

## PSA_WANT_ECC_SECP_R1_224

#define PSA_WANT_ECC_SECP_R1_224 1

Definition at line 91 of file crypto_config.h.

## PSA_WANT_ECC_SECP_R1_256

#define PSA_WANT_ECC_SECP_R1_256 1

Definition at line 94 of file crypto_config.h.

## PSA_WANT_ECC_SECP_R1_384

#define PSA_WANT_ECC_SECP_R1_384 1

Definition at line 95 of file crypto_config.h.

## PSA_WANT_ECC_SECP_R1_521

#define PSA_WANT_ECC_SECP_R1_521 1

Definition at line 96 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_AES

#define PSA_WANT_KEY_TYPE_AES 1

Definition at line 108 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_ARIA

#define PSA_WANT_KEY_TYPE_ARIA 1

Definition at line 109 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_CAMELLIA

#define PSA_WANT_KEY_TYPE_CAMELLIA 1

Definition at line 110 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_CHACHA20

#define PSA_WANT_KEY_TYPE_CHACHA20 1

Definition at line 111 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_DERIVE

#define PSA_WANT_KEY_TYPE_DERIVE 1

Definition at line 104 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_DES

#define PSA_WANT_KEY_TYPE_DES 1

Definition at line 112 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC

#define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC 1

Definition at line 139 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT

#define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT 1

Definition at line 141 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE

#define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE 1

Definition at line 142 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT

#define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT 1

Definition at line 140 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY

#define PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY 1

Definition at line 115 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC

#define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC 1

Definition at line 127 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE

#define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE 1

Definition at line 131 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT

#define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT 1

Definition at line 129 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE

#define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE 1

Definition at line 130 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT

#define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT 1

Definition at line 128 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY

#define PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY 1

Definition at line 114 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_HMAC

#define PSA_WANT_KEY_TYPE_HMAC 1

Definition at line 107 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_PASSWORD

#define PSA_WANT_KEY_TYPE_PASSWORD 1

Definition at line 105 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_PASSWORD_HASH

#define PSA_WANT_KEY_TYPE_PASSWORD_HASH 1

Definition at line 106 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_RAW_DATA

#define PSA_WANT_KEY_TYPE_RAW_DATA 1

Definition at line 116 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC

#define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC 1

Definition at line 133 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT

#define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT 1

Definition at line 135 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE

#define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE 1

Definition at line 136 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT

#define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT 1

Definition at line 134 of file crypto_config.h.

## PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY

#define PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY 1

Definition at line 118 of file crypto_config.h.