mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-15 10:58:09 +00:00
Update documentation
This commit is contained in:
parent
301c169f9a
commit
f51dc25c12
4
pubkey.h
4
pubkey.h
@ -1719,8 +1719,8 @@ public:
|
||||
const DL_GroupParameters<T> ¶ms = 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user