blob: 1ef7de44d6760f2ee7439a3ddb65716e9bf4b401 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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<Integer *>(pInteger) = *reinterpret_cast<const int *>(pInt);
}
NAMESPACE_END
|