summaryrefslogtreecommitdiffhomepage
path: root/libs/luci-lib-px5g/src/library/bignum.c
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-10-10 20:25:11 +0300
committerGitHub <noreply@github.com>2018-10-10 20:25:11 +0300
commit67fd6b6e5ea6b843a4427bed62a31e96f3ff0a1f (patch)
tree09689cc4f3b1194012f0e0830a49692cdd6fd1d8 /libs/luci-lib-px5g/src/library/bignum.c
parenta9948891a8d0262e88e43472c13fdb0d3ba9c72b (diff)
parent401382a459743db941738a645822b443ecfdc596 (diff)
Merge pull request #2197 from yangfl/master
treewide: Fix typos in comments
Diffstat (limited to 'libs/luci-lib-px5g/src/library/bignum.c')
-rw-r--r--libs/luci-lib-px5g/src/library/bignum.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/luci-lib-px5g/src/library/bignum.c b/libs/luci-lib-px5g/src/library/bignum.c
index 8b7c12ff00..d2a8ff42e1 100644
--- a/libs/luci-lib-px5g/src/library/bignum.c
+++ b/libs/luci-lib-px5g/src/library/bignum.c
@@ -720,7 +720,7 @@ cleanup:
}
/*
- * Helper for mpi substraction
+ * Helper for mpi subtraction
*/
static void mpi_sub_hlp( int n, t_int *s, t_int *d )
{
@@ -741,7 +741,7 @@ static void mpi_sub_hlp( int n, t_int *s, t_int *d )
}
/*
- * Unsigned substraction: X = |A| - |B| (HAC 14.9)
+ * Unsigned subtraction: X = |A| - |B| (HAC 14.9)
*/
int mpi_sub_abs( mpi *X, mpi *A, mpi *B )
{
@@ -809,7 +809,7 @@ cleanup:
}
/*
- * Signed substraction: X = A - B
+ * Signed subtraction: X = A - B
*/
int mpi_sub_mpi( mpi *X, mpi *A, mpi *B )
{
@@ -856,7 +856,7 @@ int mpi_add_int( mpi *X, mpi *A, int b )
}
/*
- * Signed substraction: X = A - b
+ * Signed subtraction: X = A - b
*/
int mpi_sub_int( mpi *X, mpi *A, int b )
{