1 /* 2 * Copyright (c) 2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /* This file was automatically generated by create_psa_files.py 8 * from: ../../../modules/crypto/mbedtls/include/psa/crypto_config.h 9 * Do not edit it manually. 10 */ 11 12 #ifndef CONFIG_PSA_H 13 #define CONFIG_PSA_H 14 15 #if defined(CONFIG_PSA_WANT_ALG_CBC_NO_PADDING) 16 #define PSA_WANT_ALG_CBC_NO_PADDING 1 17 #endif 18 19 #if defined(CONFIG_PSA_WANT_ALG_CBC_PKCS7) 20 #define PSA_WANT_ALG_CBC_PKCS7 1 21 #endif 22 23 #if defined(CONFIG_PSA_WANT_ALG_CCM) 24 #define PSA_WANT_ALG_CCM 1 25 #endif 26 27 #if defined(CONFIG_PSA_WANT_ALG_CCM_STAR_NO_TAG) 28 #define PSA_WANT_ALG_CCM_STAR_NO_TAG 1 29 #endif 30 31 #if defined(CONFIG_PSA_WANT_ALG_CMAC) 32 #define PSA_WANT_ALG_CMAC 1 33 #endif 34 35 #if defined(CONFIG_PSA_WANT_ALG_CFB) 36 #define PSA_WANT_ALG_CFB 1 37 #endif 38 39 #if defined(CONFIG_PSA_WANT_ALG_CHACHA20_POLY1305) 40 #define PSA_WANT_ALG_CHACHA20_POLY1305 1 41 #endif 42 43 #if defined(CONFIG_PSA_WANT_ALG_CTR) 44 #define PSA_WANT_ALG_CTR 1 45 #endif 46 47 #if defined(CONFIG_PSA_WANT_ALG_DETERMINISTIC_ECDSA) 48 #define PSA_WANT_ALG_DETERMINISTIC_ECDSA 1 49 #endif 50 51 #if defined(CONFIG_PSA_WANT_ALG_ECB_NO_PADDING) 52 #define PSA_WANT_ALG_ECB_NO_PADDING 1 53 #endif 54 55 #if defined(CONFIG_PSA_WANT_ALG_ECDH) 56 #define PSA_WANT_ALG_ECDH 1 57 #endif 58 59 #if defined(CONFIG_PSA_WANT_ALG_FFDH) 60 #define PSA_WANT_ALG_FFDH 1 61 #endif 62 63 #if defined(CONFIG_PSA_WANT_ALG_ECDSA) 64 #define PSA_WANT_ALG_ECDSA 1 65 #endif 66 67 #if defined(CONFIG_PSA_WANT_ALG_JPAKE) 68 #define PSA_WANT_ALG_JPAKE 1 69 #endif 70 71 #if defined(CONFIG_PSA_WANT_ALG_GCM) 72 #define PSA_WANT_ALG_GCM 1 73 #endif 74 75 #if defined(CONFIG_PSA_WANT_ALG_HKDF) 76 #define PSA_WANT_ALG_HKDF 1 77 #endif 78 79 #if defined(CONFIG_PSA_WANT_ALG_HKDF_EXTRACT) 80 #define PSA_WANT_ALG_HKDF_EXTRACT 1 81 #endif 82 83 #if defined(CONFIG_PSA_WANT_ALG_HKDF_EXPAND) 84 #define PSA_WANT_ALG_HKDF_EXPAND 1 85 #endif 86 87 #if defined(CONFIG_PSA_WANT_ALG_HMAC) 88 #define PSA_WANT_ALG_HMAC 1 89 #endif 90 91 #if defined(CONFIG_PSA_WANT_ALG_MD5) 92 #define PSA_WANT_ALG_MD5 1 93 #endif 94 95 #if defined(CONFIG_PSA_WANT_ALG_OFB) 96 #define PSA_WANT_ALG_OFB 1 97 #endif 98 99 #if defined(CONFIG_PSA_WANT_ALG_PBKDF2_HMAC) 100 #define PSA_WANT_ALG_PBKDF2_HMAC 1 101 #endif 102 103 #if defined(CONFIG_PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128) 104 #define PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 1 105 #endif 106 107 #if defined(CONFIG_PSA_WANT_ALG_RIPEMD160) 108 #define PSA_WANT_ALG_RIPEMD160 1 109 #endif 110 111 #if defined(CONFIG_PSA_WANT_ALG_RSA_OAEP) 112 #define PSA_WANT_ALG_RSA_OAEP 1 113 #endif 114 115 #if defined(CONFIG_PSA_WANT_ALG_RSA_PKCS1V15_CRYPT) 116 #define PSA_WANT_ALG_RSA_PKCS1V15_CRYPT 1 117 #endif 118 119 #if defined(CONFIG_PSA_WANT_ALG_RSA_PKCS1V15_SIGN) 120 #define PSA_WANT_ALG_RSA_PKCS1V15_SIGN 1 121 #endif 122 123 #if defined(CONFIG_PSA_WANT_ALG_RSA_PSS) 124 #define PSA_WANT_ALG_RSA_PSS 1 125 #endif 126 127 #if defined(CONFIG_PSA_WANT_ALG_SHA_1) 128 #define PSA_WANT_ALG_SHA_1 1 129 #endif 130 131 #if defined(CONFIG_PSA_WANT_ALG_SHA_224) 132 #define PSA_WANT_ALG_SHA_224 1 133 #endif 134 135 #if defined(CONFIG_PSA_WANT_ALG_SHA_256) 136 #define PSA_WANT_ALG_SHA_256 1 137 #endif 138 139 #if defined(CONFIG_PSA_WANT_ALG_SHA_384) 140 #define PSA_WANT_ALG_SHA_384 1 141 #endif 142 143 #if defined(CONFIG_PSA_WANT_ALG_SHA_512) 144 #define PSA_WANT_ALG_SHA_512 1 145 #endif 146 147 #if defined(CONFIG_PSA_WANT_ALG_SHA3_224) 148 #define PSA_WANT_ALG_SHA3_224 1 149 #endif 150 151 #if defined(CONFIG_PSA_WANT_ALG_SHA3_256) 152 #define PSA_WANT_ALG_SHA3_256 1 153 #endif 154 155 #if defined(CONFIG_PSA_WANT_ALG_SHA3_384) 156 #define PSA_WANT_ALG_SHA3_384 1 157 #endif 158 159 #if defined(CONFIG_PSA_WANT_ALG_SHA3_512) 160 #define PSA_WANT_ALG_SHA3_512 1 161 #endif 162 163 #if defined(CONFIG_PSA_WANT_ALG_STREAM_CIPHER) 164 #define PSA_WANT_ALG_STREAM_CIPHER 1 165 #endif 166 167 #if defined(CONFIG_PSA_WANT_ALG_TLS12_PRF) 168 #define PSA_WANT_ALG_TLS12_PRF 1 169 #endif 170 171 #if defined(CONFIG_PSA_WANT_ALG_TLS12_PSK_TO_MS) 172 #define PSA_WANT_ALG_TLS12_PSK_TO_MS 1 173 #endif 174 175 #if defined(CONFIG_PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS) 176 #define PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS 1 177 #endif 178 179 #if defined(CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_256) 180 #define PSA_WANT_ECC_BRAINPOOL_P_R1_256 1 181 #endif 182 183 #if defined(CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_384) 184 #define PSA_WANT_ECC_BRAINPOOL_P_R1_384 1 185 #endif 186 187 #if defined(CONFIG_PSA_WANT_ECC_BRAINPOOL_P_R1_512) 188 #define PSA_WANT_ECC_BRAINPOOL_P_R1_512 1 189 #endif 190 191 #if defined(CONFIG_PSA_WANT_ECC_MONTGOMERY_255) 192 #define PSA_WANT_ECC_MONTGOMERY_255 1 193 #endif 194 195 #if defined(CONFIG_PSA_WANT_ECC_MONTGOMERY_448) 196 #define PSA_WANT_ECC_MONTGOMERY_448 1 197 #endif 198 199 #if defined(CONFIG_PSA_WANT_ECC_SECP_K1_192) 200 #define PSA_WANT_ECC_SECP_K1_192 1 201 #endif 202 203 #if defined(CONFIG_PSA_WANT_ECC_SECP_K1_256) 204 #define PSA_WANT_ECC_SECP_K1_256 1 205 #endif 206 207 #if defined(CONFIG_PSA_WANT_ECC_SECP_R1_192) 208 #define PSA_WANT_ECC_SECP_R1_192 1 209 #endif 210 211 #if defined(CONFIG_PSA_WANT_ECC_SECP_R1_224) 212 #define PSA_WANT_ECC_SECP_R1_224 1 213 #endif 214 215 #if defined(CONFIG_PSA_WANT_ECC_SECP_R1_256) 216 #define PSA_WANT_ECC_SECP_R1_256 1 217 #endif 218 219 #if defined(CONFIG_PSA_WANT_ECC_SECP_R1_384) 220 #define PSA_WANT_ECC_SECP_R1_384 1 221 #endif 222 223 #if defined(CONFIG_PSA_WANT_ECC_SECP_R1_521) 224 #define PSA_WANT_ECC_SECP_R1_521 1 225 #endif 226 227 #if defined(CONFIG_PSA_WANT_DH_RFC7919_2048) 228 #define PSA_WANT_DH_RFC7919_2048 1 229 #endif 230 231 #if defined(CONFIG_PSA_WANT_DH_RFC7919_3072) 232 #define PSA_WANT_DH_RFC7919_3072 1 233 #endif 234 235 #if defined(CONFIG_PSA_WANT_DH_RFC7919_4096) 236 #define PSA_WANT_DH_RFC7919_4096 1 237 #endif 238 239 #if defined(CONFIG_PSA_WANT_DH_RFC7919_6144) 240 #define PSA_WANT_DH_RFC7919_6144 1 241 #endif 242 243 #if defined(CONFIG_PSA_WANT_DH_RFC7919_8192) 244 #define PSA_WANT_DH_RFC7919_8192 1 245 #endif 246 247 #if defined(CONFIG_PSA_WANT_KEY_TYPE_DERIVE) 248 #define PSA_WANT_KEY_TYPE_DERIVE 1 249 #endif 250 251 #if defined(CONFIG_PSA_WANT_KEY_TYPE_PASSWORD) 252 #define PSA_WANT_KEY_TYPE_PASSWORD 1 253 #endif 254 255 #if defined(CONFIG_PSA_WANT_KEY_TYPE_PASSWORD_HASH) 256 #define PSA_WANT_KEY_TYPE_PASSWORD_HASH 1 257 #endif 258 259 #if defined(CONFIG_PSA_WANT_KEY_TYPE_HMAC) 260 #define PSA_WANT_KEY_TYPE_HMAC 1 261 #endif 262 263 #if defined(CONFIG_PSA_WANT_KEY_TYPE_AES) 264 #define PSA_WANT_KEY_TYPE_AES 1 265 #endif 266 267 #if defined(CONFIG_PSA_WANT_KEY_TYPE_ARIA) 268 #define PSA_WANT_KEY_TYPE_ARIA 1 269 #endif 270 271 #if defined(CONFIG_PSA_WANT_KEY_TYPE_CAMELLIA) 272 #define PSA_WANT_KEY_TYPE_CAMELLIA 1 273 #endif 274 275 #if defined(CONFIG_PSA_WANT_KEY_TYPE_CHACHA20) 276 #define PSA_WANT_KEY_TYPE_CHACHA20 1 277 #endif 278 279 #if defined(CONFIG_PSA_WANT_KEY_TYPE_DES) 280 #define PSA_WANT_KEY_TYPE_DES 1 281 #endif 282 283 #if defined(CONFIG_PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY) 284 #define PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY 1 285 #endif 286 287 #if defined(CONFIG_PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY) 288 #define PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY 1 289 #endif 290 291 #if defined(CONFIG_PSA_WANT_KEY_TYPE_RAW_DATA) 292 #define PSA_WANT_KEY_TYPE_RAW_DATA 1 293 #endif 294 295 #if defined(CONFIG_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY) 296 #define PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY 1 297 #endif 298 299 #if defined(CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC) 300 #define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC 1 301 #endif 302 303 #if defined(CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT) 304 #define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT 1 305 #endif 306 307 #if defined(CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT) 308 #define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT 1 309 #endif 310 311 #if defined(CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE) 312 #define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE 1 313 #endif 314 315 #if defined(CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE) 316 #define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE 1 317 #endif 318 319 #if defined(CONFIG_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC) 320 #define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC 1 321 #endif 322 323 #if defined(CONFIG_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT) 324 #define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT 1 325 #endif 326 327 #if defined(CONFIG_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT) 328 #define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT 1 329 #endif 330 331 #if defined(CONFIG_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE) 332 #define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE 1 333 #endif 334 335 #if defined(CONFIG_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC) 336 #define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC 1 337 #endif 338 339 #if defined(CONFIG_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT) 340 #define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT 1 341 #endif 342 343 #if defined(CONFIG_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT) 344 #define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT 1 345 #endif 346 347 #if defined(CONFIG_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE) 348 #define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE 1 349 #endif 350 351 #endif /* CONFIG_PSA_H */ 352