00001 // algparam.cpp - written and placed in the public domain by Wei Dai 00002 00003 #include "pch.h" 00004 00005 #ifndef CRYPTOPP_IMPORTS 00006 00007 #include "algparam.h" 00008 #include "integer.h" 00009 00010 NAMESPACE_BEGIN(CryptoPP) 00011 00012 const std::type_info &g_typeidInteger = typeid(Integer); 00013 00014 void AssignIntToInteger(void *pInteger, const void *pInt) 00015 { 00016 *reinterpret_cast<Integer *>(pInteger) = *reinterpret_cast<const int *>(pInt); 00017 } 00018 00019 NAMESPACE_END 00020 00021 #endif