Back-off ChaCha assert at the moment (GH #790)

We don't know what we are supposed to do at the moment. We need the CFRG or IETF to say what is supposed to happen.
This commit is contained in:
Jeffrey Walton 2019-02-11 11:40:05 -05:00
parent 0ca4c41a97
commit 161d680434
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -487,7 +487,7 @@ void ChaChaTLS_Policy::OperateKeystream(KeystreamOperation operation,
// know what we should do.
// Also see https://github.com/weidai11/cryptopp/issues/790 and
// https://mailarchive.ietf.org/arch/msg/cfrg/gsOnTJzcbgG6OqD8Sc0GO5aR_tU
CRYPTOPP_ASSERT(discard==0);
// CRYPTOPP_ASSERT(discard==0);
}
////////////////////////////// IETF XChaCha20 //////////////////////////////