9385e8de91
Co-authored-by: Harshal Patil <harshal.patil@espressif.com>
28 lines
795 B
C
28 lines
795 B
C
/*
|
|
* ESP32-C3 AES emulation
|
|
*
|
|
* Copyright (c) 2023 Espressif Systems (Shanghai) Co. Ltd.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 or
|
|
* (at your option) any later version.
|
|
*/
|
|
#pragma once
|
|
|
|
#include "hw/misc/esp_aes.h"
|
|
|
|
#define TYPE_ESP32C3_AES "misc.esp32c3.aes"
|
|
#define ESP32C3_AES(obj) OBJECT_CHECK(ESP32C3AesState, (obj), TYPE_ESP32C3_AES)
|
|
|
|
#define ESP32C3_AES_GET_CLASS(obj) OBJECT_GET_CLASS(ESP32C3AesClass, obj, TYPE_ESP32C3_AES)
|
|
#define ESP32C3_AES_CLASS(klass) OBJECT_CLASS_CHECK(ESP32C3AesClass, klass, TYPE_ESP32C3_AES)
|
|
|
|
typedef struct ESP32C3AesState {
|
|
ESPAesState parent;
|
|
} ESP32C3AesState;
|
|
|
|
|
|
typedef struct ESP32C3AesClass {
|
|
ESPAesClass parent_class;
|
|
} ESP32C3AesClass;
|