You don’t have to write a custom Sink. If you don’t specify a sink, the default 
is MessageQueue. Just use AuthenticatedEncryptionFilter without specifying a 
sink, then call Put(), MaxRetrievable() and Get() on it in a loop.

From: matejk 
Sent: Friday, March 08, 2013 1:05 AM
To: [email protected] 
Cc: matejk 
Subject: Re: AES CCM encryption of large incoming pdata (file) by blocks
Hi, 

Thanks to David, I am making progress on this.

I decided to make a custom Sink that would store encrypted incoming blocks into 
a buffer that would be used to send the data to the server.

ArraySink and Strink sink are used as a model.

It sems that I need to implement functions Put2 and IsolatedInitialisation.

What is IsolatedInitialisation needed/used for?

Regards,

Matej


Dne sreda, 06. marec 2013 09:57:57 UTC+1 je oseba matejk napisala: 
  David, thank you very much for fast response to my question.

  Dne sreda, 06. marec 2013 09:47:43 UTC+1 je oseba David Irvine napisala: 
    Check put2 ef.Put2(data, length, -1, true);

  I'll take a look at that function.

-- 
-- 
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/groups/opt_out.
 
 

-- 
-- 
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/groups/opt_out.


Reply via email to