public static unsafe void Seed(byte[] buf) { fixed(byte *bufPtr = buf) { OpenSSL.RAND_seed(new IntPtr(bufPtr), buf.Length); } }