CryptoAuthLib
Atmel CryptoAuthentication Library
atca_basic_tests.h File Reference

Unity tests for the cryptoauthlib Basic API. More...

#include "cryptoauthlib.h"
#include "unity.h"

Go to the source code of this file.

Functions

void atca_sha204a_basic_tests (ATCADeviceType deviceType)
 SHA204a tests using the Basic crypto API. More...
 
void atca_ecc108a_basic_tests (ATCADeviceType deviceType)
 ECC108a tests using the Basic crypto API. More...
 
void atca_ecc508a_basic_tests (ATCADeviceType deviceType)
 ECC508a tests using the Basic crypto API. More...
 
void atca_aes132a_basic_tests (ATCADeviceType deviceType)
 
void atca_basic_tests (ATCADeviceType deviceType)
 tests of the Basic Crypto API functionality More...
 
void test_basic_version (void)
 
void test_basic_init (void)
 
void test_basic_release (void)
 
void test_basic_doubleinit (void)
 
void test_basic_info (void)
 
void test_basic_random (void)
 
void test_basic_challenge (void)
 
void test_basic_write_zone (void)
 
void test_basic_read_zone (void)
 
void test_write_boundary_conditions (void)
 
void test_write_upper_slots (void)
 
void test_write_invalid_block (void)
 
void test_write_invalid_block_len (void)
 
void test_write_bytes_slot (void)
 
void test_write_bytes_zone_config (void)
 
void test_write_bytes_zone_slot8 (void)
 
void test_basic_write_ecc_config_zone (void)
 
void test_basic_read_config_zone (void)
 
void test_basic_write_config_zone (void)
 
void test_basic_read_ecc_config_zone (void)
 
void test_basic_write_sha_config_zone (void)
 
void test_basic_read_sha_config_zone (void)
 
void test_basic_write_otp_zone (void)
 
void test_basic_read_otp_zone (void)
 
void test_basic_write_data_zone (void)
 
void test_basic_read_data_zone (void)
 
void test_basic_lock_config_zone (void)
 
void test_basic_lock_data_zone (void)
 
void test_basic_lock_data_slot (void)
 
void test_basic_genkey (void)
 
void test_basic_sign (void)
 
void test_read_sig (void)
 
void test_basic_priv_write_unencrypted (void)
 
void test_basic_priv_write_encrypted (void)
 
void test_basic_verify_external (void)
 
void test_basic_ecdh (void)
 
void test_basic_gendig (void)
 
void test_basic_mac (void)
 
void test_basic_checkmac (void)
 
void test_basic_sha (void)
 
void test_create_key (void)
 
void test_get_pubkey (void)
 

Detailed Description

Unity tests for the cryptoauthlib Basic API.

Copyright (c) 2015 Atmel Corporation. All rights reserved.

Function Documentation

void atca_aes132a_basic_tests ( ATCADeviceType  deviceType)
void atca_basic_tests ( ATCADeviceType  deviceType)

tests of the Basic Crypto API functionality

void atca_ecc108a_basic_tests ( ATCADeviceType  deviceType)

ECC108a tests using the Basic crypto API.

void atca_ecc508a_basic_tests ( ATCADeviceType  deviceType)

ECC508a tests using the Basic crypto API.

void atca_sha204a_basic_tests ( ATCADeviceType  deviceType)

SHA204a tests using the Basic crypto API.

void test_basic_challenge ( void  )
void test_basic_checkmac ( void  )
void test_basic_doubleinit ( void  )
void test_basic_ecdh ( void  )
void test_basic_gendig ( void  )
void test_basic_genkey ( void  )
void test_basic_info ( void  )
void test_basic_init ( void  )
void test_basic_lock_config_zone ( void  )
void test_basic_lock_data_slot ( void  )
void test_basic_lock_data_zone ( void  )
void test_basic_mac ( void  )
void test_basic_priv_write_encrypted ( void  )
void test_basic_priv_write_unencrypted ( void  )
void test_basic_random ( void  )
void test_basic_read_config_zone ( void  )
void test_basic_read_data_zone ( void  )
void test_basic_read_ecc_config_zone ( void  )
void test_basic_read_otp_zone ( void  )
void test_basic_read_sha_config_zone ( void  )
void test_basic_read_zone ( void  )
void test_basic_release ( void  )
void test_basic_sha ( void  )
void test_basic_sign ( void  )
void test_basic_verify_external ( void  )
void test_basic_version ( void  )
void test_basic_write_config_zone ( void  )
void test_basic_write_data_zone ( void  )
void test_basic_write_ecc_config_zone ( void  )
void test_basic_write_otp_zone ( void  )
void test_basic_write_sha_config_zone ( void  )
void test_basic_write_zone ( void  )
void test_create_key ( void  )
void test_get_pubkey ( void  )
void test_read_sig ( void  )
void test_write_boundary_conditions ( void  )
void test_write_bytes_slot ( void  )
void test_write_bytes_zone_config ( void  )
void test_write_bytes_zone_slot8 ( void  )
void test_write_invalid_block ( void  )
void test_write_invalid_block_len ( void  )
void test_write_upper_slots ( void  )