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

◆ SetFeedbackSize() [2/2]

static void Internal.NativeCrypto.Cng.SetFeedbackSize ( this SafeAlgorithmHandle hAlg,
int dwFeedbackSize )
inlinestatic

Definition at line 45 of file Cng.cs.

46 {
47 global::Interop.BCrypt.NTSTATUS nTSTATUS = Interop.BCryptSetIntProperty(hAlg, "MessageBlockLength", ref dwFeedbackSize, 0);
48 if (nTSTATUS != 0)
49 {
50 throw CreateCryptographicException(nTSTATUS);
51 }
52 }
static Exception CreateCryptographicException(global::Interop.BCrypt.NTSTATUS ntStatus)
Definition Cng.cs:72

References Internal.NativeCrypto.Cng.Interop.BCryptSetIntProperty(), and Internal.NativeCrypto.Cng.CreateCryptographicException().