文件名称:kenel_crypto
- 所属分类:
- 系统编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 136.58kb
- 下载次数:
- 0次
- 提 供 者:
- x*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
内核加解密算法 加解密函数库及其使用说明,详见附件。 find_cipher_by_name中参数ciphername可取的值为下面的组合,对应不同的模式: (des,des_ede3,aes,blowfish,cast5,dfc,idea,mars,rc5,rc6,serpent,twofish)-ecb (des,des_ede3,aes,blowfish,cast5,dfc,idea,mars,rc5,rc6,serpent,twofish)-cbc (des,des_ede3,aes,blowfish,cast5,dfc,idea,mars,rc6,serpent,twofish)-cfb struct cipher_implementation* ci中对应的可调用的method:encrypt_iv decrypt_iv encrypt decrypt 比如以des-cbc为find_cipher_by_name的参数得到的ci调用encrypt_iv,decrypt_iv. find_digest_by_name中参数digestname可取的值: sha1 md5 struct digest_implementation* di中对应的可调用的method:open update digest close hmac 计算digest时调用di->digest,计算hmac时调用di->hmac. 注意:加载我们需要的cipher-*.o和digest-*.o之前需先加载cryptoapi.o。 -core encryption and decryption algorithm encryption and decryption functions and their use, as detailed in the annex. Find_cipher_by_name cipher desirable parameter values to the following portfolio, dealing with different modes : (des, des_ede3, Aes, blowfish, cast5, DFC, the idea, mars, RC5, production, serpent, twofish) - ecb ( des, des_ede3, Aes, blowfish, cast5, DFC, the idea, mars, RC5, production, serpent, twofish) - cbc (des, des_ede3, Aes, blowfish, cast5, DFC, the idea, mars, production, the serpent , twofish) - Sample struct cipher_implementation ci * corresponding the available method : encrypt_iv decrypt_iv encrypt decrypt such as a des-cbc find_cipher_by_name parameters for the ci call encrypt_iv, decrypt_iv. find_digest_by_name digestname desirable parameter values : sha1 md
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 590154kenel_crypto.rar 列表 cryptoapi\!!readme.txt cryptoapi\ciphers\cipher-aes.c cryptoapi\ciphers\cipher-blowfish.c cryptoapi\ciphers\cipher-blowfish_old.c cryptoapi\ciphers\cipher-cast5.c cryptoapi\ciphers\cipher-des.c cryptoapi\ciphers\cipher-des_ede3.c cryptoapi\ciphers\cipher-dfc.c cryptoapi\ciphers\cipher-dummy.c cryptoapi\ciphers\cipher-idea.c cryptoapi\ciphers\cipher-mars.c cryptoapi\ciphers\cipher-rc5.c cryptoapi\ciphers\cipher-rc6.c cryptoapi\ciphers\cipher-serpent.c cryptoapi\ciphers\cipher-twofish.c cryptoapi\ciphers\Config.help cryptoapi\ciphers\Config.in cryptoapi\ciphers\gen-cbc.h cryptoapi\ciphers\gen-cfb.h cryptoapi\ciphers\gen-cipher.h cryptoapi\ciphers\gen-ecb.h cryptoapi\ciphers\Makefile cryptoapi\ciphers cryptoapi\crypto.h cryptoapi\cryptoapi.c cryptoapi\CRYPTOAPI.dsp cryptoapi\CRYPTOAPI.dsw cryptoapi\CRYPTOAPI.ncb cryptoapi\CRYPTOAPI.opt cryptoapi\Debug cryptoapi\digests\Config.help cryptoapi\digests\Config.in cryptoapi\digests\digest-md5.c cryptoapi\digests\digest-sha1.c cryptoapi\digests\gen-hmac.h cryptoapi\digests\Makefile cryptoapi\digests\md5.h cryptoapi\digests\md5c.c cryptoapi\digests\sha1c.c cryptoapi\digests cryptoapi\Documentation\cryptoapi\cryptoapi.txt cryptoapi\Documentation\cryptoapi\cryptoloop.txt cryptoapi\Documentation\cryptoapi\README cryptoapi\Documentation\cryptoapi\testcrypt\crypto.h cryptoapi\Documentation\cryptoapi\testcrypt\Makefile cryptoapi\Documentation\cryptoapi\testcrypt\testcrypt.c cryptoapi\Documentation\cryptoapi\testcrypt\testcrypt.o cryptoapi\Documentation\cryptoapi\testcrypt cryptoapi\Documentation\cryptoapi\加密库的使用说明和范例.txt cryptoapi\Documentation\cryptoapi cryptoapi\Documentation cryptoapi\Makefile cryptoapi\wordops.h cryptoapi