mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 14:14:11 +00:00 
			
		
		
		
	Refactor the AES driver and add HAL, LL and caps. Add better support for running AES-GCM fully in hardware.
		
			
				
	
	
		
			32 lines
		
	
	
		
			1019 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1019 B
		
	
	
	
		
			C
		
	
	
	
	
	
/**
 | 
						|
 * \brief AES block cipher, ESP32 hardware accelerated version
 | 
						|
 * Based on mbedTLS FIPS-197 compliant version.
 | 
						|
 *
 | 
						|
 *  Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
 | 
						|
 *  Additions Copyright (C) 2016, Espressif Systems (Shanghai) PTE Ltd
 | 
						|
 *  SPDX-License-Identifier: Apache-2.0
 | 
						|
 *
 | 
						|
 *  Licensed under the Apache License, Version 2.0 (the "License"); you may
 | 
						|
 *  not use this file except in compliance with the License.
 | 
						|
 *  You may obtain a copy of the License at
 | 
						|
 *
 | 
						|
 *  http://www.apache.org/licenses/LICENSE-2.0
 | 
						|
 *
 | 
						|
 *  Unless required by applicable law or agreed to in writing, software
 | 
						|
 *  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 | 
						|
 *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
						|
 *  See the License for the specific language governing permissions and
 | 
						|
 *  limitations under the License.
 | 
						|
 *
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef ESP_AES_H
 | 
						|
#define ESP_AES_H
 | 
						|
 | 
						|
#warning "esp32/aes.h is deprecated, please use aes/esp_aes.h instead"
 | 
						|
 | 
						|
#include "aes/esp_aes.h"
 | 
						|
 | 
						|
#endif /* aes.h */
 |