diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-05-07 22:44:37 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-05-07 22:44:37 +0700 |
commit | 45c6b993945f01076e386cb59988b1836a329999 (patch) | |
tree | af2cfef4965004df69538b330db2923d3f4e7b20 /crypto/src/util/io/LimitedBuffer.cs | |
parent | Set version to '2.3' (diff) | |
download | BouncyCastle.NET-ed25519-release/v2.3.tar.xz |
Patch #1 for 2.3 release-2.3.1 release/v2.3
- TLS: fix timing side-channel for RSA key exchange - fix method Write(ReadOnlySpan<byte>) in LimitedBuffer - ASN.1: Limit OID contents to 4096 bytes - EdDSA: fix verification infinite loop - EC: restrict m value in F2m curves
Diffstat (limited to 'crypto/src/util/io/LimitedBuffer.cs')
-rw-r--r-- | crypto/src/util/io/LimitedBuffer.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/src/util/io/LimitedBuffer.cs b/crypto/src/util/io/LimitedBuffer.cs index 07c9969ad..c99c49c25 100644 --- a/crypto/src/util/io/LimitedBuffer.cs +++ b/crypto/src/util/io/LimitedBuffer.cs @@ -47,6 +47,7 @@ namespace Org.BouncyCastle.Utilities.IO public override void Write(ReadOnlySpan<byte> buffer) { buffer.CopyTo(m_buf.AsSpan(m_count)); + m_count += buffer.Length; } #endif |