> I’m using CMAC algorithm. For optimization purposes, I want to avoid 
> dynamic allocation use. Is there any way to do it ?
>

You can use Update() and Final() of HashTransformation class. When using a 
pipleline with a StringSource, the pipeline calls it under the hood.

HashTransformation 's Update() is overridden in CMAC_Base, but for all 
intents and purposes its the same difference.

Also see https://www.cryptopp.com/docs/ref/class_c_m_a_c.html .

Jeff 

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
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 cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to