2 writes to _ctx
System.Security.Cryptography (2)
System\Security\Cryptography\LiteHash.Unix.cs (2)
136_ctx = Interop.Crypto.EvpMdCtxCreate(algorithm); 142_ctx = ctx;
7 references to _ctx
System.Security.Cryptography (7)
System\Security\Cryptography\LiteHash.Unix.cs (7)
137Interop.Crypto.CheckValidOpenSslHandle(_ctx); 154Check(Interop.Crypto.EvpDigestUpdate(_ctx, data, data.Length)); 162Check(Interop.Crypto.EvpDigestFinalEx(_ctx, ref MemoryMarshal.GetReference(destination), ref length)); 170Check(Interop.Crypto.EvpDigestReset(_ctx, _algorithm)); 176Check(Interop.Crypto.EvpDigestCurrent(_ctx, ref MemoryMarshal.GetReference(destination), ref length)); 183SafeEvpMdCtxHandle clone = Interop.Crypto.EvpMdCtxCopyEx(_ctx); 190_ctx.Dispose();