diff options
Diffstat (limited to 'crypto/p224.h')
-rw-r--r-- | crypto/p224.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/p224.h b/crypto/p224.h index 0b2aca9..412ca99 100644 --- a/crypto/p224.h +++ b/crypto/p224.h @@ -36,6 +36,10 @@ struct CRYPTO_EXPORT Point { FieldElement x, y, z; }; +// kScalarBytes is the number of bytes needed to represent an element of the +// P224 field. +static const size_t kScalarBytes = 28; + // ScalarMult computes *out = in*scalar where scalar is a 28-byte, big-endian // number. void CRYPTO_EXPORT ScalarMult(const Point& in, const uint8* scalar, Point* out); |