Single aggregation point for all CryptoAuthLib header files. More...
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "atca_config_check.h"
#include "atca_compiler.h"
#include "atca_version.h"
#include "atca_platform.h"
#include "atca_status.h"
#include "atca_debug.h"
#include "cal_buffer.h"
#include "atca_iface.h"
#include "atca_device.h"
#include "atca_helpers.h"
#include "hal/atca_hal.h"
#include "atca_cfgs.h"
#include "calib/calib_basic.h"
#include "calib/calib_command.h"
#include "calib/calib_aes_gcm.h"
#include "calib/calib_packet.h"
#include "talib/talib_status.h"
#include "talib/talib_basic.h"
#include "atca_basic.h"
Macros | |
#define | ATCA_SHA256_BLOCK_SIZE (64u) |
#define | ATCA_SHA256_DIGEST_SIZE (32u) |
#define | ATCA_SHA384_BLOCK_SIZE (128u) |
#define | ATCA_SHA384_DIGEST_SIZE (48u) |
#define | ATCA_SHA512_BLOCK_SIZE (128u) |
#define | ATCA_SHA512_DIGEST_SIZE (64u) |
#define | ATCA_AES128_BLOCK_SIZE (16u) |
#define | ATCA_AES128_KEY_SIZE (16) |
#define | ATCA_AES256_BLOCK_SIZE (16u) |
#define | ATCA_AES256_KEY_SIZE (32u) |
#define | ATCA_ECCP256_MSG_SIZE (32u) |
#define | ATCA_KEY_TYPE_ECCP256 (0u) |
#define | ATCA_ECCP256_KEY_SIZE (32u) |
#define | ATCA_ECCP256_PUBKEY_SIZE (64u) |
#define | ATCA_ECCP256_PVTKEY_SIZE (32u) |
#define | ATCA_ECCP256_SIG_SIZE (64u) |
#define | ATCA_ECCP256_OID_SIZE (10u) |
#define | ATCA_ECCP256_ASN1_HDR_SIZE (27u) |
#define | ATCA_MAX_ECC_RSA_PB_KEY_SIZE (512u) |
#define | ATCA_RSA4K_ASN1_HDR_SIZE (33u) |
#define | ATCA_ECC_UNCOMPRESSED_TYPE ((uint8_t)0x04) |
#define | ATCA_ECC_UNCOMPRESSED_TYPE_OFFSET (1u) |
#define | ATCA_ZONE_CONFIG ((uint8_t)0x00) |
#define | ATCA_ZONE_OTP ((uint8_t)0x01) |
#define | ATCA_ZONE_DATA ((uint8_t)0x02) |
#define | DEVICE_PRODUCT_ID_LOCATION 0 |
#define | DEVICE_IDENTIFIER_LOCATION 1 |
#define | DEVICE_PART_LOCATION 2 |
#define | DEVICE_REVISION_LOCATION 3 |
#define | ATCA_ZONE_CA2_DATA ((uint8_t)0x00) |
#define | ATCA_ZONE_CA2_CONFIG ((uint8_t)0x01) |
#define | ATCA_ECC204_DEVICE_ID ((uint8_t)0x5A) |
#define | ATCA_TA010_DEVICE_ID ((uint8_t)0x6A) |
#define | ATCA_SHA104_DEVICE_ID ((uint8_t)0x35) |
#define | ATCA_SHA105_DEVICE_ID ((uint8_t)0x3B) |
#define | SHA_MODE_TARGET_TEMPKEY ((uint8_t)0x00) |
#define | SHA_MODE_TARGET_MSGDIGBUF ((uint8_t)0x40) |
#define | SHA_MODE_TARGET_OUT_ONLY ((uint8_t)0xC0) |
#define | ATCA_STRINGIFY(x) #x |
#define | ATCA_TOSTRING(x) ATCA_STRINGIFY(x) |
#define | ATCA_TRACE(s, m) atca_trace(s) |
Single aggregation point for all CryptoAuthLib header files.
#define ATCA_SHA256_BLOCK_SIZE (64u) |
Library Configuration File - All build attributes should be included in atca_config.h
#define SHA_MODE_TARGET_MSGDIGBUF ((uint8_t)0x40) |
Place resulting digest both in Output buffer and Message Digest Buffer
#define SHA_MODE_TARGET_OUT_ONLY ((uint8_t)0xC0) |
Place resulting digest both in Output buffer ONLY
#define SHA_MODE_TARGET_TEMPKEY ((uint8_t)0x00) |
Place resulting digest both in Output buffer and TempKey