diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-20 09:07:35 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-20 09:07:35 (GMT) |
commit | 88b282766104841d47f9878536605bc08ae4c599 (patch) | |
tree | 57406e965f588883b917e212fb93e93ac84f72cc /libtommath/bn_s_mp_sqr.c | |
parent | 7a4fe54c26332c21cd95b01cc07bd74714d060ae (diff) | |
download | tcl-88b282766104841d47f9878536605bc08ae4c599.zip tcl-88b282766104841d47f9878536605bc08ae4c599.tar.gz tcl-88b282766104841d47f9878536605bc08ae4c599.tar.bz2 |
Further astyle formatting of libtommath. No functional changes.
Diffstat (limited to 'libtommath/bn_s_mp_sqr.c')
-rw-r--r-- | libtommath/bn_s_mp_sqr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libtommath/bn_s_mp_sqr.c b/libtommath/bn_s_mp_sqr.c index e07bf1c..aae06eb 100644 --- a/libtommath/bn_s_mp_sqr.c +++ b/libtommath/bn_s_mp_sqr.c @@ -38,10 +38,10 @@ int s_mp_sqr(const mp_int *a, mp_int *b) ((mp_word)a->dp[ix] * (mp_word)a->dp[ix]); /* store lower part in result */ - t.dp[ix+ix] = (mp_digit)(r & ((mp_word) MP_MASK)); + t.dp[ix+ix] = (mp_digit)(r & ((mp_word)MP_MASK)); /* get the carry */ - u = (mp_digit)(r >> ((mp_word) DIGIT_BIT)); + u = (mp_digit)(r >> ((mp_word)DIGIT_BIT)); /* left hand side of A[ix] * A[iy] */ tmpx = a->dp[ix]; |