Microchip® Advanced Software Framework

atca_crypto_sw_ecdsa.h File Reference

#include "atca_crypto_sw.h"
#include <stddef.h>
#include <stdint.h>

Macros

#define ATCA_ECC_P256_FIELD_SIZE   (256 / 8)
 
#define ATCA_ECC_P256_PRIVATE_KEY_SIZE   (ATCA_ECC_P256_FIELD_SIZE)
 
#define ATCA_ECC_P256_PUBLIC_KEY_SIZE   (ATCA_ECC_P256_FIELD_SIZE * 2)
 
#define ATCA_ECC_P256_SIGNATURE_SIZE   (ATCA_ECC_P256_FIELD_SIZE * 2)
 

Functions

int atcac_sw_ecdsa_verify_p256 (const uint8_t msg[ATCA_ECC_P256_FIELD_SIZE], const uint8_t signature[ATCA_ECC_P256_SIGNATURE_SIZE], const uint8_t public_key[ATCA_ECC_P256_PUBLIC_KEY_SIZE])
 return software generated ECDSA verification result and the function is currently not implemented More...