~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to ec2n.cpp

  • Committer: weidai
  • Date: 2005-07-12 04:23:32 UTC
  • Revision ID: svn-v4:57ff6487-cd31-0410-9ec3-f628ee90f5f0:trunk/c5:198
port to MSVC .NET 2005 beta 2

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        seq.MessageEnd();
34
34
}
35
35
 
36
 
bool EC2N::DecodePoint(EC2N::Point &P, const byte *encodedPoint, unsigned int encodedPointLen) const
 
36
bool EC2N::DecodePoint(EC2N::Point &P, const byte *encodedPoint, size_t encodedPointLen) const
37
37
{
38
38
        StringStore store(encodedPoint, encodedPointLen);
39
39
        return DecodePoint(P, store, encodedPointLen);
40
40
}
41
41
 
42
 
bool EC2N::DecodePoint(EC2N::Point &P, BufferedTransformation &bt, unsigned int encodedPointLen) const
 
42
bool EC2N::DecodePoint(EC2N::Point &P, BufferedTransformation &bt, size_t encodedPointLen) const
43
43
{
44
44
        byte type;
45
45
        if (encodedPointLen < 1 || !bt.Get(type))