~zooko/cryptopp/trunk

« back to all changes in this revision

Viewing changes to ecp.h

  • 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:
66
66
        unsigned int EncodedPointSize(bool compressed = false) const
67
67
                {return 1 + (compressed?1:2)*GetField().MaxElementByteLength();}
68
68
        // returns false if point is compressed and not valid (doesn't check if uncompressed)
69
 
        bool DecodePoint(Point &P, BufferedTransformation &bt, unsigned int len) const;
70
 
        bool DecodePoint(Point &P, const byte *encodedPoint, unsigned int len) const;
 
69
        bool DecodePoint(Point &P, BufferedTransformation &bt, size_t len) const;
 
70
        bool DecodePoint(Point &P, const byte *encodedPoint, size_t len) const;
71
71
        void EncodePoint(byte *encodedPoint, const Point &P, bool compressed) const;
72
72
        void EncodePoint(BufferedTransformation &bt, const Point &P, bool compressed) const;
73
73