移植中
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
package com.cscn;
|
||||
|
||||
/**
|
||||
* ZUC状态类
|
||||
* ZUC状态类(JavaCard版,int 拆为 hi/lo short)
|
||||
*/
|
||||
public final class Zuc256State {
|
||||
int[] LFSR = new int[16]; // 线性反馈移位寄存器
|
||||
int R1; // 寄存器1
|
||||
int R2; // 寄存器2
|
||||
// LFSR: 原 int[16] -> hi/lo 各 16
|
||||
public short[] LFSR_hi = new short[16];
|
||||
public short[] LFSR_lo = new short[16];
|
||||
|
||||
// R1, R2: 原 int -> hi/lo
|
||||
public short R1_hi;
|
||||
public short R1_lo;
|
||||
public short R2_hi;
|
||||
public short R2_lo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user