|
|
@ -25133,21 +25133,7 @@ run();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* vim: ts=4:sw=4:expandtab
|
|
|
|
/* vim: ts=4:sw=4:expandtab */
|
|
|
|
*
|
|
|
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* This program 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 General Public License for more details.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
var Internal = Internal || {};
|
|
|
|
var Internal = Internal || {};
|
|
|
|
|
|
|
|
|
|
|
|
(function() {
|
|
|
|
(function() {
|
|
|
@ -25173,7 +25159,7 @@ var Internal = Internal || {};
|
|
|
|
var priv = new Uint8Array(privKey);
|
|
|
|
var priv = new Uint8Array(privKey);
|
|
|
|
priv[0] &= 248;
|
|
|
|
priv[0] &= 248;
|
|
|
|
priv[31] &= 127;
|
|
|
|
priv[31] &= 127;
|
|
|
|
priv[31] |= 64
|
|
|
|
priv[31] |= 64;
|
|
|
|
|
|
|
|
|
|
|
|
// Where to store the result
|
|
|
|
// Where to store the result
|
|
|
|
var publicKey_ptr = Module._malloc(32);
|
|
|
|
var publicKey_ptr = Module._malloc(32);
|
|
|
|