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)
137
Interop.Crypto.CheckValidOpenSslHandle(
_ctx
);
154
Check(Interop.Crypto.EvpDigestUpdate(
_ctx
, data, data.Length));
162
Check(Interop.Crypto.EvpDigestFinalEx(
_ctx
, ref MemoryMarshal.GetReference(destination), ref length));
170
Check(Interop.Crypto.EvpDigestReset(
_ctx
, _algorithm));
176
Check(Interop.Crypto.EvpDigestCurrent(
_ctx
, ref MemoryMarshal.GetReference(destination), ref length));
183
SafeEvpMdCtxHandle clone = Interop.Crypto.EvpMdCtxCopyEx(
_ctx
);
190
_ctx
.Dispose();