输入80E3,可执行算法正确性检验,验证通过,对len=38Bytes明文加密结果符合预期、解密结果符合输入;
输入80E2,可写入密钥到flash,若算法类型、key id, key版本一致,就写入,已满就报错,无记录就写入新记录; 输入80CA,可执行伪位置加密,原封不动将输入的data返回回来。
This commit is contained in:
@@ -3,7 +3,7 @@ package com.cscn;
|
||||
/**
|
||||
* ZUC状态类(JavaCard版,int 拆为 hi/lo short)
|
||||
*/
|
||||
public final class Zuc256State {
|
||||
public class Zuc256State {
|
||||
// LFSR: 原 int[16] -> hi/lo 各 16
|
||||
public short[] LFSR_hi = new short[16];
|
||||
public short[] LFSR_lo = new short[16];
|
||||
|
||||
Reference in New Issue
Block a user