quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

crypto_adjust_auto_enabled.h (1125B)


      1 /**
      2  * \file psa/crypto_adjust_auto_enabled.h
      3  * \brief Adjust PSA configuration: enable always-on features
      4  *
      5  * This is an internal header. Do not include it directly.
      6  *
      7  * Always enable certain features which require a negligible amount of code
      8  * to implement, to avoid some edge cases in the configuration combinatorics.
      9  */
     10 /*
     11  *  Copyright The Mbed TLS Contributors
     12  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
     13  */
     14 
     15 #ifndef PSA_CRYPTO_ADJUST_AUTO_ENABLED_H
     16 #define PSA_CRYPTO_ADJUST_AUTO_ENABLED_H
     17 
     18 #if !defined(MBEDTLS_CONFIG_FILES_READ)
     19 #error "Do not include psa/crypto_adjust_*.h manually! This can lead to problems, " \
     20     "up to and including runtime errors such as buffer overflows. " \
     21     "If you're trying to fix a complaint from check_config.h, just remove " \
     22     "it from your configuration file: since Mbed TLS 3.0, it is included " \
     23     "automatically at the right point."
     24 #endif /* */
     25 
     26 #define PSA_WANT_KEY_TYPE_DERIVE 1
     27 #define PSA_WANT_KEY_TYPE_PASSWORD 1
     28 #define PSA_WANT_KEY_TYPE_PASSWORD_HASH 1
     29 #define PSA_WANT_KEY_TYPE_RAW_DATA 1
     30 
     31 #endif /* PSA_CRYPTO_ADJUST_AUTO_ENABLED_H */