quickjs-tart

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

crypto-config-ccm-aes-sha256.h (620B)


      1 /**
      2  * \file configs/crypto-config-ccm-aes-sha256.h
      3  *
      4  * \brief PSA crypto configuration with only symmetric cryptography: CCM-AES,
      5  *        SHA-256 and key derivation (uses HMAC).
      6  */
      7 /*
      8  *  Copyright The Mbed TLS Contributors
      9  *  SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
     10  */
     11 
     12 #ifndef PSA_CRYPTO_CONFIG_H
     13 #define PSA_CRYPTO_CONFIG_H
     14 
     15 #define PSA_WANT_ALG_CCM 1
     16 #define PSA_WANT_ALG_SHA_256 1
     17 #define PSA_WANT_ALG_TLS12_PRF 1
     18 #define PSA_WANT_ALG_TLS12_PSK_TO_MS 1
     19 #define PSA_WANT_KEY_TYPE_DERIVE 1
     20 #define PSA_WANT_KEY_TYPE_AES 1
     21 #define PSA_WANT_KEY_TYPE_RAW_DATA 1
     22 
     23 #endif /* PSA_CRYPTO_CONFIG_H */