You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by sa...@apache.org on 2019/12/11 14:45:45 UTC
[incubator-milagro-crypto-c] branch issue51 updated: use dscopy
instead of zeroing
This is an automated email from the ASF dual-hosted git repository.
sandreoli pushed a commit to branch issue51
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-crypto-c.git
The following commit(s) were added to refs/heads/issue51 by this push:
new 2dff9ac use dscopy instead of zeroing
2dff9ac is described below
commit 2dff9acb347e7ae6123f6acb9a5bb6095b5f2bb4
Author: samuele-andreoli <sa...@yahoo.it>
AuthorDate: Wed Dec 11 14:32:51 2019 +0000
use dscopy instead of zeroing
---
src/ff.c.in | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/ff.c.in b/src/ff.c.in
index e4a9901..ec48a57 100644
--- a/src/ff.c.in
+++ b/src/ff.c.in
@@ -1038,8 +1038,7 @@ void FF_WWW_crt(BIG_XXX *r, BIG_XXX *rp, BIG_XXX *rq, BIG_XXX *p, BIG_XXX *q, in
FF_WWW_mul(b, a, c, 2*n);
FF_WWW_dmod(a, b, pq, 2*n);
- FF_WWW_zero(r, 2*n);
- FF_WWW_copy(r, rp, n);
+ FF_WWW_dscopy(r, rp, n);
FF_WWW_add(r, r, a, 2*n);
FF_WWW_mod(r, pq, 2*n);
}