mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-06 02:39:59 +02:00
merge changes made while preparing to push ecc
This commit is contained in:
parent
5acaf988be
commit
d6ea18a72a
6 changed files with 39 additions and 43 deletions
|
@ -4,7 +4,7 @@ new sjcl.test.TestCase("Bignum modular reduction test", function (cb) {
|
|||
cb && cb();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var a, N, r;
|
||||
for (i=0; i < sjcl.test.vector.bn_mod.length; i++) {
|
||||
tv = sjcl.test.vector.bn_mod[i];
|
||||
|
@ -26,7 +26,7 @@ new sjcl.test.TestCase("Bignum modular multiplication test", function (cb) {
|
|||
cb && cb();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var a, b, N, r;
|
||||
for(var j=0;j<10;j++)for (i=0; i < sjcl.test.vector.bn_mulmod.length; i++) {
|
||||
tv = sjcl.test.vector.bn_mulmod[i];
|
||||
|
@ -49,7 +49,7 @@ new sjcl.test.TestCase("Bignum modular exponentiation test", function (cb) {
|
|||
cb && cb();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var i, tv, g, x, N, v;
|
||||
for (i=0; i < sjcl.test.vector.bn_powermod.length; i++) {
|
||||
tv = sjcl.test.vector.bn_powermod[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue