- 博客(0)
- 资源 (3)
- 收藏
- 关注
51挂三个ds18b20,数码管显示温度,包括rom搜索算法
proteus仿真,51挂三个ds18b20,数码管循环显示温度,包括rom搜索算法,内含Proteus仿真图形。c语言源代码,kill原工程文件,仿真通过,可以搜索ROM,读温度,单线控制。
2009-12-15
sha 算法源码 杀-1函数的才语言源代码 加密算法
杀1函数的源代码 #include <string.h>
#include "sha.h"
/* Initialize the SHS values */
void shsInit( SHS_INFO *shsInfo )
{
/* Set the h-vars to their initial values */
shsInfo->digest[ 0 ] = h0init;
shsInfo->digest[ 1 ] = h1init;
shsInfo->digest[ 2 ] = h2init;
shsInfo->digest[ 3 ] = h3init;
shsInfo->digest[ 4 ] = h4init;
/* Initialise bit count */
shsInfo->countLo = shsInfo->countHi = 0;
}
#ifndef ASM_SHS
/* Perform the SHS transformation. Note that this code, like MD5, seems to
break some optimizing compilers due to the complexity of the expressions
and the size of the basic block. It may be necessary to split it into
sections, e.g. based on the four subrounds
Note that this corrupts the shsInfo->data area */
void SHSTransform( LONG *digest, LONG *data )
{
LONG A, B, C, D, E; /* Local vars */
LONG eData[ 16 ]; /* Expanded data */
2008-09-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人