#   @license
#   -------------------------------------------------------------------------
#   Copyright (C) 2015-2021 Virgil Security, Inc.
#
#   All rights reserved.
#
#   Redistribution and use in source and binary forms, with or without
#   modification, are permitted provided that the following conditions are
#   met:
#
#       (1) Redistributions of source code must retain the above copyright
#       notice, this list of conditions and the following disclaimer.
#
#       (2) Redistributions in binary form must reproduce the above copyright
#       notice, this list of conditions and the following disclaimer in
#       the documentation and/or other materials provided with the
#       distribution.
#
#       (3) Neither the name of the copyright holder nor the names of its
#       contributors may be used to endorse or promote products derived from
#       this software without specific prior written permission.
#
#   THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR
#   IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
#   WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
#   DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
#   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
#   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
#   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
#   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
#   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
#   IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
#   POSSIBILITY OF SUCH DAMAGE.
#
#   Lead Maintainer: Virgil Security Inc. <support@virgilsecurity.com>
#   -------------------------------------------------------------------------

#   @warning
#   -------------------------------------------------------------------------
#   This file is fully generated by script 'cmake_files_codegen.gsl'.
#   It can be changed temporary for debug purposes only.
#   -------------------------------------------------------------------------
#   @end


include_guard()

option(VSCF_LIBRARY "Enable build of the 'foundation' library" ON)
option(VSCF_MULTI_THREADING "Enable multi-threading safety for foundation library." ON)
option(VSCF_POST_QUANTUM "Enable post-quantum cryptography for foundation library [experimental]." ${VIRGIL_POST_QUANTUM})
option(VSCF_CIPHER "Enable interface 'cipher'." ON)
option(VSCF_AUTH_ENCRYPT "Enable interface 'auth encrypt'." ON)
option(VSCF_AUTH_DECRYPT "Enable interface 'auth decrypt'." ON)
option(VSCF_CIPHER_AUTH "Enable interface 'cipher auth'." ON)
option(VSCF_CIPHER_AUTH_INFO "Enable interface 'cipher auth info'." ON)
option(VSCF_CIPHER_INFO "Enable interface 'cipher info'." ON)
option(VSCF_DECRYPT "Enable interface 'decrypt'." ON)
option(VSCF_ENCRYPT "Enable interface 'encrypt'." ON)
option(VSCF_SALTED_KDF "Enable interface 'salted kdf'." ON)
option(VSCF_HASH "Enable interface 'hash'." ON)
option(VSCF_MAC "Enable interface 'mac'." ON)
option(VSCF_KDF "Enable interface 'kdf'." ON)
option(VSCF_RANDOM "Enable interface 'random'." ON)
option(VSCF_ENTROPY_SOURCE "Enable interface 'entropy source'." ON)
option(VSCF_KEY "Enable interface 'key'." ON)
option(VSCF_KEY_ALG "Enable interface 'key alg'." ON)
option(VSCF_PUBLIC_KEY "Enable interface 'public key'." ON)
option(VSCF_PRIVATE_KEY "Enable interface 'private key'." ON)
option(VSCF_KEY_CIPHER "Enable interface 'key cipher'." ON)
option(VSCF_KEY_SIGNER "Enable interface 'key signer'." ON)
option(VSCF_COMPUTE_SHARED_KEY "Enable interface 'compute shared key'." ON)
option(VSCF_KEY_SERIALIZER "Enable interface 'key serializer'." ON)
option(VSCF_KEY_DESERIALIZER "Enable interface 'key deserializer'." ON)
option(VSCF_ASN1_READER "Enable interface 'asn1 reader'." ON)
option(VSCF_ASN1_WRITER "Enable interface 'asn1 writer'." ON)
option(VSCF_ALG "Enable interface 'alg'." ON)
option(VSCF_ALG_INFO "Enable interface 'alg info'." ON)
option(VSCF_ALG_INFO_SERIALIZER "Enable interface 'alg info serializer'." ON)
option(VSCF_ALG_INFO_DESERIALIZER "Enable interface 'alg info deserializer'." ON)
option(VSCF_MESSAGE_INFO_SERIALIZER "Enable interface 'message info serializer'." ON)
option(VSCF_MESSAGE_INFO_FOOTER_SERIALIZER "Enable interface 'message info footer serializer'." ON)
option(VSCF_PADDING "Enable interface 'padding'." ON)
option(VSCF_KEM "Enable interface 'kem'." ON)
option(VSCF_SHA224 "Enable class 'sha224'." ON)
option(VSCF_SHA256 "Enable class 'sha256'." ON)
option(VSCF_SHA384 "Enable class 'sha384'." ON)
option(VSCF_SHA512 "Enable class 'sha512'." ON)
option(VSCF_AES256_GCM "Enable class 'aes256 gcm'." ON)
option(VSCF_AES256_CBC "Enable class 'aes256 cbc'." ON)
option(VSCF_ASN1RD "Enable class 'asn1rd'." ON)
option(VSCF_ASN1WR "Enable class 'asn1wr'." ON)
option(VSCF_RSA_PUBLIC_KEY "Enable class 'rsa public key'." ON)
option(VSCF_RSA_PRIVATE_KEY "Enable class 'rsa private key'." ON)
option(VSCF_RSA "Enable class 'rsa'." ON)
option(VSCF_ECC_PUBLIC_KEY "Enable class 'ecc public key'." ON)
option(VSCF_ECC_PRIVATE_KEY "Enable class 'ecc private key'." ON)
option(VSCF_ECC "Enable class 'ecc'." ON)
option(VSCF_ENTROPY_ACCUMULATOR "Enable class 'entropy accumulator'." ON)
option(VSCF_CTR_DRBG "Enable class 'ctr drbg'." ON)
option(VSCF_HMAC "Enable class 'hmac'." ON)
option(VSCF_HKDF "Enable class 'hkdf'." ON)
option(VSCF_KDF1 "Enable class 'kdf1'." ON)
option(VSCF_KDF2 "Enable class 'kdf2'." ON)
option(VSCF_FAKE_RANDOM "Enable class 'fake random'." ON)
option(VSCF_PKCS5_PBKDF2 "Enable class 'pkcs5 pbkdf2'." ON)
option(VSCF_PKCS5_PBES2 "Enable class 'pkcs5 pbes2'." ON)
option(VSCF_SEED_ENTROPY_SOURCE "Enable class 'seed entropy source'." ON)
option(VSCF_KEY_MATERIAL_RNG "Enable class 'key material rng'." ON)
option(VSCF_RAW_PUBLIC_KEY "Enable class 'raw public key'." ON)
option(VSCF_RAW_PRIVATE_KEY "Enable class 'raw private key'." ON)
option(VSCF_PKCS8_SERIALIZER "Enable class 'pkcs8 serializer'." ON)
option(VSCF_SEC1_SERIALIZER "Enable class 'sec1 serializer'." ON)
option(VSCF_KEY_ASN1_SERIALIZER "Enable class 'key asn1 serializer'." ON)
option(VSCF_KEY_ASN1_DESERIALIZER "Enable class 'key asn1 deserializer'." ON)
option(VSCF_ED25519 "Enable class 'ed25519'." ON)
option(VSCF_CURVE25519 "Enable class 'curve25519'." ON)
option(VSCF_FALCON "Enable class 'falcon'." ${FALCON_LIBRARY})
option(VSCF_ROUND5 "Enable class 'round5'." ${ROUND5_LIBRARY})
option(VSCF_COMPOUND_KEY_ALG_INFO "Enable class 'compound key alg info'." ON)
option(VSCF_COMPOUND_PUBLIC_KEY "Enable class 'compound public key'." ON)
option(VSCF_COMPOUND_PRIVATE_KEY "Enable class 'compound private key'." ON)
option(VSCF_COMPOUND_KEY_ALG "Enable class 'compound key alg'." ON)
option(VSCF_HYBRID_KEY_ALG_INFO "Enable class 'hybrid key alg info'." ON)
option(VSCF_HYBRID_PUBLIC_KEY "Enable class 'hybrid public key'." ON)
option(VSCF_HYBRID_PRIVATE_KEY "Enable class 'hybrid private key'." ON)
option(VSCF_HYBRID_KEY_ALG "Enable class 'hybrid key alg'." ON)
option(VSCF_SIMPLE_ALG_INFO "Enable class 'simple alg info'." ON)
option(VSCF_HASH_BASED_ALG_INFO "Enable class 'hash based alg info'." ON)
option(VSCF_CIPHER_ALG_INFO "Enable class 'cipher alg info'." ON)
option(VSCF_SALTED_KDF_ALG_INFO "Enable class 'salted kdf alg info'." ON)
option(VSCF_PBE_ALG_INFO "Enable class 'pbe alg info'." ON)
option(VSCF_ECC_ALG_INFO "Enable class 'ecc alg info'." ON)
option(VSCF_ALG_INFO_DER_SERIALIZER "Enable class 'alg info der serializer'." ON)
option(VSCF_ALG_INFO_DER_DESERIALIZER "Enable class 'alg info der deserializer'." ON)
option(VSCF_MESSAGE_INFO_DER_SERIALIZER "Enable class 'message info der serializer'." ON)
option(VSCF_RANDOM_PADDING "Enable class 'random padding'." ON)
option(VSCF_ERROR "Enable class 'error'." ON)
option(VSCF_MBEDTLS_BIGNUM_ASN1_WRITER "Enable class 'mbedtls bignum asn1 writer'." ON)
option(VSCF_MBEDTLS_BIGNUM_ASN1_READER "Enable class 'mbedtls bignum asn1 reader'." ON)
option(VSCF_MBEDTLS_MD "Enable class 'mbedtls md'." ON)
option(VSCF_MBEDTLS_ECP "Enable class 'mbedtls ecp'." ON)
option(VSCF_OID "Enable class 'oid'." ON)
option(VSCF_BASE64 "Enable class 'base64'." ON)
option(VSCF_PEM "Enable class 'pem'." ON)
option(VSCF_PEM_TITLE "Enable class 'pem title'." ON)
option(VSCF_MESSAGE_INFO "Enable class 'message info'." ON)
option(VSCF_KEY_RECIPIENT_INFO "Enable class 'key recipient info'." ON)
option(VSCF_KEY_RECIPIENT_INFO_LIST "Enable class 'key recipient info list'." ON)
option(VSCF_PASSWORD_RECIPIENT_INFO "Enable class 'password recipient info'." ON)
option(VSCF_PASSWORD_RECIPIENT_INFO_LIST "Enable class 'password recipient info list'." ON)
option(VSCF_ALG_FACTORY "Enable class 'alg factory'." ON)
option(VSCF_KEY_ALG_FACTORY "Enable class 'key alg factory'." ON)
option(VSCF_ECIES "Enable class 'ecies'." ON)
option(VSCF_ECIES_ENVELOPE "Enable class 'ecies envelope'." ON)
option(VSCF_RECIPIENT_CIPHER "Enable class 'recipient cipher'." ON)
option(VSCF_KEY_RECIPIENT_LIST "Enable class 'key recipient list'." ON)
option(VSCF_LIST_KEY_VALUE_NODE "Enable class 'list key value node'." ON)
option(VSCF_MESSAGE_INFO_CUSTOM_PARAMS "Enable class 'message info custom params'." ON)
option(VSCF_KEY_PROVIDER "Enable class 'key provider'." ON)
option(VSCF_SIGNER "Enable class 'signer'." ON)
option(VSCF_VERIFIER "Enable class 'verifier'." ON)
option(VSCF_SIMPLE_SWU "Enable class 'simple swu'." ON)
option(VSCF_BRAINKEY_CLIENT "Enable class 'brainkey client'." ON)
option(VSCF_BRAINKEY_SERVER "Enable class 'brainkey server'." ON)
option(VSCF_MESSAGE_PADDING "Enable class 'message padding'." ON)
option(VSCF_MESSAGE_CIPHER "Enable class 'message cipher'." ON)
option(VSCF_GROUP_SESSION_MESSAGE "Enable class 'group session message'." ON)
option(VSCF_GROUP_SESSION_TICKET "Enable class 'group session ticket'." ON)
option(VSCF_GROUP_SESSION "Enable class 'group session'." ON)
option(VSCF_GROUP_SESSION_EPOCH "Enable class 'group session epoch'." ON)
option(VSCF_GROUP_SESSION_EPOCH_NODE "Enable class 'group session epoch node'." ON)
option(VSCF_MESSAGE_INFO_EDITOR "Enable class 'message info editor'." ON)
option(VSCF_SIGNER_INFO "Enable class 'signer info'." ON)
option(VSCF_SIGNER_INFO_LIST "Enable class 'signer info list'." ON)
option(VSCF_SIGNER_LIST "Enable class 'signer list'." ON)
option(VSCF_MESSAGE_INFO_FOOTER "Enable class 'message info footer'." ON)
option(VSCF_SIGNED_DATA_INFO "Enable class 'signed data info'." ON)
option(VSCF_FOOTER_INFO "Enable class 'footer info'." ON)
option(VSCF_KEY_INFO "Enable class 'key info'." ON)
option(VSCF_TAIL_FILTER "Enable class 'tail filter'." ON)
option(VSCF_PADDING_PARAMS "Enable class 'padding params'." ON)
option(VSCF_PADDING_CIPHER "Enable class 'padding cipher'." ON)
mark_as_advanced(
        VSCF_LIBRARY
        VSCF_MULTI_THREADING
        VSCF_POST_QUANTUM
        VSCF_CIPHER
        VSCF_AUTH_ENCRYPT
        VSCF_AUTH_DECRYPT
        VSCF_CIPHER_AUTH
        VSCF_CIPHER_AUTH_INFO
        VSCF_CIPHER_INFO
        VSCF_DECRYPT
        VSCF_ENCRYPT
        VSCF_SALTED_KDF
        VSCF_HASH
        VSCF_MAC
        VSCF_KDF
        VSCF_RANDOM
        VSCF_ENTROPY_SOURCE
        VSCF_KEY
        VSCF_KEY_ALG
        VSCF_PUBLIC_KEY
        VSCF_PRIVATE_KEY
        VSCF_KEY_CIPHER
        VSCF_KEY_SIGNER
        VSCF_COMPUTE_SHARED_KEY
        VSCF_KEY_SERIALIZER
        VSCF_KEY_DESERIALIZER
        VSCF_ASN1_READER
        VSCF_ASN1_WRITER
        VSCF_ALG
        VSCF_ALG_INFO
        VSCF_ALG_INFO_SERIALIZER
        VSCF_ALG_INFO_DESERIALIZER
        VSCF_MESSAGE_INFO_SERIALIZER
        VSCF_MESSAGE_INFO_FOOTER_SERIALIZER
        VSCF_PADDING
        VSCF_KEM
        VSCF_SHA224
        VSCF_SHA256
        VSCF_SHA384
        VSCF_SHA512
        VSCF_AES256_GCM
        VSCF_AES256_CBC
        VSCF_ASN1RD
        VSCF_ASN1WR
        VSCF_RSA_PUBLIC_KEY
        VSCF_RSA_PRIVATE_KEY
        VSCF_RSA
        VSCF_ECC_PUBLIC_KEY
        VSCF_ECC_PRIVATE_KEY
        VSCF_ECC
        VSCF_ENTROPY_ACCUMULATOR
        VSCF_CTR_DRBG
        VSCF_HMAC
        VSCF_HKDF
        VSCF_KDF1
        VSCF_KDF2
        VSCF_FAKE_RANDOM
        VSCF_PKCS5_PBKDF2
        VSCF_PKCS5_PBES2
        VSCF_SEED_ENTROPY_SOURCE
        VSCF_KEY_MATERIAL_RNG
        VSCF_RAW_PUBLIC_KEY
        VSCF_RAW_PRIVATE_KEY
        VSCF_PKCS8_SERIALIZER
        VSCF_SEC1_SERIALIZER
        VSCF_KEY_ASN1_SERIALIZER
        VSCF_KEY_ASN1_DESERIALIZER
        VSCF_ED25519
        VSCF_CURVE25519
        VSCF_FALCON
        VSCF_ROUND5
        VSCF_COMPOUND_KEY_ALG_INFO
        VSCF_COMPOUND_PUBLIC_KEY
        VSCF_COMPOUND_PRIVATE_KEY
        VSCF_COMPOUND_KEY_ALG
        VSCF_HYBRID_KEY_ALG_INFO
        VSCF_HYBRID_PUBLIC_KEY
        VSCF_HYBRID_PRIVATE_KEY
        VSCF_HYBRID_KEY_ALG
        VSCF_SIMPLE_ALG_INFO
        VSCF_HASH_BASED_ALG_INFO
        VSCF_CIPHER_ALG_INFO
        VSCF_SALTED_KDF_ALG_INFO
        VSCF_PBE_ALG_INFO
        VSCF_ECC_ALG_INFO
        VSCF_ALG_INFO_DER_SERIALIZER
        VSCF_ALG_INFO_DER_DESERIALIZER
        VSCF_MESSAGE_INFO_DER_SERIALIZER
        VSCF_RANDOM_PADDING
        VSCF_ERROR
        VSCF_MBEDTLS_BIGNUM_ASN1_WRITER
        VSCF_MBEDTLS_BIGNUM_ASN1_READER
        VSCF_MBEDTLS_MD
        VSCF_MBEDTLS_ECP
        VSCF_OID
        VSCF_BASE64
        VSCF_PEM
        VSCF_PEM_TITLE
        VSCF_MESSAGE_INFO
        VSCF_KEY_RECIPIENT_INFO
        VSCF_KEY_RECIPIENT_INFO_LIST
        VSCF_PASSWORD_RECIPIENT_INFO
        VSCF_PASSWORD_RECIPIENT_INFO_LIST
        VSCF_ALG_FACTORY
        VSCF_KEY_ALG_FACTORY
        VSCF_ECIES
        VSCF_ECIES_ENVELOPE
        VSCF_RECIPIENT_CIPHER
        VSCF_KEY_RECIPIENT_LIST
        VSCF_LIST_KEY_VALUE_NODE
        VSCF_MESSAGE_INFO_CUSTOM_PARAMS
        VSCF_KEY_PROVIDER
        VSCF_SIGNER
        VSCF_VERIFIER
        VSCF_SIMPLE_SWU
        VSCF_BRAINKEY_CLIENT
        VSCF_BRAINKEY_SERVER
        VSCF_MESSAGE_PADDING
        VSCF_MESSAGE_CIPHER
        VSCF_GROUP_SESSION_MESSAGE
        VSCF_GROUP_SESSION_TICKET
        VSCF_GROUP_SESSION
        VSCF_GROUP_SESSION_EPOCH
        VSCF_GROUP_SESSION_EPOCH_NODE
        VSCF_MESSAGE_INFO_EDITOR
        VSCF_SIGNER_INFO
        VSCF_SIGNER_INFO_LIST
        VSCF_SIGNER_LIST
        VSCF_MESSAGE_INFO_FOOTER
        VSCF_SIGNED_DATA_INFO
        VSCF_FOOTER_INFO
        VSCF_KEY_INFO
        VSCF_TAIL_FILTER
        VSCF_PADDING_PARAMS
        VSCF_PADDING_CIPHER
        )

