summaryrefslogtreecommitdiff
path: root/pubkey.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2020-12-02 16:43:44 -0500
committerJeffrey Walton <noloader@gmail.com>2020-12-02 16:43:44 -0500
commitf51dc25c121c13de0f97f5d7b97b1f368c035b8f (patch)
tree4cbac5cc5484a79a0c4390294d203b0ef09f18a7 /pubkey.h
parent301c169f9afb364b93011f9870aa4202bd407ae5 (diff)
downloadcryptopp-git-f51dc25c121c13de0f97f5d7b97b1f368c035b8f.tar.gz
Update documentation
Diffstat (limited to 'pubkey.h')
-rw-r--r--pubkey.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pubkey.h b/pubkey.h
index 51890893..c1ce63d8 100644
--- a/pubkey.h
+++ b/pubkey.h
@@ -1719,8 +1719,8 @@ public:
const DL_GroupParameters<T> &params = this->GetAbstractGroupParameters();
// Validation due to https://github.com/weidai11/cryptopp/issues/981
- // We allow a caller to provide R and S in oversized buffer. R and S are
- // read based on the field element size, and not the buffer size.
+ // We allow a caller to provide R and S in oversized buffer. R and S
+ // are read based on the field element size, and not the buffer size.
const size_t rLen = alg.RLen(params);
const size_t sLen = alg.SLen(params);
CRYPTOPP_ASSERT(signatureLength >= rLen + sLen);