2 writes to _ctx
System.Security.Cryptography (2)
System\Security\Cryptography\LiteHash.Unix.cs (2)
223
_ctx
= Interop.Crypto.HmacCreate(ref MemoryMarshal.GetReference(key), key.Length, algorithm);
229
_ctx
= ctx;
7 references to _ctx
System.Security.Cryptography (7)
System\Security\Cryptography\LiteHash.Unix.cs (7)
224
Interop.Crypto.CheckValidOpenSslHandle(
_ctx
);
240
Check(Interop.Crypto.HmacUpdate(
_ctx
, data, data.Length));
248
Check(Interop.Crypto.HmacCurrent(
_ctx
, ref MemoryMarshal.GetReference(destination), ref length));
258
Check(Interop.Crypto.HmacFinal(
_ctx
, ref MemoryMarshal.GetReference(destination), ref length));
265
Check(Interop.Crypto.HmacReset(
_ctx
));
270
SafeHmacCtxHandle clone = Interop.Crypto.HmacCopy(
_ctx
);
277
_ctx
.Dispose();