~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to rsa.cpp

  • Committer: weidai
  • Date: 2003-07-18 04:35:30 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:103
misc changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
#if !defined(NDEBUG) && !defined(CRYPTOPP_IS_DLL)
14
14
#include "pssr.h"
15
 
#endif
16
 
 
17
15
NAMESPACE_BEGIN(CryptoPP)
18
 
 
19
 
#if !defined(NDEBUG) && !defined(CRYPTOPP_IS_DLL)
20
16
void RSA_TestInstantiations()
21
17
{
22
18
        RSASS<PKCS1v15, SHA>::Verifier x1(1, 1);
37
33
 
38
34
        x4 = x2.GetKey();
39
35
}
 
36
NAMESPACE_END
40
37
#endif
41
38
 
42
39
#ifndef CRYPTOPP_IMPORTS
43
40
 
 
41
NAMESPACE_BEGIN(CryptoPP)
 
42
 
44
43
OID RSAFunction::GetAlgorithmID() const
45
44
{
46
45
        return ASN1::rsaEncryption();
276
275
                ;
277
276
}
278
277
 
 
278
NAMESPACE_END
 
279
 
279
280
#endif
280
 
 
281
 
NAMESPACE_END