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)
203
Interop.Crypto.CheckValidOpenSslHandle(
_ctx
);
213
Check(Interop.Crypto.HmacUpdate(
_ctx
, data, data.Length));
221
Check(Interop.Crypto.HmacCurrent(
_ctx
, ref MemoryMarshal.GetReference(destination), ref length));
231
Check(Interop.Crypto.HmacFinal(
_ctx
, ref MemoryMarshal.GetReference(destination), ref length));
238
Check(Interop.Crypto.HmacReset(
_ctx
));
243
_ctx
.Dispose();