Thank you very much, Jean Pierre Gungor
On Tuesday, September 15, 2015 at 12:23:15 PM UTC-7, jean-pierre.muench wrote: > > Hey Gungor, > > I'd suggest implementing the abstract MessageAuthenticationCode class > yourself. > > You can use HMAC for orientation on how to do this. As for the counter > there's "IncrementCounterByOne" function in CryptoPP or you could just use > a 64-bit integer or a CryptoPP Integer. > > HMAC by itself can't do this and you can't make it do this without > implementing the MAC class yourself. > > If you encounter further problems while doing the implementation you're > welcome to ask here again :) > > BR > > JPM > > Am 14.09.2015 um 19:05 schrieb Gungor Basa: > > Hello guys, > > I need a function like "mac = HMAC(key || counter)”. What is the best way > to use counter with hashed key function? I tried to use “SetKeyWithIV” and > “SetKeyWithRounds” but I got AlgorithmParametersBase: parameter “IV" not > used or AlgorithmParametersBase: parameter "Rounds" not used exceptions. > > Thanks > Gungor > -- > -- > You received this message because you are subscribed to the "Crypto++ > Users" Google Group. > To unsubscribe, send an email to [email protected] > <javascript:>. > More information about Crypto++ and this group is available at > <http://www.cryptopp.com>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] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- -- 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.
