crypto_config.h
PSA_WANT_ALG_CBC_NO_PADDING
1

When `MBEDTLS_PSA_CRYPTO_CONFIG` is disabled in 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.

PSA_WANT_ALG_CBC_PKCS7
1
PSA_WANT_ALG_CCM
1
PSA_WANT_ALG_CMAC
1
PSA_WANT_ALG_CFB
1
PSA_WANT_ALG_CHACHA20_POLY1305
1
PSA_WANT_ALG_CTR
1
PSA_WANT_ALG_DETERMINISTIC_ECDSA
1
PSA_WANT_ALG_ECB_NO_PADDING
1
PSA_WANT_ALG_ECDH
1
PSA_WANT_ALG_ECDSA
1
PSA_WANT_ALG_GCM
1
PSA_WANT_ALG_HKDF
1
PSA_WANT_ALG_HMAC
1
PSA_WANT_ALG_MD2
1
PSA_WANT_ALG_MD4
1
PSA_WANT_ALG_MD5
1
PSA_WANT_ALG_OFB
1
PSA_WANT_ALG_RIPEMD160
1
PSA_WANT_ALG_RSA_OAEP
1
PSA_WANT_ALG_RSA_PKCS1V15_CRYPT
1
PSA_WANT_ALG_RSA_PKCS1V15_SIGN
1
PSA_WANT_ALG_RSA_PSS
1
PSA_WANT_ALG_SHA_1
1
PSA_WANT_ALG_SHA_224
1
PSA_WANT_ALG_SHA_256
1
PSA_WANT_ALG_SHA_384
1
PSA_WANT_ALG_SHA_512
1
PSA_WANT_ALG_STREAM_CIPHER
1
PSA_WANT_ALG_TLS12_PRF
1
PSA_WANT_ALG_TLS12_PSK_TO_MS
1
PSA_WANT_ECC_BRAINPOOL_P_R1_256
1
PSA_WANT_ECC_BRAINPOOL_P_R1_384
1
PSA_WANT_ECC_BRAINPOOL_P_R1_512
1
PSA_WANT_ECC_MONTGOMERY_255
1
PSA_WANT_ECC_SECP_K1_192
1
PSA_WANT_ECC_SECP_K1_256
1
PSA_WANT_ECC_SECP_R1_192
1
PSA_WANT_ECC_SECP_R1_224
1
PSA_WANT_ECC_SECP_R1_256
1
PSA_WANT_ECC_SECP_R1_384
1
PSA_WANT_ECC_SECP_R1_521
1
PSA_WANT_KEY_TYPE_DERIVE
1
PSA_WANT_KEY_TYPE_HMAC
1
PSA_WANT_KEY_TYPE_AES
1
PSA_WANT_KEY_TYPE_ARC4
1
PSA_WANT_KEY_TYPE_ARIA
1
PSA_WANT_KEY_TYPE_CAMELLIA
1
PSA_WANT_KEY_TYPE_CHACHA20
1
PSA_WANT_KEY_TYPE_DES
1
PSA_WANT_KEY_TYPE_ECC_KEY_PAIR
1
PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY
1
PSA_WANT_KEY_TYPE_RAW_DATA
1
PSA_WANT_KEY_TYPE_RSA_KEY_PAIR
1
PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY
1

