readme
来自「LOKI算法:LOKI89、LOKI91加密解密算法」· 代码 · 共 43 行
TXT
43 行
This directory contains the Unix source for the original LOKI89 and forLOKI91, 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 definedTo compile the certification program for LOKI89 & 91 use(note comments in each re DEFINE targets for various options andarchitectures): cc loki89.c lokicert.c -o cert89 cc loki91.c lokicert.c -o cert91To run the certification use cert89 < triples89 cert91 < triples91LOKI91 differs from LOKI89 in that the key schedule uses 13 bitrotations instead of 12, and the S-boxes are generated by a slightlydifferent function. In LOKI89 the base for Galois Field exponentiationwas b = col ^ rowIn LOKI91 it is b = (col + ((row * 17) ^ 0xff)) & 0xffOtherwise the algorithms are identical. The E-boxes and permutationfunctions are unchanged.Lawrie Brown & Matthew Kwan
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?