예제 #1
0
 internal static int DigestUpdate(SafeDigestCtxHandle ctx, ReadOnlySpan <byte> data) =>
 DigestUpdate(ctx, ref MemoryMarshal.GetReference(data), data.Length);
예제 #2
0
 internal static int DigestFinal(SafeDigestCtxHandle ctx, Span <byte> pbOutput, int cbOutput) =>
 DigestFinal(ctx, ref pbOutput.DangerousGetPinnableReference(), cbOutput);
예제 #3
0
 private static extern int DigestFinal(SafeDigestCtxHandle ctx, ref byte pbOutput, int cbOutput);
예제 #4
0
 internal static int DigestUpdate(SafeDigestCtxHandle ctx, ReadOnlySpan <byte> pbData, int cbData) =>
 DigestUpdate(ctx, ref pbData.DangerousGetPinnableReference(), cbData);
예제 #5
0
 private static extern int DigestUpdate(SafeDigestCtxHandle ctx, ref byte pbData, int cbData);
예제 #6
0
 internal static int DigestCurrent(SafeDigestCtxHandle ctx, Span <byte> output) =>
 DigestCurrent(ctx, ref MemoryMarshal.GetReference(output), output.Length);
예제 #7
0
 internal static extern int DigestReset(SafeDigestCtxHandle ctx);
예제 #8
0
 internal static extern unsafe int DigestFinal(SafeDigestCtxHandle ctx, byte *pbOutput, int cbOutput);
예제 #9
0
 internal static extern unsafe int DigestUpdate(SafeDigestCtxHandle ctx, byte *pbData, int cbData);
예제 #10
0
 internal static partial int DigestReset(SafeDigestCtxHandle ctx);
예제 #11
0
 private static partial int DigestCurrent(SafeDigestCtxHandle ctx, ref byte pbOutput, int cbOutput);
예제 #12
0
 private static partial int DigestUpdate(SafeDigestCtxHandle ctx, ref byte pbData, int cbData);