1 write to _ctx
System.Security.Cryptography (1)
System\Security\Cryptography\LiteHash.Unix.cs (1)
202_ctx = Interop.Crypto.HmacCreate(ref MemoryMarshal.GetReference(key), key.Length, algorithm);
6 references to _ctx
System.Security.Cryptography (6)
System\Security\Cryptography\LiteHash.Unix.cs (6)
203Interop.Crypto.CheckValidOpenSslHandle(_ctx); 213Check(Interop.Crypto.HmacUpdate(_ctx, data, data.Length)); 221Check(Interop.Crypto.HmacCurrent(_ctx, ref MemoryMarshal.GetReference(destination), ref length)); 231Check(Interop.Crypto.HmacFinal(_ctx, ref MemoryMarshal.GetReference(destination), ref length)); 238Check(Interop.Crypto.HmacReset(_ctx)); 243_ctx.Dispose();