J
Jeffrey Walton
Hi All,
Bear with the newbie question. It has been years since I had this in
college.
I'm working with Crypto++. I'm trying to build a base class array, but
the class is templated. Is there anyway to make it happen? I'm hoping
it is a syntax problem on my part.
template<class BASE>
class CipherModeFinalTemplate_ExternalCipher< BASE >
CipherModeFinalTemplate_ExternalCipher* Ciphers[] = {
new CipherModeFinalTemplate_ExternalCipher< ECB_Mode >,
...
}
I want to get to SetCipher() of the class so I can dynamically change
it at runtime. Sample code is at http://cryptopp.pastebin.com/d3a117c6c
Thanks,
Jeff
Jeffrey Walton
Full library documentation is at
http://www.cryptopp.com/docs/ref/cl..._cipher.html#b183bb3665c750c4555c3d9c8ef9f914
Bear with the newbie question. It has been years since I had this in
college.
I'm working with Crypto++. I'm trying to build a base class array, but
the class is templated. Is there anyway to make it happen? I'm hoping
it is a syntax problem on my part.
template<class BASE>
class CipherModeFinalTemplate_ExternalCipher< BASE >
CipherModeFinalTemplate_ExternalCipher* Ciphers[] = {
new CipherModeFinalTemplate_ExternalCipher< ECB_Mode >,
...
}
I want to get to SetCipher() of the class so I can dynamically change
it at runtime. Sample code is at http://cryptopp.pastebin.com/d3a117c6c
Thanks,
Jeff
Jeffrey Walton
Full library documentation is at
http://www.cryptopp.com/docs/ref/cl..._cipher.html#b183bb3665c750c4555c3d9c8ef9f914