Lines Matching full:if
22 * Ensure PSA_WANT_* defines are setup properly if MBEDTLS_PSA_CRYPTO_CONFIG
26 #if defined(MBEDTLS_CCM_C)
33 #if defined(MBEDTLS_CMAC_C)
38 #if defined(MBEDTLS_ECDH_C)
43 #if defined(MBEDTLS_ECDSA_C)
48 // Only add in DETERMINISTIC support if ECDSA is also enabled
49 #if defined(MBEDTLS_ECDSA_DETERMINISTIC)
56 #if defined(MBEDTLS_ECP_C)
75 #if defined(MBEDTLS_DHM_C)
91 #if defined(MBEDTLS_GCM_C)
96 /* Enable PSA HKDF algorithm if mbedtls HKDF is supported.
100 #if defined(MBEDTLS_HKDF_C)
115 #if defined(MBEDTLS_MD_C)
122 #if defined(MBEDTLS_MD5_C)
127 #if defined(MBEDTLS_ECJPAKE_C)
133 #if defined(MBEDTLS_RIPEMD160_C)
138 #if defined(MBEDTLS_RSA_C)
139 #if defined(MBEDTLS_PKCS1_V15)
146 #if defined(MBEDTLS_PKCS1_V21)
152 #if defined(MBEDTLS_GENPRIME)
166 #if defined(MBEDTLS_SHA1_C)
171 #if defined(MBEDTLS_SHA224_C)
176 #if defined(MBEDTLS_SHA256_C)
181 #if defined(MBEDTLS_SHA384_C)
186 #if defined(MBEDTLS_SHA512_C)
191 #if defined(MBEDTLS_SHA3_C)
202 #if defined(MBEDTLS_AES_C)
207 #if defined(MBEDTLS_ARIA_C)
212 #if defined(MBEDTLS_CAMELLIA_C)
217 #if defined(MBEDTLS_DES_C)
222 #if defined(MBEDTLS_PSA_BUILTIN_ALG_SHA_256)
227 #if defined(MBEDTLS_CHACHA20_C)
232 #if defined(MBEDTLS_CHACHAPOLY_C)
238 #if defined(MBEDTLS_CIPHER_MODE_CBC)
241 #if defined(MBEDTLS_CIPHER_PADDING_PKCS7)
247 #if defined(MBEDTLS_AES_C) || defined(MBEDTLS_DES_C) || \
253 #if defined(MBEDTLS_CIPHER_MODE_CFB)
258 #if defined(MBEDTLS_CIPHER_MODE_CTR)
263 #if defined(MBEDTLS_CIPHER_MODE_OFB)
268 #if defined(MBEDTLS_ECP_DP_BP256R1_ENABLED)
273 #if defined(MBEDTLS_ECP_DP_BP384R1_ENABLED)
278 #if defined(MBEDTLS_ECP_DP_BP512R1_ENABLED)
283 #if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
288 #if defined(MBEDTLS_ECP_DP_CURVE448_ENABLED)
293 #if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED)
298 #if defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED)
303 #if defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED)
308 #if defined(MBEDTLS_ECP_DP_SECP384R1_ENABLED)
313 #if defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)
318 #if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
324 #if 0 && defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED)
329 #if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED)