aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-05 21:59:03 +0000
committerBodo Möller <bodo@openssl.org>2001-03-05 21:59:03 +0000
commitd8c79c7f72f520038ac774eb43ffc26b0f5d3bed (patch)
tree278435e75856e8258ff4b2598379f1126d3ba9ac
parent3a12ce013703356ebc9b8bdc1b60724119238216 (diff)
downloadopenssl-d8c79c7f72f520038ac774eb43ffc26b0f5d3bed.zip
openssl-d8c79c7f72f520038ac774eb43ffc26b0f5d3bed.tar.gz
openssl-d8c79c7f72f520038ac774eb43ffc26b0f5d3bed.tar.bz2
Change comments.
-rw-r--r--crypto/ec/ec_lcl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/ec/ec_lcl.h b/crypto/ec/ec_lcl.h
index c25a292..a205ab0 100644
--- a/crypto/ec/ec_lcl.h
+++ b/crypto/ec/ec_lcl.h
@@ -78,7 +78,7 @@ struct ec_method_st {
int (*add)(const EC_GROUP *, EC_POINT *r, EC_POINT *a, EC_POINT *b);
int (*dbl)(const EC_GROUP *, EC_POINT *r, EC_POINT *a);
- /* used by EC_POINT_add, EC_POINT_dbl: */
+ /* used by EC_POINT_point2oct, EC_POINT_oct2point: */
size_t (*point2oct)(const EC_GROUP *, EC_POINT *, unsigned char *buf,
size_t len, point_conversion_form_t form);
int (*oct2point)(const EC_GROUP *, EC_POINT *, unsigned char *buf, size_t len);
@@ -88,7 +88,7 @@ struct ec_method_st {
/* 'field_mult' and 'field_sqr' can be used by 'add' and 'dbl' so that
* the same implementations of point operations can be used with different
- * implementations of field operations: */
+ * optimized implementations of expensive field operations: */
int (*field_mult)(const EC_GROUP *, BIGNUM *r, BIGNUM *a, BIGNUM *b);
int (*field_sqr)(const EC_GROUP *, BIGNUM *r, BIGNUM *a);
} /* EC_METHOD */;