SAM Advanced Encryption Standard driver.
This file defines a useful set of functions for the AES on SAM devices.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | AES_CALLBACK_TYPE_NUM 2 |
Functions | |
void | AES_Handler (void) |
enum status_code | aes_register_callback (const aes_callback_t callback, const enum aes_callback_type type) |
enum status_code | aes_unregister_callback (const aes_callback_t callback, const enum aes_callback_type type) |
Variables | |
aes_callback_t | aes_callback_pointer [AES_CALLBACK_TYPE_NUM] ={NULL,NULL} |
AES callback function pointer. More... | |
#define AES_CALLBACK_TYPE_NUM 2 |
Max number of callback type.
Referenced by aes_register_callback(), and aes_unregister_callback().
void AES_Handler | ( | void | ) |
The AES interrupt handler.
References AES_CALLBACK_ENCRYPTION_COMPLETE, and aes_callback_pointer.
aes_callback_t aes_callback_pointer[AES_CALLBACK_TYPE_NUM] ={NULL,NULL} |
AES callback function pointer.
Referenced by AES_Handler(), aes_register_callback(), and aes_unregister_callback().