On Oct 17, 2015, at 15:27 , Jeffrey Walton <[email protected]> wrote: >> Open question: should the class file respond to DiscardBytes? I kinda feel >> like it should be a nop, but there could be folks who want to call it to >> increase their comfort level. > The promise of DiscardBytes() is, well, to discard bytes. If this actually > makes sense from a security standpoint or efficiency stand point is not at us > to judge, or we wouldn't have created this function in the first place. If > the user wants to discard 500 bytes, let him do this via DiscardBytes() or > he'll just write DiscardBytes() himself. > > If I parsed this correctly, then you want DiscardBytes to perform the discard.
It makes sense to be able to discard bytes from PRNG output, to make cryptanalysis of such output harder. I don’t see any use in dropping bytes from a TRNG stream (even considering the details of Intel implementation). -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