PSA crypto configuration options (set of defines)

    #ifdefined(MBEDTLS_PSA_CRYPTO_CONFIG)
    #else
    #endif
    /*
    *CopyrightTheMbedTLSContributors
    *SPDX-License-Identifier:Apache-2.0ORGPL-2.0-or-later
    */

    #ifndefPSA_CRYPTO_CONFIG_H
    #definePSA_CRYPTO_CONFIG_H

    /*
    *CBC-MACisnotyetsupportedviathePSAAPIinMbedTLS.
    */
    //#definePSA_WANT_ALG_CBC_MAC1
    #definePSA_WANT_ALG_CBC_NO_PADDING1
    #definePSA_WANT_ALG_CBC_PKCS71
    #definePSA_WANT_ALG_CCM1
    #definePSA_WANT_ALG_CMAC1
    #definePSA_WANT_ALG_CFB1
    #definePSA_WANT_ALG_CHACHA20_POLY13051
    #definePSA_WANT_ALG_CTR1
    #definePSA_WANT_ALG_DETERMINISTIC_ECDSA1
    #definePSA_WANT_ALG_ECB_NO_PADDING1
    #definePSA_WANT_ALG_ECDH1
    #definePSA_WANT_ALG_ECDSA1
    #definePSA_WANT_ALG_GCM1
    #definePSA_WANT_ALG_HKDF1
    #definePSA_WANT_ALG_HMAC1
    #definePSA_WANT_ALG_MD21
    #definePSA_WANT_ALG_MD41
    #definePSA_WANT_ALG_MD51
    #definePSA_WANT_ALG_OFB1
    #definePSA_WANT_ALG_RIPEMD1601
    #definePSA_WANT_ALG_RSA_OAEP1
    #definePSA_WANT_ALG_RSA_PKCS1V15_CRYPT1
    #definePSA_WANT_ALG_RSA_PKCS1V15_SIGN1
    #definePSA_WANT_ALG_RSA_PSS1
    #definePSA_WANT_ALG_SHA_11
    #definePSA_WANT_ALG_SHA_2241
    #definePSA_WANT_ALG_SHA_2561
    #definePSA_WANT_ALG_SHA_3841
    #definePSA_WANT_ALG_SHA_5121
    #definePSA_WANT_ALG_STREAM_CIPHER1
    #definePSA_WANT_ALG_TLS12_PRF1
    #definePSA_WANT_ALG_TLS12_PSK_TO_MS1
    /*PBKDF2-HMACisnotyetsupportedviathePSAAPIinMbedTLS.
    *Note:whenaddingsupport,alsoadjustinclude/mbedtls/config_psa.h*/
    //#definePSA_WANT_ALG_XTS1

    #definePSA_WANT_ECC_BRAINPOOL_P_R1_2561
    #definePSA_WANT_ECC_BRAINPOOL_P_R1_3841
    #definePSA_WANT_ECC_BRAINPOOL_P_R1_5121
    #definePSA_WANT_ECC_MONTGOMERY_2551
    /*
    *Curve448isnotyetsupportedviathePSAAPIinMbedTLS
    *(https://github.com/Mbed-TLS/mbedtls/issues/4249).Thus,donotenableitby
    *default.
    */
    //#definePSA_WANT_ECC_MONTGOMERY_4481
    #definePSA_WANT_ECC_SECP_K1_1921
    /*
    *SECP224K1isbuggyviathePSAAPIinMbedTLS
    *(https://github.com/Mbed-TLS/mbedtls/issues/3541).Thus,donotenableitby
    *default.
    */
    //#definePSA_WANT_ECC_SECP_K1_2241
    #definePSA_WANT_ECC_SECP_K1_2561
    #definePSA_WANT_ECC_SECP_R1_1921
    #definePSA_WANT_ECC_SECP_R1_2241
    #definePSA_WANT_ECC_SECP_R1_2561
    #definePSA_WANT_ECC_SECP_R1_3841
    #definePSA_WANT_ECC_SECP_R1_5211

    #definePSA_WANT_KEY_TYPE_DERIVE1
    #definePSA_WANT_KEY_TYPE_HMAC1
    #definePSA_WANT_KEY_TYPE_AES1
    #definePSA_WANT_KEY_TYPE_ARC41
    #definePSA_WANT_KEY_TYPE_ARIA1
    #definePSA_WANT_KEY_TYPE_CAMELLIA1
    #definePSA_WANT_KEY_TYPE_CHACHA201
    #definePSA_WANT_KEY_TYPE_DES1
    #definePSA_WANT_KEY_TYPE_ECC_KEY_PAIR1
    #definePSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY1
    #definePSA_WANT_KEY_TYPE_RAW_DATA1
    #definePSA_WANT_KEY_TYPE_RSA_KEY_PAIR1
    #definePSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY1

    #endif/*PSA_CRYPTO_CONFIG_H*/