I saw this thread -- 
https://groups.google.com/forum/#!searchin/cryptopp-users/salsa20$2Brounds/cryptopp-users/VtlSWmirTno/gZON3-SvwwEJ

but didn't quite understand the implementation of it.

I was trying to implement salsa20 with 12 or 8 rounds instead of the 
default 20 rounds. I'm using the code off here: 
https://www.cryptopp.com/wiki/Salsa20

instead of using SetKeyWithIV()

I tried the following which I thought would work

    salsa.SetKey(key, 32, MakeParameters(Name::IV(),iv)
            (Name::Rounds(), 12));

my eclipse ide is complaining 

Description    Resource    Path    Location    Type
  required from ‘CryptoPP::AlgorithmParameters 
CryptoPP::MakeParameters(const char*, const T&, bool) [with T = unsigned 
char [8]]’    salsa12        line 388, external location: 
/usr/include/crypto++/algparam.h    C/C++ Problem

Description    Resource    Path    Location    Type
  required from ‘CryptoPP::AlgorithmParameters& 
CryptoPP::AlgorithmParameters::operator()(const char*, const T&, bool) 
[with T = unsigned char [8]]’    salsa12        line 354, external 
location: /usr/include/crypto++/algparam.h    C/C++ Problem


any ideas?

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