if(VSCF_MULTI_THREADING AND NOT MBEDTLS_THREADING_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_MULTI_THREADING depends on the feature:")
    message("     MBEDTLS_THREADING_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_POST_QUANTUM AND NOT ROUND5_LIBRARY)
    message("-- error --")
    message("--")
    message("Feature VSCF_POST_QUANTUM depends on the feature:")
    message("     ROUND5_LIBRARY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_POST_QUANTUM AND NOT FALCON_LIBRARY)
    message("-- error --")
    message("--")
    message("Feature VSCF_POST_QUANTUM depends on the feature:")
    message("     FALCON_LIBRARY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CIPHER AND NOT VSCF_ENCRYPT)
    message("-- error --")
    message("--")
    message("Feature VSCF_CIPHER depends on the feature:")
    message("     VSCF_ENCRYPT - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CIPHER AND NOT VSCF_DECRYPT)
    message("-- error --")
    message("--")
    message("Feature VSCF_CIPHER depends on the feature:")
    message("     VSCF_DECRYPT - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CIPHER AND NOT VSCF_CIPHER_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_CIPHER depends on the feature:")
    message("     VSCF_CIPHER_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AUTH_ENCRYPT AND NOT VSCF_CIPHER_AUTH_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_AUTH_ENCRYPT depends on the feature:")
    message("     VSCF_CIPHER_AUTH_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AUTH_DECRYPT AND NOT VSCF_CIPHER_AUTH_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_AUTH_DECRYPT depends on the feature:")
    message("     VSCF_CIPHER_AUTH_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CIPHER_AUTH AND NOT VSCF_CIPHER)
    message("-- error --")
    message("--")
    message("Feature VSCF_CIPHER_AUTH depends on the feature:")
    message("     VSCF_CIPHER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CIPHER_AUTH AND NOT VSCF_AUTH_ENCRYPT)
    message("-- error --")
    message("--")
    message("Feature VSCF_CIPHER_AUTH depends on the feature:")
    message("     VSCF_AUTH_ENCRYPT - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CIPHER_AUTH AND NOT VSCF_AUTH_DECRYPT)
    message("-- error --")
    message("--")
    message("Feature VSCF_CIPHER_AUTH depends on the feature:")
    message("     VSCF_AUTH_DECRYPT - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SALTED_KDF AND NOT VSCF_KDF)
    message("-- error --")
    message("--")
    message("Feature VSCF_SALTED_KDF depends on the feature:")
    message("     VSCF_KDF - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PUBLIC_KEY AND NOT VSCF_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_PUBLIC_KEY depends on the feature:")
    message("     VSCF_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PRIVATE_KEY AND NOT VSCF_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_PRIVATE_KEY depends on the feature:")
    message("     VSCF_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_CIPHER AND NOT VSCF_KEY_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_CIPHER depends on the feature:")
    message("     VSCF_KEY_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_SIGNER AND NOT VSCF_KEY_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_SIGNER depends on the feature:")
    message("     VSCF_KEY_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPUTE_SHARED_KEY AND NOT VSCF_KEY_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPUTE_SHARED_KEY depends on the feature:")
    message("     VSCF_KEY_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA224 AND NOT MBEDTLS_SHA256_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA224 depends on the feature:")
    message("     MBEDTLS_SHA256_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA224 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA224 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA224 AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA224 depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA256 AND NOT MBEDTLS_SHA256_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA256 depends on the feature:")
    message("     MBEDTLS_SHA256_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA256 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA256 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA256 AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA256 depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA384 AND NOT MBEDTLS_SHA512_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA384 depends on the feature:")
    message("     MBEDTLS_SHA512_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA384 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA384 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA384 AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA384 depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA512 AND NOT MBEDTLS_SHA512_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA512 depends on the feature:")
    message("     MBEDTLS_SHA512_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA512 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA512 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SHA512 AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SHA512 depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AES256_GCM AND NOT MBEDTLS_CIPHER_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_AES256_GCM depends on the feature:")
    message("     MBEDTLS_CIPHER_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AES256_GCM AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_AES256_GCM depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AES256_GCM AND NOT VSCF_CIPHER_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_AES256_GCM depends on the feature:")
    message("     VSCF_CIPHER_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AES256_CBC AND NOT MBEDTLS_CIPHER_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_AES256_CBC depends on the feature:")
    message("     MBEDTLS_CIPHER_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AES256_CBC AND NOT MBEDTLS_AES_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_AES256_CBC depends on the feature:")
    message("     MBEDTLS_AES_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AES256_CBC AND NOT MBEDTLS_CIPHER_MODE_CBC)
    message("-- error --")
    message("--")
    message("Feature VSCF_AES256_CBC depends on the feature:")
    message("     MBEDTLS_CIPHER_MODE_CBC - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AES256_CBC AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_AES256_CBC depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_AES256_CBC AND NOT VSCF_CIPHER_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_AES256_CBC depends on the feature:")
    message("     VSCF_CIPHER_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ASN1RD AND NOT MBEDTLS_ASN1_PARSE_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_ASN1RD depends on the feature:")
    message("     MBEDTLS_ASN1_PARSE_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ASN1WR AND NOT MBEDTLS_ASN1_WRITE_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_ASN1WR depends on the feature:")
    message("     MBEDTLS_ASN1_WRITE_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA_PUBLIC_KEY AND NOT VSCF_MBEDTLS_BIGNUM_ASN1_READER)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA_PUBLIC_KEY depends on the feature:")
    message("     VSCF_MBEDTLS_BIGNUM_ASN1_READER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA_PUBLIC_KEY AND NOT VSCF_MBEDTLS_BIGNUM_ASN1_WRITER)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA_PUBLIC_KEY depends on the feature:")
    message("     VSCF_MBEDTLS_BIGNUM_ASN1_WRITER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA_PUBLIC_KEY AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA_PUBLIC_KEY depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA_PRIVATE_KEY AND NOT VSCF_MBEDTLS_BIGNUM_ASN1_READER)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA_PRIVATE_KEY depends on the feature:")
    message("     VSCF_MBEDTLS_BIGNUM_ASN1_READER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA_PRIVATE_KEY AND NOT VSCF_MBEDTLS_BIGNUM_ASN1_WRITER)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA_PRIVATE_KEY depends on the feature:")
    message("     VSCF_MBEDTLS_BIGNUM_ASN1_WRITER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA_PRIVATE_KEY AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA_PRIVATE_KEY depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT MBEDTLS_RSA_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     MBEDTLS_RSA_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT MBEDTLS_BIGNUM_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     MBEDTLS_BIGNUM_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT MBEDTLS_PKCS1_V21)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     MBEDTLS_PKCS1_V21 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT VSCF_MBEDTLS_MD)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     VSCF_MBEDTLS_MD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RSA AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_RSA depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC_PUBLIC_KEY AND NOT VSCF_MBEDTLS_ECP)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC_PUBLIC_KEY depends on the feature:")
    message("     VSCF_MBEDTLS_ECP - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC_PUBLIC_KEY AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC_PUBLIC_KEY depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC_PRIVATE_KEY AND NOT VSCF_MBEDTLS_ECP)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC_PRIVATE_KEY depends on the feature:")
    message("     VSCF_MBEDTLS_ECP - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC_PRIVATE_KEY AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC_PRIVATE_KEY depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT MBEDTLS_ECP_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     MBEDTLS_ECP_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT MBEDTLS_ECDH_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     MBEDTLS_ECDH_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT MBEDTLS_ECDSA_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     MBEDTLS_ECDSA_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT MBEDTLS_ECP_DP_SECP256R1_ENABLED)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     MBEDTLS_ECP_DP_SECP256R1_ENABLED - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT MBEDTLS_BIGNUM_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     MBEDTLS_BIGNUM_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_ASN1RD)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_ASN1RD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_ASN1WR)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_ASN1WR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_MBEDTLS_BIGNUM_ASN1_READER)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_MBEDTLS_BIGNUM_ASN1_READER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_MBEDTLS_BIGNUM_ASN1_WRITER)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_MBEDTLS_BIGNUM_ASN1_WRITER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_MBEDTLS_MD)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_MBEDTLS_MD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_MBEDTLS_ECP)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_MBEDTLS_ECP - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_ECC_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_ECC_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECC AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECC depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ENTROPY_ACCUMULATOR AND NOT VSCF_ENTROPY_SOURCE)
    message("-- error --")
    message("--")
    message("Feature VSCF_ENTROPY_ACCUMULATOR depends on the feature:")
    message("     VSCF_ENTROPY_SOURCE - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CTR_DRBG AND NOT VSCF_ENTROPY_ACCUMULATOR)
    message("-- error --")
    message("--")
    message("Feature VSCF_CTR_DRBG depends on the feature:")
    message("     VSCF_ENTROPY_ACCUMULATOR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HMAC AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_HMAC depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HMAC AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_HMAC depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HMAC AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HMAC depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HMAC AND NOT VSCF_HASH_BASED_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_HMAC depends on the feature:")
    message("     VSCF_HASH_BASED_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HKDF AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_HKDF depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HKDF AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_HKDF depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HKDF AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HKDF depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HKDF AND NOT VSCF_HASH_BASED_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_HKDF depends on the feature:")
    message("     VSCF_HASH_BASED_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KDF1 AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_KDF1 depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KDF1 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_KDF1 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KDF1 AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_KDF1 depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KDF1 AND NOT VSCF_HASH_BASED_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_KDF1 depends on the feature:")
    message("     VSCF_HASH_BASED_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KDF2 AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_KDF2 depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KDF2 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_KDF2 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KDF2 AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_KDF2 depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KDF2 AND NOT VSCF_HASH_BASED_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_KDF2 depends on the feature:")
    message("     VSCF_HASH_BASED_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBKDF2 AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBKDF2 depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBKDF2 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBKDF2 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBKDF2 AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBKDF2 depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBKDF2 AND NOT VSCF_HMAC)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBKDF2 depends on the feature:")
    message("     VSCF_HMAC - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBKDF2 AND NOT VSCF_SHA384)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBKDF2 depends on the feature:")
    message("     VSCF_SHA384 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBKDF2 AND NOT VSCF_SALTED_KDF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBKDF2 depends on the feature:")
    message("     VSCF_SALTED_KDF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBES2 AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBES2 depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBES2 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBES2 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBES2 AND NOT VSCF_ENCRYPT)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBES2 depends on the feature:")
    message("     VSCF_ENCRYPT - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBES2 AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBES2 depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBES2 AND NOT VSCF_PKCS5_PBKDF2)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBES2 depends on the feature:")
    message("     VSCF_PKCS5_PBKDF2 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBES2 AND NOT VSCF_AES256_GCM)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBES2 depends on the feature:")
    message("     VSCF_AES256_GCM - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS5_PBES2 AND NOT VSCF_PBE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS5_PBES2 depends on the feature:")
    message("     VSCF_PBE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SEED_ENTROPY_SOURCE AND NOT VSCF_KDF2)
    message("-- error --")
    message("--")
    message("Feature VSCF_SEED_ENTROPY_SOURCE depends on the feature:")
    message("     VSCF_KDF2 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SEED_ENTROPY_SOURCE AND NOT VSCF_SHA512)
    message("-- error --")
    message("--")
    message("Feature VSCF_SEED_ENTROPY_SOURCE depends on the feature:")
    message("     VSCF_SHA512 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SEED_ENTROPY_SOURCE AND NOT VSCF_HASH)
    message("-- error --")
    message("--")
    message("Feature VSCF_SEED_ENTROPY_SOURCE depends on the feature:")
    message("     VSCF_HASH - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SEED_ENTROPY_SOURCE AND NOT VSCF_KDF)
    message("-- error --")
    message("--")
    message("Feature VSCF_SEED_ENTROPY_SOURCE depends on the feature:")
    message("     VSCF_KDF - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_MATERIAL_RNG AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_MATERIAL_RNG depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_MATERIAL_RNG AND NOT VSCF_SEED_ENTROPY_SOURCE)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_MATERIAL_RNG depends on the feature:")
    message("     VSCF_SEED_ENTROPY_SOURCE - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RAW_PUBLIC_KEY AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_RAW_PUBLIC_KEY depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RAW_PRIVATE_KEY AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_RAW_PRIVATE_KEY depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS8_SERIALIZER AND NOT VSCF_OID)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS8_SERIALIZER depends on the feature:")
    message("     VSCF_OID - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PKCS8_SERIALIZER AND NOT VSCF_ASN1WR)
    message("-- error --")
    message("--")
    message("Feature VSCF_PKCS8_SERIALIZER depends on the feature:")
    message("     VSCF_ASN1WR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SEC1_SERIALIZER AND NOT VSCF_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_SEC1_SERIALIZER depends on the feature:")
    message("     VSCF_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SEC1_SERIALIZER AND NOT VSCF_OID)
    message("-- error --")
    message("--")
    message("Feature VSCF_SEC1_SERIALIZER depends on the feature:")
    message("     VSCF_OID - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SEC1_SERIALIZER AND NOT VSCF_ASN1WR)
    message("-- error --")
    message("--")
    message("Feature VSCF_SEC1_SERIALIZER depends on the feature:")
    message("     VSCF_ASN1WR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SEC1_SERIALIZER AND NOT VSCF_ALG_INFO_DER_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_SEC1_SERIALIZER depends on the feature:")
    message("     VSCF_ALG_INFO_DER_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SEC1_SERIALIZER AND NOT VSCF_ECC_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SEC1_SERIALIZER depends on the feature:")
    message("     VSCF_ECC_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_SERIALIZER AND NOT VSCF_ASN1_WRITER)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_SERIALIZER depends on the feature:")
    message("     VSCF_ASN1_WRITER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_SERIALIZER AND NOT VSCF_ASN1WR)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_SERIALIZER depends on the feature:")
    message("     VSCF_ASN1WR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_SERIALIZER AND NOT VSCF_PKCS8_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_SERIALIZER depends on the feature:")
    message("     VSCF_PKCS8_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_SERIALIZER AND NOT VSCF_SEC1_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_SERIALIZER depends on the feature:")
    message("     VSCF_SEC1_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_DESERIALIZER AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_DESERIALIZER depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_DESERIALIZER AND NOT VSCF_ALG_INFO_DER_DESERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_DESERIALIZER depends on the feature:")
    message("     VSCF_ALG_INFO_DER_DESERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_DESERIALIZER AND NOT VSCF_OID)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_DESERIALIZER depends on the feature:")
    message("     VSCF_OID - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_DESERIALIZER AND NOT VSCF_ASN1RD)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_DESERIALIZER depends on the feature:")
    message("     VSCF_ASN1RD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_DESERIALIZER AND NOT VSCF_PEM)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_DESERIALIZER depends on the feature:")
    message("     VSCF_PEM - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_DESERIALIZER AND NOT VSCF_PEM_TITLE)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_DESERIALIZER depends on the feature:")
    message("     VSCF_PEM_TITLE - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ASN1_DESERIALIZER AND NOT VSCF_ECC_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ASN1_DESERIALIZER depends on the feature:")
    message("     VSCF_ECC_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ED25519 AND NOT ED25519_LIBRARY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ED25519 depends on the feature:")
    message("     ED25519_LIBRARY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ED25519 AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ED25519 depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ED25519 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ED25519 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ED25519 AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ED25519 depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ED25519 AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ED25519 depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ED25519 AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_ED25519 depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CURVE25519 AND NOT ED25519_LIBRARY)
    message("-- error --")
    message("--")
    message("Feature VSCF_CURVE25519 depends on the feature:")
    message("     ED25519_LIBRARY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CURVE25519 AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_CURVE25519 depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CURVE25519 AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_CURVE25519 depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CURVE25519 AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_CURVE25519 depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CURVE25519 AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_CURVE25519 depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_CURVE25519 AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_CURVE25519 depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_FALCON AND NOT FALCON_LIBRARY)
    message("-- error --")
    message("--")
    message("Feature VSCF_FALCON depends on the feature:")
    message("     FALCON_LIBRARY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_FALCON AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_FALCON depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_FALCON AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_FALCON depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_FALCON AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_FALCON depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_FALCON AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_FALCON depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ROUND5 AND NOT ROUND5_LIBRARY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ROUND5 depends on the feature:")
    message("     ROUND5_LIBRARY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ROUND5 AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ROUND5 depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ROUND5 AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ROUND5 depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ROUND5 AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_ROUND5 depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ROUND5 AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ROUND5 depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_PUBLIC_KEY AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_PUBLIC_KEY depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_PUBLIC_KEY AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_PUBLIC_KEY depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_PRIVATE_KEY AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_PRIVATE_KEY depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_PRIVATE_KEY AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_PRIVATE_KEY depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_PRIVATE_KEY AND NOT VSCF_COMPOUND_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_PRIVATE_KEY depends on the feature:")
    message("     VSCF_COMPOUND_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_KEY_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_KEY_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_KEY_CIPHER)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_KEY_CIPHER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_KEY_SIGNER)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_KEY_SIGNER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_SHA512)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_SHA512 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_COMPOUND_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_COMPOUND_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_COMPOUND_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_COMPOUND_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_COMPOUND_KEY_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_COMPOUND_KEY_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_ASN1RD)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_ASN1RD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_COMPOUND_KEY_ALG AND NOT VSCF_ASN1WR)
    message("-- error --")
    message("--")
    message("Feature VSCF_COMPOUND_KEY_ALG depends on the feature:")
    message("     VSCF_ASN1WR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_PUBLIC_KEY AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_PUBLIC_KEY depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_PUBLIC_KEY AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_PUBLIC_KEY depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_PRIVATE_KEY AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_PRIVATE_KEY depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_PRIVATE_KEY AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_PRIVATE_KEY depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_PRIVATE_KEY AND NOT VSCF_HYBRID_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_PRIVATE_KEY depends on the feature:")
    message("     VSCF_HYBRID_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_OID)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_OID - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_KEY_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_KEY_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_KEM)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_KEM - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_KEY_SIGNER)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_KEY_SIGNER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_COMPUTE_SHARED_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_COMPUTE_SHARED_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_SHA512)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_SHA512 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_AES256_GCM)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_AES256_GCM - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_HYBRID_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_HYBRID_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_HYBRID_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_HYBRID_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_HYBRID_KEY_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_HYBRID_KEY_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_ASN1RD)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_ASN1RD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_HYBRID_KEY_ALG AND NOT VSCF_ASN1WR)
    message("-- error --")
    message("--")
    message("Feature VSCF_HYBRID_KEY_ALG depends on the feature:")
    message("     VSCF_ASN1WR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_ASN1WR)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_ASN1WR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_OID)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_OID - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_CIPHER_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_CIPHER_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_HASH_BASED_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_HASH_BASED_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_SALTED_KDF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_SALTED_KDF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_PBE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_PBE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_ECC_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_ECC_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_COMPOUND_KEY_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_COMPOUND_KEY_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_SERIALIZER AND NOT VSCF_HYBRID_KEY_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_HYBRID_KEY_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_ASN1RD)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_ASN1RD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_OID)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_OID - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_CIPHER_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_CIPHER_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_HASH_BASED_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_HASH_BASED_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_SALTED_KDF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_SALTED_KDF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_PBE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_PBE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_ECC_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_ECC_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_COMPOUND_KEY_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_COMPOUND_KEY_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_INFO_DER_DESERIALIZER AND NOT VSCF_HYBRID_KEY_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_INFO_DER_DESERIALIZER depends on the feature:")
    message("     VSCF_HYBRID_KEY_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_DER_SERIALIZER AND NOT VSCF_ASN1RD)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_ASN1RD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_DER_SERIALIZER AND NOT VSCF_ASN1WR)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_ASN1WR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_DER_SERIALIZER AND NOT VSCF_ALG_INFO_DER_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_ALG_INFO_DER_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_DER_SERIALIZER AND NOT VSCF_ALG_INFO_DER_DESERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_ALG_INFO_DER_DESERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_DER_SERIALIZER AND NOT VSCF_OID)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_DER_SERIALIZER depends on the feature:")
    message("     VSCF_OID - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RANDOM_PADDING AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_RANDOM_PADDING depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RANDOM_PADDING AND NOT VSCF_SIMPLE_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_RANDOM_PADDING depends on the feature:")
    message("     VSCF_SIMPLE_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MBEDTLS_BIGNUM_ASN1_WRITER AND NOT MBEDTLS_BIGNUM_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_MBEDTLS_BIGNUM_ASN1_WRITER depends on the feature:")
    message("     MBEDTLS_BIGNUM_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MBEDTLS_BIGNUM_ASN1_WRITER AND NOT VSCF_ASN1_WRITER)
    message("-- error --")
    message("--")
    message("Feature VSCF_MBEDTLS_BIGNUM_ASN1_WRITER depends on the feature:")
    message("     VSCF_ASN1_WRITER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MBEDTLS_BIGNUM_ASN1_READER AND NOT MBEDTLS_BIGNUM_C)
    message("-- error --")
    message("--")
    message("Feature VSCF_MBEDTLS_BIGNUM_ASN1_READER depends on the feature:")
    message("     MBEDTLS_BIGNUM_C - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MBEDTLS_BIGNUM_ASN1_READER AND NOT VSCF_ASN1_READER)
    message("-- error --")
    message("--")
    message("Feature VSCF_MBEDTLS_BIGNUM_ASN1_READER depends on the feature:")
    message("     VSCF_ASN1_READER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_PEM AND NOT VSCF_BASE64)
    message("-- error --")
    message("--")
    message("Feature VSCF_PEM depends on the feature:")
    message("     VSCF_BASE64 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_FACTORY AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_FACTORY depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_FACTORY AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_FACTORY depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_FACTORY AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_FACTORY depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ALG_FACTORY AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ALG_FACTORY depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ALG_FACTORY AND NOT VSCF_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ALG_FACTORY depends on the feature:")
    message("     VSCF_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_ALG_FACTORY AND NOT VSCF_RANDOM)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_ALG_FACTORY depends on the feature:")
    message("     VSCF_RANDOM - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_COMPUTE_SHARED_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_COMPUTE_SHARED_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_KEY_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_KEY_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_KEY_CIPHER)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_KEY_CIPHER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_KDF2)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_KDF2 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_SHA384)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_SHA384 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_HMAC)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_HMAC - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_AES256_CBC)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_AES256_CBC - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_KEY_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_KEY_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES AND NOT VSCF_ECIES_ENVELOPE)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES depends on the feature:")
    message("     VSCF_ECIES_ENVELOPE - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_HMAC)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_HMAC - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_ASN1RD)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_ASN1RD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_ASN1WR)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_ASN1WR - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_KEY_ASN1_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_KEY_ASN1_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_KEY_ASN1_DESERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_KEY_ASN1_DESERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_ALG_INFO_DER_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_ALG_INFO_DER_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_ALG_INFO_DER_DESERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_ALG_INFO_DER_DESERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_HASH_BASED_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_HASH_BASED_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_ECIES_ENVELOPE AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_ECIES_ENVELOPE depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_CIPHER_AUTH)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_CIPHER_AUTH - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_DECRYPT)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_DECRYPT - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_ENCRYPT)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_ENCRYPT - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_KDF)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_KDF - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_KEY_CIPHER)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_KEY_CIPHER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_KEY_SIGNER)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_KEY_SIGNER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_MESSAGE_INFO_DER_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_MESSAGE_INFO_DER_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_KEY_RECIPIENT_LIST)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_KEY_RECIPIENT_LIST - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_AES256_GCM)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_AES256_GCM - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_KEY_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_KEY_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_SHA512)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_SHA512 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_HKDF)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_HKDF - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_RECIPIENT_CIPHER AND NOT VSCF_RANDOM_PADDING)
    message("-- error --")
    message("--")
    message("Feature VSCF_RECIPIENT_CIPHER depends on the feature:")
    message("     VSCF_RANDOM_PADDING - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_RECIPIENT_LIST AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_RECIPIENT_LIST depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_PROVIDER AND NOT VSCF_KEY_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_PROVIDER depends on the feature:")
    message("     VSCF_KEY_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_PROVIDER AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_PROVIDER depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_PROVIDER AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_PROVIDER depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_PROVIDER AND NOT VSCF_KEY_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_PROVIDER depends on the feature:")
    message("     VSCF_KEY_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_PROVIDER AND NOT VSCF_KEY_DESERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_PROVIDER depends on the feature:")
    message("     VSCF_KEY_DESERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_PROVIDER AND NOT VSCF_KEY_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_PROVIDER depends on the feature:")
    message("     VSCF_KEY_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_PROVIDER AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_PROVIDER depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_PROVIDER AND NOT VSCF_KEY_ASN1_DESERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_PROVIDER depends on the feature:")
    message("     VSCF_KEY_ASN1_DESERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_PROVIDER AND NOT VSCF_KEY_ASN1_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_PROVIDER depends on the feature:")
    message("     VSCF_KEY_ASN1_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER AND NOT VSCF_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER depends on the feature:")
    message("     VSCF_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER AND NOT VSCF_KEY_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER depends on the feature:")
    message("     VSCF_KEY_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER AND NOT VSCF_KEY_SIGNER)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER depends on the feature:")
    message("     VSCF_KEY_SIGNER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER AND NOT VSCF_SHA512)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER depends on the feature:")
    message("     VSCF_SHA512 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER AND NOT VSCF_KEY_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER depends on the feature:")
    message("     VSCF_KEY_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_VERIFIER AND NOT VSCF_ALG)
    message("-- error --")
    message("--")
    message("Feature VSCF_VERIFIER depends on the feature:")
    message("     VSCF_ALG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_VERIFIER AND NOT VSCF_HASH)
    message("-- error --")
    message("--")
    message("Feature VSCF_VERIFIER depends on the feature:")
    message("     VSCF_HASH - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_VERIFIER AND NOT VSCF_KEY_SIGNER)
    message("-- error --")
    message("--")
    message("Feature VSCF_VERIFIER depends on the feature:")
    message("     VSCF_KEY_SIGNER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_VERIFIER AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_VERIFIER depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_VERIFIER AND NOT VSCF_ASN1RD)
    message("-- error --")
    message("--")
    message("Feature VSCF_VERIFIER depends on the feature:")
    message("     VSCF_ASN1RD - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_VERIFIER AND NOT VSCF_ALG_INFO_DER_DESERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_VERIFIER depends on the feature:")
    message("     VSCF_ALG_INFO_DER_DESERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_VERIFIER AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_VERIFIER depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_VERIFIER AND NOT VSCF_KEY_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_VERIFIER depends on the feature:")
    message("     VSCF_KEY_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIMPLE_SWU AND NOT VSCF_SHA512)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIMPLE_SWU depends on the feature:")
    message("     VSCF_SHA512 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_BRAINKEY_CLIENT AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_BRAINKEY_CLIENT depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_BRAINKEY_CLIENT AND NOT VSCF_HKDF)
    message("-- error --")
    message("--")
    message("Feature VSCF_BRAINKEY_CLIENT depends on the feature:")
    message("     VSCF_HKDF - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_BRAINKEY_CLIENT AND NOT VSCF_SHA512)
    message("-- error --")
    message("--")
    message("Feature VSCF_BRAINKEY_CLIENT depends on the feature:")
    message("     VSCF_SHA512 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_BRAINKEY_SERVER AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_BRAINKEY_SERVER depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_CIPHER AND NOT VSCF_SHA512)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_CIPHER depends on the feature:")
    message("     VSCF_SHA512 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_CIPHER AND NOT VSCF_HKDF)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_CIPHER depends on the feature:")
    message("     VSCF_HKDF - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_GROUP_SESSION_TICKET AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_GROUP_SESSION_TICKET depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_GROUP_SESSION AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_GROUP_SESSION depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_GROUP_SESSION AND NOT VSCF_ED25519)
    message("-- error --")
    message("--")
    message("Feature VSCF_GROUP_SESSION depends on the feature:")
    message("     VSCF_ED25519 - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_GROUP_SESSION AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_GROUP_SESSION depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_GROUP_SESSION AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_GROUP_SESSION depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_ENCRYPT)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_ENCRYPT - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_DECRYPT)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_DECRYPT - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_PUBLIC_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_PUBLIC_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_KEY_CIPHER)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_KEY_CIPHER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_MESSAGE_INFO_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_MESSAGE_INFO_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_KEY_ALG_FACTORY)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_KEY_ALG_FACTORY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_KEY_PROVIDER)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_KEY_PROVIDER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_CTR_DRBG)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_CTR_DRBG - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_MESSAGE_INFO_EDITOR AND NOT VSCF_MESSAGE_INFO_DER_SERIALIZER)
    message("-- error --")
    message("--")
    message("Feature VSCF_MESSAGE_INFO_EDITOR depends on the feature:")
    message("     VSCF_MESSAGE_INFO_DER_SERIALIZER - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER_INFO AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER_INFO depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_SIGNER_LIST AND NOT VSCF_PRIVATE_KEY)
    message("-- error --")
    message("--")
    message("Feature VSCF_SIGNER_LIST depends on the feature:")
    message("     VSCF_PRIVATE_KEY - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_INFO AND NOT VSCF_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_INFO depends on the feature:")
    message("     VSCF_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_INFO AND NOT VSCF_COMPOUND_KEY_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_INFO depends on the feature:")
    message("     VSCF_COMPOUND_KEY_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()

if(VSCF_KEY_INFO AND NOT VSCF_HYBRID_KEY_ALG_INFO)
    message("-- error --")
    message("--")
    message("Feature VSCF_KEY_INFO depends on the feature:")
    message("     VSCF_HYBRID_KEY_ALG_INFO - which is disabled.")
    message("--")
    message(FATAL_ERROR)
endif()
