Hi,

I'm interested in AuthenticatedDecryptionFilter.

On https://www.cryptopp.com/wiki/GCM_Mode, in the AE example 
(https://www.cryptopp.com/w/images/2/2a/GCM-AE-Test.zip), GetLastResult is 
checked, even if DEFAULT_FLAGS is used.
This makes the code more complex, as it requires the use of a Redirector. 
(There is even a long comment about it in the code.)
Is there any reason for this?
Is it possible that even with DEFAULT_FLAGS (which is THROW_EXCEPTION), no 
exception is thrown when the tag/mac is invalid?

Thanks,
Best,
Fabrice

PS: In the code of the AE example on the wiki page (not the one in the zip 
file), DEFAULT_FLAGS should be replaced 
by AuthenticatedDecryptionFilter::DEFAULT_FLAGS.

-- 
-- 
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.

Reply via email to