STM32F10x_Encryption_Lib_V1.0.0

所属分类:加密解密
开发工具:Others
文件大小:246KB
下载次数:411
上传日期:2009-04-20 22:30:21
上 传 者foxcome
说明:  基于STM32 的AES加密算法,适合用在简单的存储加密
(The STM32-based AES encryption algorithm, suitable for storage in a simple encryption)

文件列表:
Encryption_Lib\AES\include\aes128.h (2697, 2008-10-27)
Encryption_Lib\AES\include\config.h (1940, 2008-10-27)
Encryption_Lib\AES\include\stm32f10x_conf.h (6317, 2008-10-27)
Encryption_Lib\AES\include\stm32f10x_it.h (3842, 2008-10-27)
Encryption_Lib\AES\project\EWARMv5\cortexm3_macro.s (10277, 2008-10-27)
Encryption_Lib\AES\project\EWARMv5\Project.ewd (35004, 2008-10-27)
Encryption_Lib\AES\project\EWARMv5\Project.ewp (42905, 2008-10-27)
Encryption_Lib\AES\project\EWARMv5\Project.eww (161, 2008-10-27)
Encryption_Lib\AES\project\EWARMv5\stm32f10x_flash.icf (1350, 2008-10-27)
Encryption_Lib\AES\project\EWARMv5\stm32f10x_vector.c (5894, 2008-10-27)
Encryption_Lib\AES\project\RVMDK\cortexm3_macro.s (10308, 2008-10-27)
Encryption_Lib\AES\project\RVMDK\Project.Opt (4757, 2008-10-27)
Encryption_Lib\AES\project\RVMDK\Project.Uv2 (5833, 2008-10-27)
Encryption_Lib\AES\project\RVMDK\STM3210B-EVAL_FLASH.ini (974, 2008-10-27)
Encryption_Lib\AES\project\RVMDK\STM3210E-EVAL_FLASH.ini (974, 2008-10-27)
Encryption_Lib\AES\project\RVMDK\stm32f10x_vector.s (12871, 2008-10-27)
Encryption_Lib\AES\source\aes128.c (33884, 2008-10-27)
Encryption_Lib\AES\source\config.c (5055, 2008-10-27)
Encryption_Lib\AES\source\main.c (3055, 2008-10-27)
Encryption_Lib\AES\source\stm32f10x_it.c (29218, 2008-10-27)
Encryption_Lib\TDES\include\config.h (1584, 2008-10-27)
Encryption_Lib\TDES\include\d3des.h (2291, 2008-10-27)
Encryption_Lib\TDES\include\stm32f10x_conf.h (6307, 2008-10-27)
Encryption_Lib\TDES\include\stm32f10x_it.h (3842, 2008-10-27)
Encryption_Lib\TDES\project\EWARMv5\cortexm3_macro.s (10277, 2008-10-27)
Encryption_Lib\TDES\project\EWARMv5\Project.ewd (35006, 2008-10-27)
Encryption_Lib\TDES\project\EWARMv5\Project.ewp (42932, 2008-10-27)
Encryption_Lib\TDES\project\EWARMv5\Project.eww (161, 2008-10-27)
Encryption_Lib\TDES\project\EWARMv5\stm32f10x_flash.icf (1350, 2008-10-27)
Encryption_Lib\TDES\project\EWARMv5\stm32f10x_vector.c (5894, 2008-10-27)
Encryption_Lib\TDES\project\RVMDK\cortexm3_macro.s (10308, 2008-10-27)
Encryption_Lib\TDES\project\RVMDK\Project.Opt (6170, 2008-10-27)
Encryption_Lib\TDES\project\RVMDK\Project.Uv2 (5829, 2008-10-27)
Encryption_Lib\TDES\project\RVMDK\STM3210B-EVAL_FLASH.ini (974, 2008-10-27)
Encryption_Lib\TDES\project\RVMDK\STM3210E-EVAL_FLASH.ini (974, 2008-10-27)
Encryption_Lib\TDES\project\RVMDK\stm32f10x_vector.s (12871, 2008-10-27)
Encryption_Lib\TDES\source\config.c (5055, 2008-10-27)
Encryption_Lib\TDES\source\d3des.c (18984, 2008-10-27)
... ...

/******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Version : V1.0.0 * Date : 10/06/2008 * Description : Description of the Encryption library's AES part ******************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. *******************************************************************************/ Firmware description =================== This firmware provides an example of how to use the AES algorithm. Note that there are two AES versions: - Version 1 with 522 bytes of look-up tables, slower than version 2. - Version 2 with 2048 bytes of look-up tables, faster than version 1. To select the AES version, you have to define it in the config.h file. For more information, please refer to the config.h file and to the user manual provided with this firmware. Directory contents ================== + project : containing the project workspace and project + include : containing the user header files - stm32f10x_conf.h Library Configuration files - stm32f10x_it.h Interrupt handlers header files - aes128.h AES header file - config.h System configuration header file: in this file you have to select the AES version to be used: - #define CRL_AES_ALGORITHM 1 // version with 522 bytes of look-up tables, slower than version 2. - #define CRL_AES_ALGORITHM 2 // version with 2048 bytes of look-up tables, faster than version 1. + source : containg the user source files - aes128.c AES 128-bit key algorithm functions file - config.c System configuration file - stm32f10x_it.c Interrupt handlers - main.c Main program How to use it ============= + EWARMv5: - Open the OVERSAMPLING_AN_TriagularDitherMethod.eww workspace - In the workspace toolbar select the project config: - STM3210B-EVAL: to configure the project for STM32 Medium-density devices - STM3210E-EVAL: to configure the project for STM32 High-density devices - Rebuild all files: Project->Rebuild all - Load project image: Project->Debug - Run program: Debug->Go(F5) + RVMDK - Open the OVERSAMPLING_AN_TriagularDitherMethod.Uv2 project - In the build toolbar select the project config: - STM3210B-EVAL: to configure the project for STM32 Medium-density devices - STM3210E-EVAL: to configure the project for STM32 High-density devices - Rebuild all files: Project->Rebuild all target files - Load project image: Debug->Start/Stop Debug Session - Run program: Debug->Run (F5) NOTE: - Medium-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 32 and 128 Kbytes. - High-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes. ******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者