2 writes to _ctx
System.Security.Cryptography (2)
System\Security\Cryptography\LiteHash.OpenSsl.cs (2)
41
_ctx
= Interop.Crypto.EvpMacCtxNew(algorithm);
47
_ctx
= ctx;
7 references to _ctx
System.Security.Cryptography (7)
System\Security\Cryptography\LiteHash.OpenSsl.cs (7)
42
Interop.Crypto.EvpMacInit(
_ctx
, key, customizationString, xof);
57
Interop.Crypto.EvpMacUpdate(
_ctx
, data);
62
SafeEvpMacCtxHandle clone = Interop.Crypto.EvpMacCtxDup(
_ctx
);
68
Interop.Crypto.EvpMacCurrent(
_ctx
, destination);
74
Interop.Crypto.EvpMacFinal(
_ctx
, destination);
78
public void Reset() => Interop.Crypto.EvpMacReset(
_ctx
);
79
public void Dispose() =>
_ctx
.Dispose();