loki89loki91
所属分类:加密解密
开发工具:Visual C++
文件大小:64KB
下载次数:5
上传日期:2007-04-23 23:04:21
上 传 者:
jihaogood
说明: LOKI89、LOKI91加密解密算法。密码学应用
(LOKI89, LOKI91 encryption and decryption algorithms. Cryptography Application)
文件列表:
LOKI89、LOKI91加密解密算法 (0, 2005-04-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn (0, 2004-11-14)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\loki.h (2386, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\loki.i (1941, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\loki89.c (11493, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\loki91.c (9964, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\lokicert.c (2811, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\makefile (1317, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\single89 (150, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\single89.log (2347, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\single91 (150, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\single91.log (2347, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\triple89 (5312, 1993-01-19)
LOKI89、LOKI91加密解密算法\www.cnzz.cn\triple91 (12599, 1993-01-19)
LOKI89、LOKI91加密解密算法\使用说明.CHM (50118, 2004-11-30)
This directory contains the Unix source for the original LOKI89 and for
LOKI91, the upgraded version of LOKI.
The files it contains are -
README - This file
loki.h - Interface specification include file for LOKI89 & 91
loki.i - LOKI S & P box definition file for LOKI89 & 91
loki89.c - Source code for LOKI89
loki91.c - Source code for LOKI91
lokicert.c - Certification program
triples89 - LOKI89 certification triplets
triples91 - LOKI91 certification triplets
single89, single91 - single LOKI89 & LOKI91 certification triplets
log.single89, log.single91 - logs of the certification runs on
single89 & single91 with TRACE=2 defined
To compile the certification program for LOKI89 & 91 use
(note comments in each re DEFINE targets for various options and
architectures):
cc loki89.c lokicert.c -o cert89
cc loki91.c lokicert.c -o cert91
To run the certification use
cert89 < triples89
cert91 < triples91
LOKI91 differs from LOKI89 in that the key schedule uses 13 bit
rotations instead of 12, and the S-boxes are generated by a slightly
different function. In LOKI89 the base for Galois Field exponentiation
was
b = col ^ row
In LOKI91 it is
b = (col + ((row * 17) ^ 0xff)) & 0xff
Otherwise the algorithms are identical. The E-boxes and permutation
functions are unchanged.
Lawrie Brown & Matthew Kwan
近期下载者:
相关文件:
收藏者: