static IEnumerable _GetVarKey256BitKey() { foreach (var item in KATData.GetVarKey256BitKey()) { yield return(new TestCaseData(item.CipherText.ToHex(), item)); } }
public static List <AlgoArrayResponse> GetVarKey256BitKey() { var results = KATData.GetVarKey256BitKey(); 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> GetVarKey256BitKey() { var initial = KATData.GetVarKey256BitKey(); return(TransformKATDataToKATDataOFb(initial)); }