Enumerations | |
enum | cy_en_crypto_aes_key_length_t { CY_CRYPTO_KEY_AES_128 = 0x00u, CY_CRYPTO_KEY_AES_192 = 0x01u, CY_CRYPTO_KEY_AES_256 = 0x02u } |
The key length options for the AES method. More... | |
enum | cy_en_crypto_dir_mode_t { CY_CRYPTO_ENCRYPT = 0x00u, CY_CRYPTO_DECRYPT = 0x01u } |
Defines the direction of the Crypto methods. More... | |
enum | cy_en_crypto_sha_mode_t { CY_CRYPTO_MODE_SHA1 = 0x00u, CY_CRYPTO_MODE_SHA224 = 0x01u, CY_CRYPTO_MODE_SHA256 = 0x02u, CY_CRYPTO_MODE_SHA384 = 0x03u, CY_CRYPTO_MODE_SHA512 = 0x04u, CY_CRYPTO_MODE_SHA512_256 = 0x05u, CY_CRYPTO_MODE_SHA512_224 = 0x06u } |
Defines modes of SHA method. More... | |
enum | cy_en_crypto_rsa_ver_result_t { CY_CRYPTO_RSA_VERIFY_SUCCESS = 0x00u, CY_CRYPTO_RSA_VERIFY_FAIL = 0x01u } |
Signature verification status. More... | |
enum | cy_en_crypto_status_t { CY_CRYPTO_SUCCESS = 0x00u, CY_CRYPTO_HW_ERROR = CY_CRYPTO_ID | CY_PDL_STATUS_ERROR | 0x01u, CY_CRYPTO_SIZE_NOT_X16 = CY_CRYPTO_ID | CY_PDL_STATUS_ERROR | 0x02u, CY_CRYPTO_DES_WEAK_KEY = CY_CRYPTO_ID | CY_PDL_STATUS_WARNING | 0x03u, CY_CRYPTO_COMM_FAIL = CY_CRYPTO_ID | CY_PDL_STATUS_ERROR | 0x04u, CY_CRYPTO_SERVER_NOT_STARTED = CY_CRYPTO_ID | CY_PDL_STATUS_ERROR | 0x06u, CY_CRYPTO_SERVER_BUSY = CY_CRYPTO_ID | CY_PDL_STATUS_INFO | 0x07u, CY_CRYPTO_NOT_INITIALIZED = CY_CRYPTO_ID | CY_PDL_STATUS_ERROR | 0x08u, CY_CRYPTO_HW_NOT_ENABLED = CY_CRYPTO_ID | CY_PDL_STATUS_ERROR | 0x09u, CY_CRYPTO_NOT_SUPPORTED = CY_CRYPTO_ID | CY_PDL_STATUS_ERROR | 0x0Au, CY_CRYPTO_BAD_PARAMS = CY_CRYPTO_ID | CY_PDL_STATUS_ERROR | 0x0Bu } |
Errors of the Crypto block. More... | |
Defines modes of SHA method.
Errors of the Crypto block.