2 writes to _ctx
System.Security.Cryptography (2)
System\Security\Cryptography\LiteHash.Unix.cs (2)
43
_ctx
= Interop.Crypto.EvpMdCtxCreate(algorithm);
49
_ctx
= ctx;
8 references to _ctx
System.Security.Cryptography (8)
System\Security\Cryptography\LiteHash.Unix.cs (8)
44
Interop.Crypto.CheckValidOpenSslHandle(
_ctx
);
60
Check(Interop.Crypto.EvpDigestUpdate(
_ctx
, data, data.Length));
65
Check(Interop.Crypto.EvpDigestReset(
_ctx
, _algorithm));
70
Check(Interop.Crypto.EvpDigestFinalXOF(
_ctx
, destination));
83
Check(Interop.Crypto.EvpDigestCurrentXOF(
_ctx
, destination));
88
SafeEvpMdCtxHandle clone = Interop.Crypto.EvpMdCtxCopyEx(
_ctx
);
95
Check(Interop.Crypto.EvpDigestSqueeze(
_ctx
, destination));
100
_ctx
.Dispose();