Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TrySignDataCore()

virtual bool System.Security.Cryptography.ECDsa.TrySignDataCore ( ReadOnlySpan< byte > data,
Span< byte > destination,
HashAlgorithmName hashAlgorithm,
DSASignatureFormat signatureFormat,
out int bytesWritten )
inlineprotectedvirtualinherited

Definition at line 252 of file ECDsa.cs.

253 {
254 Span<byte> tmp = stackalloc byte[128];
255 ReadOnlySpan<byte> hash = HashSpanToTmp(data, hashAlgorithm, tmp);
256 return TrySignHashCore(hash, destination, signatureFormat, out bytesWritten);
257 }
virtual bool TrySignHashCore(ReadOnlySpan< byte > hash, Span< byte > destination, DSASignatureFormat signatureFormat, out int bytesWritten)
Definition ECDsa.cs:490
ReadOnlySpan< byte > HashSpanToTmp(ReadOnlySpan< byte > data, HashAlgorithmName hashAlgorithm, Span< byte > tmp)
Definition ECDsa.cs:538

References System.destination, System.Security.Cryptography.ECDsa.HashSpanToTmp(), and System.Security.Cryptography.ECDsa.TrySignHashCore().

Referenced by System.Security.Cryptography.ECDsa.SignDataCore(), and System.Security.Cryptography.ECDsa.TrySignData().