From a3b6ece7ab341b5b14135baeccea7d5e4c086771 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 4 Oct 2002 17:31:41 +0000 Subject: Initial revision --- 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 00000000..1ef7de44 --- /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