Hi,

Does AES CCM have a limitation of 16 MB for message size?

I got this exception when trying to encrypt 100 MB file:

    message length 104857600 exceeds the maximum of 16777215

Is there any way to encrypt files larger than 16 MB?

Thanks,

Matej

Dne petek, 08. marec 2013 14:36:01 UTC+1 je oseba matejk napisala:
>
> Thank you very much, Wei.
>
> My code shrank significantly after replacing OpenSSL with Crypto++. Using 
> you hint made it even shorter and more readable.
>
> I really like Crypto++.
>
> Regards,
>
> Matej
>
> Dne petek, 08. marec 2013 13:09:36 UTC+1 je oseba Wei Dai napisala:
>>
>>   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.
>>  
>>   *Sent:* Friday, March 08, 2013 1:05 AM
>> *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.
>>  
>>
>>

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