rc6_avr

所属分类:单片机开发
开发工具:C/C++
文件大小:5KB
下载次数:148
上传日期:2005-08-24 15:32:59
上 传 者yanker007
说明:  AVR单片机的优化RC6 加密算法(速度快,其优化思想绝对值得学习) 在有128bytes RAM 的AVR单片机上执行 rc6 16/10/8(16 bit/10 rounds/8 bytes keys) * 对多数代码进行了 C 语言优化,对数据相关循环移位,模乘等用ASM优化 * 在4MHz无乘法器的AVR上得到平均 1172 Bytes/s的加解密速度。 * 编译器: AVR-G
(AVR optimization RC6 encryption algorithm (faster, optimizing their thinking definitely worth learning) 128bytes of RAM in the AVR on the implementation of production 16/10/8 (16 bit/10 rounds/8 bytes keys)* for the majority of code optimization of the C language the data related to cycle shift, mode used by other optimization* ASM 4MHz without the multiplier be average AVR 1172 Bytes/s speed encryption and decryption.* Compiler : AVR-G)

文件列表:
makefile (986, 2002-07-06)
rc6.c (4975, 2002-07-06)
rc6a.h (711, 2002-06-09)
rc6a.s (5051, 2002-07-06)

///////////////////////////////////----------\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ AVR单片机速度优化 RC6 加密算法 /*************************************************************************************************\ 在有128bytes RAM 的AVR单片机上执行 rc6 16/10/8(16 bit/10 rounds/8 bytes keys) 对多数代码进行了 C 语言优化,对数据相关循环移位,模乘等用ASM优化 在4MHz无乘法器的AVR上得到平均 1172 Bytes/s的加解密速度。 编译器: AVR-GCC 执行速度: key_setup 8224 时钟周期 encrypt 2766 时钟周期/分组(***bit) decrypt 2697 时钟周期/分组(***bit) 平均 2731 时钟周期/分组(***bit) 2002 孔卫红 netvideo1@sina.com http://netvideo.yeah.net *************************************************************************************************** 文件: rc6.c--------------------------C 语言 主要程序 rc6a.s-------------------------汇编子程序 rc6a.h-------------------------汇编子程序的C头文件 makefile-----------------------makefile readme.txt---------------------This file ***************************************************************************************************

近期下载者

相关文件


收藏者