6[UnsupportedOSPlatform(
"browser")]
11 [Obsolete(
"ProduceLegacyHmacValues is obsolete. Producing legacy HMAC values is not supported.", DiagnosticId =
"SYSLIB0029", UrlFormat =
"https://aka.ms/dotnet-warnings/{0}")]
27 public override byte[]
Key
55 base.HashName =
"SHA384";
58 base.BlockSizeValue = 128;
62 protected override void HashCore(
byte[] rgb,
int ib,
int cb)
102 byte[]
array =
new byte[48];
127 protected override void Dispose(
bool disposing)
132 if (hMacCommon !=
null)
138 base.Dispose(disposing);
void ChangeKey(byte[] key)
void Dispose(bool disposing)
byte[] FinalizeHashAndReset()
bool TryFinalizeHashAndReset(Span< byte > destination, out int bytesWritten)
void AppendHashData(byte[] data, int offset, int count)
static int MacData(string hashAlgorithmId, ReadOnlySpan< byte > key, ReadOnlySpan< byte > source, Span< byte > destination)
static string Argument_DestinationTooShort
static bool TryHashData(ReadOnlySpan< byte > key, ReadOnlySpan< byte > source, Span< byte > destination, out int bytesWritten)
bool ProduceLegacyHmacValues
override void HashCore(byte[] rgb, int ib, int cb)
static byte[] HashData(byte[] key, byte[] source)
override void Dispose(bool disposing)
static int HashData(ReadOnlySpan< byte > key, ReadOnlySpan< byte > source, Span< byte > destination)
override bool TryHashFinal(Span< byte > destination, out int bytesWritten)
static byte[] HashData(ReadOnlySpan< byte > key, ReadOnlySpan< byte > source)
override byte[] HashFinal()
override void HashCore(ReadOnlySpan< byte > source)
override void Initialize()