From b21162cf8e06f40baa1f58be6a8c17435cebc34d Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 Oct 2002 17:31:41 +0000 Subject: Initial revision git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@2 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- algparam.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 algparam.cpp (limited to 'algparam.cpp') diff --git a/algparam.cpp b/algparam.cpp new file mode 100644 index 0000000..1ef7de4 --- /dev/null +++ b/algparam.cpp @@ -0,0 +1,16 @@ +// algparam.cpp - written and placed in the public domain by Wei Dai + +#include "pch.h" +#include "algparam.h" +#include "integer.h" + +NAMESPACE_BEGIN(CryptoPP) + +const std::type_info &g_typeidInteger = typeid(Integer); + +void AssignIntToInteger(void *pInteger, const void *pInt) +{ + *reinterpret_cast(pInteger) = *reinterpret_cast(pInt); +} + +NAMESPACE_END -- cgit v1.2.1