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.
pull/804/head
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
1 changed files with 1 additions and 1 deletions

View File

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