summaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_curve.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-04-02 10:55:00 +1000
committerNicola Tuveri <nic.tuv@gmail.com>2019-04-11 12:05:38 +0300
commit37f03b9881a4ffa52b0059ae444be3c416cf2a5f (patch)
tree99b7b51d3b9ab1f7a769d52096c4f267d2512a19 /crypto/ec/ec_curve.c
parentac2b52c6ad0cd40482b1c5c1c4ec68eb16020ae8 (diff)
doc fixups
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8555)
Diffstat (limited to 'crypto/ec/ec_curve.c')
-rw-r--r--crypto/ec/ec_curve.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ec/ec_curve.c b/crypto/ec/ec_curve.c
index e7a3bd8488..6c7c9ddbc7 100644
--- a/crypto/ec/ec_curve.c
+++ b/crypto/ec/ec_curve.c
@@ -3241,8 +3241,8 @@ int ec_curve_nid_from_params(const EC_GROUP *group)
BN_CTX_start(ctx);
/*
- * The in built curves contains data fields (p, a, b, x, y, order) that are
- * all zero padded to be the same size. The size of the padding is
+ * The built-in curves contains data fields (p, a, b, x, y, order) that are
+ * all zero-padded to be the same size. The size of the padding is
* determined by either the number of bytes in the field modulus (p) or the
* EC group order, whichever is larger.
*/
@@ -3303,7 +3303,7 @@ int ec_curve_nid_from_params(const EC_GROUP *group)
&& (data->seed_len == 0 || seed_len == 0
|| ((size_t)data->seed_len == seed_len
&& OPENSSL_memcmp(params_seed, seed, seed_len) == 0))
- /* Check that the groups params match the inbuilt curve params */
+ /* Check that the groups params match the built-in curve params */
&& OPENSSL_memcmp(param_bytes, params, param_len * NUM_BN_FIELDS)
== 0) {
ret = curve.nid;