static IEnumerable _GetVarKey128BitKey() { foreach (var item in KATData.GetVarKey128BitKey()) { yield return(new TestCaseData(item.CipherText.ToHex(), item)); } }
public static List <AlgoArrayResponse> GetVarKey128BitKey() { var results = KATData.GetVarKey128BitKey(); VarKeyTransform(results); AllTransform(results); return(results); }
public static List <AlgoArrayResponse> GetVarKey(int keyLen) { switch (keyLen) { case 128: return(TransformKatDataToCtr(KATData.GetVarKey128BitKey())); case 192: return(TransformKatDataToCtr(KATData.GetVarKey192BitKey())); case 256: return(TransformKatDataToCtr(KATData.GetVarKey256BitKey())); default: throw new ArgumentException($"Invalid keyLen: {keyLen}"); } }
public static List <AlgoArrayResponse> GetVarKey128BitKey() { var initial = KATData.GetVarKey128BitKey(); return(TransformKATDataToKATDataOFb(initial)); }