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)
224Interop.Crypto.CheckValidOpenSslHandle(_ctx); 240Check(Interop.Crypto.HmacUpdate(_ctx, data, data.Length)); 248Check(Interop.Crypto.HmacCurrent(_ctx, ref MemoryMarshal.GetReference(destination), ref length)); 258Check(Interop.Crypto.HmacFinal(_ctx, ref MemoryMarshal.GetReference(destination), ref length)); 265Check(Interop.Crypto.HmacReset(_ctx)); 270SafeHmacCtxHandle clone = Interop.Crypto.HmacCopy(_ctx); 277_ctx.Dispose();