summaryrefslogtreecommitdiff
path: root/frontend/gamma/tests/tests/Clipperz/Crypto/ECC.B283.deferred.html
Side-by-side diff
Diffstat (limited to 'frontend/gamma/tests/tests/Clipperz/Crypto/ECC.B283.deferred.html') (more/less context) (ignore whitespace changes)
-rw-r--r--frontend/gamma/tests/tests/Clipperz/Crypto/ECC.B283.deferred.html22
1 files changed, 10 insertions, 12 deletions
diff --git a/frontend/gamma/tests/tests/Clipperz/Crypto/ECC.B283.deferred.html b/frontend/gamma/tests/tests/Clipperz/Crypto/ECC.B283.deferred.html
index 9ef9146..6e3f871 100644
--- a/frontend/gamma/tests/tests/Clipperz/Crypto/ECC.B283.deferred.html
+++ b/frontend/gamma/tests/tests/Clipperz/Crypto/ECC.B283.deferred.html
@@ -1,86 +1,84 @@
<!--
-Copyright 2008-2011 Clipperz Srl
+Copyright 2008-2013 Clipperz Srl
-This file is part of Clipperz Community Edition.
-Clipperz Community Edition is an online password manager.
+This file is part of Clipperz, the online password manager.
For further information about its features and functionalities please
refer to http://www.clipperz.com.
-* Clipperz Community Edition is free software: you can redistribute
- it and/or modify it under the terms of the GNU Affero General Public
- License as published by the Free Software Foundation, either version
- 3 of the License, or (at your option) any later version.
+* Clipperz is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
-* Clipperz Community Edition is distributed in the hope that it will
- be useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+* Clipperz is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public
- License along with Clipperz Community Edition. If not, see
- <http://www.gnu.org/licenses/>.
+ License along with Clipperz. If not, see http://www.gnu.org/licenses/.
-->
<html>
<head>
<!-- - ->
<script type="text/javascript" src="../../../../js/MochiKit/MochiKit.js"></script>
<!- - -->
<!-- -->
<script type="text/javascript" src="../../../../js/MochiKit/Base.js"></script>
<script type="text/javascript" src="../../../../js/MochiKit/Async.js"></script>
<script type="text/javascript" src="../../../../js/MochiKit/DOM.js"></script>
<script type="text/javascript" src="../../../../js/MochiKit/Logging.js"></script>
<script type="text/javascript" src="../../../../js/MochiKit/Iter.js"></script>
<!-- -->
<!-- - ->
<script type="text/javascript" src="../../../../js/MochiKit/Style.js"></script>
<script type="text/javascript" src="../../../../js/MochiKit/Signal.js"></script>
<script type="text/javascript" src="../../../../js/MochiKit/Color.js"></script>
<script type="text/javascript" src="../../../../js/MochiKit/Position.js"></script>
<script type="text/javascript" src="../../../../js/MochiKit/Visual.js"></script>
<!- - -->
<script type="text/javascript" src="../../../SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="../../../SimpleTest/test.css">
<!--<script type='text/javascript' src='../../../../js/Clipperz/Base.js'></script>-->
<!--<script type='text/javascript' src='../../../../js/Clipperz/ByteArray.js'></script>-->
<!--<script type='text/javascript' src='../../../../js/Clipperz/Crypto/Base.js'></script>-->
<script type='text/javascript' src='../../../../js/Clipperz/Crypto/ECC/BinaryField/Value.js'></script>
<script type='text/javascript' src='../../../../js/Clipperz/Crypto/ECC/BinaryField/Point.js'></script>
<script type='text/javascript' src='../../../../js/Clipperz/Crypto/ECC/BinaryField/FiniteField.js'></script>
<script type='text/javascript' src='../../../../js/Clipperz/Crypto/ECC/BinaryField/Curve.js'></script>
<script type='text/javascript' src='../../../../js/Clipperz/Crypto/ECC/StandardCurves.js'></script>
</head>
<body>
<pre id="test">
<script type="text/javascript">
try {
var deferredResult;
deferredResult = new MochiKit.Async.Deferred();
//deferredResult.addBoth(function(res) {MochiKit.Logging.logDebug("** 1: " + res); return res;});
//
// ECC.Curve.multiplication
//
var curve;
var f2m;
var f2m_improved;
var value;
var moduledValue;
var result;
var result_improved;
var expectedResul;
f2m = new Clipperz.Crypto.ECC.BinaryField.FiniteField({modulus:new Clipperz.Crypto.ECC.BinaryField.Value('08000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 000010a1', 16)})