/// <summary> /// Initializes a new instance of the CkRc2Params class. /// </summary> /// <param name='effectiveBits'>Effective number of bits in the RC2 search space</param> public CkRc2Params(ulong effectiveBits) { if (Platform.UnmanagedLongSize == 4) { if (Platform.StructPackingSize == 0) { _params40 = new HighLevelAPI40.MechanismParams.CkRc2Params(Convert.ToUInt32(effectiveBits)); } else { _params41 = new HighLevelAPI41.MechanismParams.CkRc2Params(Convert.ToUInt32(effectiveBits)); } } else { if (Platform.StructPackingSize == 0) { _params80 = new HighLevelAPI80.MechanismParams.CkRc2Params(effectiveBits); } else { _params81 = new HighLevelAPI81.MechanismParams.CkRc2Params(effectiveBits); } } }
/// <summary> /// Initializes a new instance of the CkRc2Params class. /// </summary> /// <param name='effectiveBits'>Effective number of bits in the RC2 search space</param> public CkRc2Params(ulong effectiveBits) { if (Platform.UnmanagedLongSize == 4) { if (Platform.StructPackingSize == 0) _params40 = new HighLevelAPI40.MechanismParams.CkRc2Params(Convert.ToUInt32(effectiveBits)); else _params41 = new HighLevelAPI41.MechanismParams.CkRc2Params(Convert.ToUInt32(effectiveBits)); } else { if (Platform.StructPackingSize == 0) _params80 = new HighLevelAPI80.MechanismParams.CkRc2Params(effectiveBits); else _params81 = new HighLevelAPI81.MechanismParams.CkRc2Params(effectiveBits); } }