文件名称:kenel_crypto
- 所属分类:
- 系统编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 136kb
- 下载次数:
- 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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cryptoapi
.........\!!readme.txt
.........\ciphers
.........\.......\cipher-aes.c
.........\.......\cipher-blowfish.c
.........\.......\cipher-blowfish_old.c
.........\.......\cipher-cast5.c
.........\.......\cipher-des.c
.........\.......\cipher-des_ede3.c
.........\.......\cipher-dfc.c
.........\.......\cipher-dummy.c
.........\.......\cipher-idea.c
.........\.......\cipher-mars.c
.........\.......\cipher-rc5.c
.........\.......\cipher-rc6.c
.........\.......\cipher-serpent.c
.........\.......\cipher-twofish.c
.........\.......\Config.help
.........\.......\Config.in
.........\.......\gen-cbc.h
.........\.......\gen-cfb.h
.........\.......\gen-cipher.h
.........\.......\gen-ecb.h
.........\.......\Makefile
.........\crypto.h
.........\cryptoapi.c
.........\CRYPTOAPI.dsp
.........\CRYPTOAPI.dsw
.........\CRYPTOAPI.ncb
.........\CRYPTOAPI.opt
.........\Debug
.........\digests
.........\.......\Config.help
.........\.......\Config.in
.........\.......\digest-md5.c
.........\.......\digest-sha1.c
.........\.......\gen-hmac.h
.........\.......\Makefile
.........\.......\md5.h
.........\.......\md5c.c
.........\.......\sha1c.c
.........\Documentation
.........\.............\cryptoapi
.........\.............\.........\cryptoapi.txt
.........\.............\.........\cryptoloop.txt
.........\.............\.........\README
.........\.............\.........\testcrypt
.........\.............\.........\.........\crypto.h
.........\.............\.........\.........\Makefile
.........\.............\.........\.........\testcrypt.c
.........\.............\.........\.........\testcrypt.o
.........\.............\.........\加密库的使用说明和范例.txt
.........\Makefile
.........\wordops.h
.........\!!readme.txt
.........\ciphers
.........\.......\cipher-aes.c
.........\.......\cipher-blowfish.c
.........\.......\cipher-blowfish_old.c
.........\.......\cipher-cast5.c
.........\.......\cipher-des.c
.........\.......\cipher-des_ede3.c
.........\.......\cipher-dfc.c
.........\.......\cipher-dummy.c
.........\.......\cipher-idea.c
.........\.......\cipher-mars.c
.........\.......\cipher-rc5.c
.........\.......\cipher-rc6.c
.........\.......\cipher-serpent.c
.........\.......\cipher-twofish.c
.........\.......\Config.help
.........\.......\Config.in
.........\.......\gen-cbc.h
.........\.......\gen-cfb.h
.........\.......\gen-cipher.h
.........\.......\gen-ecb.h
.........\.......\Makefile
.........\crypto.h
.........\cryptoapi.c
.........\CRYPTOAPI.dsp
.........\CRYPTOAPI.dsw
.........\CRYPTOAPI.ncb
.........\CRYPTOAPI.opt
.........\Debug
.........\digests
.........\.......\Config.help
.........\.......\Config.in
.........\.......\digest-md5.c
.........\.......\digest-sha1.c
.........\.......\gen-hmac.h
.........\.......\Makefile
.........\.......\md5.h
.........\.......\md5c.c
.........\.......\sha1c.c
.........\Documentation
.........\.............\cryptoapi
.........\.............\.........\cryptoapi.txt
.........\.............\.........\cryptoloop.txt
.........\.............\.........\README
.........\.............\.........\testcrypt
.........\.............\.........\.........\crypto.h
.........\.............\.........\.........\Makefile
.........\.............\.........\.........\testcrypt.c
.........\.............\.........\.........\testcrypt.o
.........\.............\.........\加密库的使用说明和范例.txt
.........\Makefile
.........\wordops.h