internal CkSsl3KeyMatOut(ulong ivLength)
{
_lowLevelStruct.ClientMacSecret = 0;
_lowLevelStruct.ServerMacSecret = 0;
_lowLevelStruct.ClientKey = 0;
_lowLevelStruct.ServerKey = 0;
_lowLevelStruct.IVClient = IntPtr.Zero;
_lowLevelStruct.IVServer = IntPtr.Zero;
_ivLength = ivLength;
if (_ivLength > 0)
{
_lowLevelStruct.IVClient = UnmanagedMemory.Allocate(Convert.ToInt32(_ivLength));
_lowLevelStruct.IVServer = UnmanagedMemory.Allocate(Convert.ToInt32(_ivLength));
}
}