diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/src/crypto/IBufferedCipher.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/src/crypto/IBufferedCipher.cs b/crypto/src/crypto/IBufferedCipher.cs index 4471c42c9..4660fa7b7 100644 --- a/crypto/src/crypto/IBufferedCipher.cs +++ b/crypto/src/crypto/IBufferedCipher.cs @@ -33,6 +33,8 @@ namespace Org.BouncyCastle.Crypto int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff); #if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER + // TODO[api] + //byte[] ProcessBytes(ReadOnlySpan<byte> input); int ProcessBytes(ReadOnlySpan<byte> input, Span<byte> output); #endif @@ -44,6 +46,8 @@ namespace Org.BouncyCastle.Crypto int DoFinal(byte[] input, int inOff, int length, byte[] output, int outOff); #if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER + // TODO[api] + //byte[] DoFinal(ReadOnlySpan<byte> input); int DoFinal(Span<byte> output); int DoFinal(ReadOnlySpan<byte> input, Span<byte> output); #endif |