Consistency checks for configuration options. More...
Macros | |
#define | ATCAH_INCLUDE_DATA (DEFAULT_ENABLED) |
#define | ATCAH_NONCE (DEFAULT_ENABLED) |
#define | ATCAH_IO_DECRYPT (DEFAULT_ENABLED) |
#define | ATCAH_VERIFY_MAC (DEFAULT_ENABLED) |
#define | ATCAH_SECUREBOOT_ENC (DEFAULT_ENABLED) |
#define | ATCAH_SECUREBOOT_MAC (DEFAULT_ENABLED) |
#define | ATCAH_MAC (DEFAULT_ENABLED) |
#define | ATCAH_CHECK_MAC (DEFAULT_ENABLED) |
#define | ATCAH_GEN_OUTPUT_RESP_MAC (DEFAULT_ENABLED) |
#define | ATCAH_HMAC (DEFAULT_ENABLED) |
#define | ATCAH_GENDIG (DEFAULT_ENABLED) |
#define | ATCAH_GENDIVKEY (DEFAULT_ENABLED) |
#define | ATCAH_GEN_MAC (DEFAULT_ENABLED) |
#define | ATCAH_WRITE_AUTH_MAC (DEFAULT_ENABLED) |
#define | ATCAH_PRIVWRITE_AUTH_MAC (DEFAULT_ENABLED) |
#define | ATCAH_DERIVE_KEY (DEFAULT_ENABLED) |
#define | ATCAH_DERIVE_KEY_MAC (DEFAULT_ENABLED) |
#define | ATCAH_DECRYPT (DEFAULT_ENABLED) |
#define | ATCAH_SHA256 (DEFAULT_ENABLED) |
#define | ATCAH_GEN_KEY_MSG (DEFAULT_ENABLED) |
#define | ATCAH_CONFIG_TO_SIGN_INTERNAL (DEFAULT_ENABLED) |
#define | ATCAH_SIGN_INTERNAL_MSG (DEFAULT_ENABLED) |
#define | ATCAH_ENCODE_COUNTER_MATCH (DEFAULT_ENABLED) |
#define | ATCAH_GEN_SESSION_KEY (DEFAULT_ENABLED) |
#define | ATCAH_DELETE_MAC (CALIB_DELETE_EN) |
#define | ATCAC_SW_SHA2_256 (DEFAULT_ENABLED) |
Consistency checks for configuration options.
#define ATCAH_CHECK_MAC (DEFAULT_ENABLED) |
Requires: ATCAH_CHECK_MAC ATCAC_SW_SHA2_256
Supported API's: atcah_check_mac
Enable ATCAH_CHECK_MAC to perform the checkmac operation to generate client response on the host side
#define ATCAH_CONFIG_TO_SIGN_INTERNAL (DEFAULT_ENABLED) |
Requires: ATCAH_CONFIG_TO_SIGN_INTERNAL
Supported API's: atcah_config_to_sign_internal
Enable ATCAH_CONFIG_TO_SIGN_INTERNAL to populate the slot_config, key_config, and is_slot_locked fields in the atca_sign_internal_in_out structure from the provided config zone
#define ATCAH_DECRYPT (DEFAULT_ENABLED) |
Requires: ATCAH_DECRYPT
Supported API's: atcah_decrypt
Enable ATCAH_DECRYPT to decrypt 32-byte encrypted data received with the Read command
#define ATCAH_DELETE_MAC (CALIB_DELETE_EN) |
Requires: ATCAH_DELETE_MAC ATCAC_SW_SHA2_256
Supported API's: atcah_delete_mac
Enable ATCAH_DELETE_MAC to calculate the mac
#define ATCAH_DERIVE_KEY (DEFAULT_ENABLED) |
Requires: ATCAH_DERIVE_KEY ATCAC_SW_SHA2_256
Supported API's: atcah_derive_key
Enable ATCAH_DERIVE_KEY to derive a key with a key and TempKey
#define ATCAH_DERIVE_KEY_MAC (DEFAULT_ENABLED) |
Requires: ATCAH_DERIVE_KEY_MAC ATCAC_SW_SHA2_256
Supported API's: atcah_derive_key_mac
Enable ATCAH_DERIVE_KEY_MAC to calculate the input MAC for a DeriveKey command
#define ATCAH_ENCODE_COUNTER_MATCH (DEFAULT_ENABLED) |
Requires: ATCAH_ENCODE_COUNTER_MATCH
Supported API's: atcah_encode_counter_match
Enable ATCAH_ENCODE_COUNTER_MATCH to build the counter match value that needs to be stored in a slot
#define ATCAH_GEN_KEY_MSG (DEFAULT_ENABLED) |
Requires: ATCAH_SHA256 ATCAC_SW_SHA2_256
Supported API's: atcah_gen_key_msg
Enable ATCAH_GEN_KEY_MSG to calculate the PubKey digest created by GenKey and saved to TempKey
#define ATCAH_GEN_MAC (DEFAULT_ENABLED) |
Requires: ATCAH_GEN_MAC ATCAC_SW_SHA2_256
Supported API's: atcah_gen_mac
Enable ATCAH_GEN_MAC to generate mac with session key with a plain text
#define ATCAH_GEN_OUTPUT_RESP_MAC (DEFAULT_ENABLED) |
Requires: ATCAH_GEN_OUTPUT_RESP_MAC ATCAC_SW_SHA2_256
Supported API's: atcah_gen_output_resp_mac
Enable ATCAH_GEN_OUTPUT_RESP_MAC to generate output response mac
#define ATCAH_GEN_SESSION_KEY (DEFAULT_ENABLED) |
Requires: ATCAH_GEN_SESSION_KEY ATCAC_SW_SHA2_256
Supported API's: atcah_gen_Session_key
Enable ATCAH_GEN_SESSION_KEY to calculate the session key for the ECC204
#define ATCAH_GENDIG (DEFAULT_ENABLED) |
Requires: ATCAH_GENDIG ATCAC_SW_SHA2_256
Supported API's: atcah_gen_dig
Enable ATCAH_GENDIG to combine the current TempKey with a stored value
#define ATCAH_GENDIVKEY (DEFAULT_ENABLED) |
Requires: ATCAH_GENDIVKEY ATCAC_SW_SHA2_256
Supported API's: atcah_gendivkey
Enable ATCAH_GENDIVKEY to generate the diversified key
#define ATCAH_HMAC (DEFAULT_ENABLED) |
Requires: ATCAH_HMAC ATCAC_SW_SHA2_256 ATCAH_INCLUDE_DATA
Supported API's: atcah_hmac
Enable ATCAH_HMAC to generate an HMAC / SHA-256 hash of a key and other information
#define ATCAH_INCLUDE_DATA (DEFAULT_ENABLED) |
Requires: ATCAH_INCLUDE_DATA
Supported API's: atcah_include_data
Enable ATCAH_INCLUDE_DATA to copy otp and sn data into a command buffer
#define ATCAH_IO_DECRYPT (DEFAULT_ENABLED) |
Requires: ATCAH_IO_DECRYPT ATCAC_SW_SHA2_256
Supported API's: atcah_io_decrypt
Enable ATCAH_IO_DECRYPT to decrypt data that's been encrypted by the IO protection key.The ECDH and KDF commands on the ATECC608 are the only ones that support this operation
#define ATCAH_MAC (DEFAULT_ENABLED) |
Requires: ATCAH_MAC ATCAC_SW_SHA2_256 ATCAH_INCLUDE_DATA
Supported API's: atcah_mac
Enable ATCAH_MAC to generate an SHA-256 digest (MAC) of a key, challenge, and other information
#define ATCAH_NONCE (DEFAULT_ENABLED) |
Requires: ATCAH_NONCE ATCAC_SW_SHA2_256
Supported API's: atcah_nonce
Enable ATCAH_NONCE to calculate host side nonce with the parameters passed
#define ATCAH_PRIVWRITE_AUTH_MAC (DEFAULT_ENABLED) |
Requires: ATCAH_PRIVWRITE_AUTH_MAC ATCAC_SW_SHA2_256
Supported API's: atcah_privwrite_auth_mac
Enable ATCAH_PRIVWRITE_AUTH_MAC to calculate the input MAC for the PrivWrite command
#define ATCAH_SECUREBOOT_ENC (DEFAULT_ENABLED) |
Requires: ATCAH_SECUREBOOT_ENC ATCAC_SW_SHA2_256
Supported API's: atcah_secureboot_enc
Enable ATCAH_SECUREBOOT_ENC to encrypt the digest for the SecureBoot command when using the encrypted digest / validating mac option
#define ATCAH_SECUREBOOT_MAC (DEFAULT_ENABLED) |
Requires: ATCAH_SECUREBOOT_MAC ATCAC_SW_SHA2_256
Supported API's: atcah_secureboot_mac
Enable ATCAH_SECUREBOOT_MAC to calculates the expected MAC returned from the SecureBoot command when verification is a success
#define ATCAH_SHA256 (DEFAULT_ENABLED) |
Requires: ATCAH_SHA256 ATCAC_SW_SHA2_256
Supported API's: atcah_sha256
Enable ATCAH_SHA256 to create a SHA256 digest on a little-endian system
#define ATCAH_SIGN_INTERNAL_MSG (DEFAULT_ENABLED) |
Requires: ATCAH_SIGN_INTERNAL_MSG ATCAC_SW_SHA2_256
Supported API's: atcah_sign_internal_msg
Enable ATCAH_SIGN_INTERNAL_MSG to build the full message that would be signed by the Sign(Internal) command
#define ATCAH_VERIFY_MAC (DEFAULT_ENABLED) |
Requires: ATCAH_VERIFY_MAC ATCAC_SW_SHA2_256
Supported API's: atcah_verify_mac
Enable ATCAH_VERIFY_MAC to calculate the expected MAC on the host side for the Verify command
#define ATCAH_WRITE_AUTH_MAC (DEFAULT_ENABLED) |
Requires: ATCAH_WRITE_AUTH_MAC ATCAC_SW_SHA2_256
Supported API's: atcah_write_auth_mac ECC204 specific API's: atcah_ecc204_write_auth_mac
Enable ATCAH_WRITE_AUTH_MAC to calculate the input MAC for the Write command