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.
Typedefs | |
typedef void(* | aes_callback_t )(void) |
AES interrupt callback function type. More... | |
Enumerations | |
enum | aes_callback_type { AES_CALLBACK_ENCRYPTION_COMPLETE = 0, AES_CALLBACK_GF_MULTI_COMPLETE = 1 } |
AES callback type. More... | |
Functions | |
Callback Configuration and Initialization | |
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) |
Callback Enabling and Disabling | |
static enum status_code | aes_enable_callback (struct aes_module *const module, const enum aes_callback_type type) |
Enable an AES callback. More... | |
static enum status_code | aes_disable_callback (struct aes_module *const module, const enum aes_callback_type type) |
Disable an AES callback. More... | |