Hello! Thanks for replies!
*1) Jean-Pierre Münch wrote:*
*"This is mainly data that you must authenticate because of your protocol. 
In your case you might want to authenticate the salt with the header GCM 
execution."*
So, you mean that the salt can be stored not in the header, but in the AAD 
channel before it, don't you?
2) *" so can simply put "ef.ChannelPut("AAD",data,data.size());"*
The ChannelPut function seems to cause no problems; the problem is in 
AuthenticatedEncryptionFilter constructor's second argument, which is 
of BufferedTransformation pointer type; I'll try to provide it with 
SecByteBlock link, but I don't think this would work.
*3) Mouse wrote:*
*"It's typical use is integrity-protecting message headers that must be 
available in the clear to the intermediate nodes to properly route this 
message."*
I'm afraid my level of English is not enough to understand this sentence; 
could you please explain it simplier?
4) And if decryption goes wrong, will AEAD return any value or throw an 
exception?

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