TinyKeyMan

所属分类:加密解密
开发工具:Visual C++
文件大小:43KB
下载次数:73
上传日期:2008-06-23 14:27:34
上 传 者biddy
说明:  无线传感器密钥管理算法,基于多项式的密钥预分布算法,采用RC5加密算法
(Wireless sensor key management algorithm, polynomial-based key pre-distribution algorithm, the use of RC5 encryption algorithm)

文件列表:
TinyKeyMan\TinyKeyMan\BlockCipher.nc (3424, 2004-04-12)
TinyKeyMan\TinyKeyMan\BlockCipherInfo.nc (1593, 2004-04-12)
TinyKeyMan\TinyKeyMan\CBCMAC.nc (10523, 2004-04-12)
TinyKeyMan\TinyKeyMan\Channel.nc (1390, 2004-04-25)
TinyKeyMan\TinyKeyMan\ChannelM.nc (2334, 2004-04-25)
TinyKeyMan\TinyKeyMan\ComputeKey.nc (1273, 2004-04-25)
TinyKeyMan\TinyKeyMan\ComputeKeyM16.nc (2964, 2004-06-12)
TinyKeyMan\TinyKeyMan\COPYRIGHT (1158, 2004-04-25)
TinyKeyMan\TinyKeyMan\crypto.h (1878, 2004-04-12)
TinyKeyMan\TinyKeyMan\MAC.nc (5802, 2004-04-12)
TinyKeyMan\TinyKeyMan\Makefile (44, 2004-04-25)
TinyKeyMan\TinyKeyMan\Makerules (12254, 2004-03-26)
TinyKeyMan\TinyKeyMan\PolyOne.h (2215, 2004-04-25)
TinyKeyMan\TinyKeyMan\Primitive.nc (1677, 2004-04-25)
TinyKeyMan\TinyKeyMan\RandomM.nc (2742, 2004-04-01)
TinyKeyMan\TinyKeyMan\RC5M.nc (8541, 2004-04-12)
TinyKeyMan\TinyKeyMan\SecPrimitiveC.nc (1522, 2004-04-25)
TinyKeyMan\TinyKeyMan\SecPrimitiveM.nc (2825, 2004-04-25)
TinyKeyMan\TinyKeyMan\Sensor.nc (1422, 2004-04-25)
TinyKeyMan\TinyKeyMan\SensorGM.nc (6508, 2004-04-25)
TinyKeyMan\TinyKeyMan\SensorM.nc (10306, 2004-04-25)
TinyKeyMan\TinyKeyMan\SetupServer.nc (1330, 2004-04-25)
TinyKeyMan\TinyKeyMan\SetupServerGM.nc (6234, 2004-06-12)
TinyKeyMan\TinyKeyMan\SetupServerM.nc (8059, 2004-06-12)
TinyKeyMan\TinyKeyMan\Simulation.nc (2036, 2004-04-25)
TinyKeyMan\TinyKeyMan\SimulationG.nc (1828, 2004-04-25)
TinyKeyMan\TinyKeyMan\SimulationGM.nc (2295, 2004-04-25)
TinyKeyMan\TinyKeyMan\SimulationM.nc (3472, 2004-04-25)
TinyKeyMan\TinyKeyMan (0, 2004-06-12)
TinyKeyMan (0, 2006-10-15)

README for the implementation of the polynomial pool-based key predistribution in sensor networks. 1. Interfaces provided (1). ComputeKey.nc defines the interface for computing pairwise key using polynomial evaluation. It contains: - command void compute(uint8_t *array, uint16_t ID, uint8_t *key) compute a key with the node (ID) using the coefficients in "array". ComputeKeyM16.nc implements this interface on finite field F_65537 (2). Setupserver.nc defines the interface for SetupServer. It contains: - command result_t init() initialize setupserver,generate seed for bivariate polynomials. - command result_t SecretAssign(uint16_t ID, uint8_t *secret) assign secret to a sensor, ID is sensor id. SetupServerM.nc implements this interface for the random subset assignment scheme. SetupServerGM.nc implements this interface for the grid-based scheme. (3). The interface Sensor defines the interface for sensor node. It contains: and one event: - command void init(uint16_t ID, uint8_t *secret) initialize sensor, get its ID and secret. - command uint8_t establish_key(uint16_t ID) establish a pairwise key with a given sensor node - event result_t keyEstablished(uint16_t ID, uint8_t *key) raise a signal when the pairwise key is established. This must be implemented by the upper level module. SensorM.nc implements this interface for the random subset assignment scheme. SensorGM.nc implements this interface for the grid-based scheme. 2. Other Files The following files are directly adopted from TinySec package. If you are interested, please go to http://www.cs.berkeley.edu/~nks/tinysec/ - BlockCipher.nc - blockCipherInfo.nc - CBCMAC.nc - crypto.h - MAC.nc - RC5M.nc This file is modified from RamdomLFSR - RandomM.nc: The following files are also developped by the authors - Channel.nc interface for a simple channel module - ChannelM.nc implementation of interface Channel - Primitive.nc interface for some basic security primitive - SecPrimitiveM.nc implementation for interface Primitive - SecPrimitiveC.nc component for interface Primitive - PolyOne.h: define data struct used in this packet - Simulation.nc configuration file of a sample simulation program for the random subset assignment scheme - SimulationM.nc implementation of a sample simulation program for the random subset assignment scheme - SimulationG.nc configuration file of a sample simulation program for the grid-based scheme - SimulationGM.nc implementation of a sample simulation program for the grid-based scheme The following files are used to compile - Makefile - Makerules 3. Instruction for compile: - make sure you install and config TinyOS correctly. You can find more detail at http://webs.cs.berkeley.edu/tos/ - put all the above files in the same directory - type in "make pc"

近期下载者

相关文件


收藏者