提交 d8c79c7f 编写于 作者: B Bodo Möller

Change comments.

上级 3a12ce01
...@@ -78,7 +78,7 @@ struct ec_method_st { ...@@ -78,7 +78,7 @@ struct ec_method_st {
int (*add)(const EC_GROUP *, EC_POINT *r, EC_POINT *a, EC_POINT *b); 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); 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 (*point2oct)(const EC_GROUP *, EC_POINT *, unsigned char *buf,
size_t len, point_conversion_form_t form); size_t len, point_conversion_form_t form);
int (*oct2point)(const EC_GROUP *, EC_POINT *, unsigned char *buf, size_t len); int (*oct2point)(const EC_GROUP *, EC_POINT *, unsigned char *buf, size_t len);
...@@ -88,7 +88,7 @@ struct ec_method_st { ...@@ -88,7 +88,7 @@ struct ec_method_st {
/* 'field_mult' and 'field_sqr' can be used by 'add' and 'dbl' so that /* '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 * 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_mult)(const EC_GROUP *, BIGNUM *r, BIGNUM *a, BIGNUM *b);
int (*field_sqr)(const EC_GROUP *, BIGNUM *r, BIGNUM *a); int (*field_sqr)(const EC_GROUP *, BIGNUM *r, BIGNUM *a);
} /* EC_METHOD */; } /* EC_METHOD */;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册