@lib-q/cb-kem 0.0.2 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +301 -301
- package/integrity-manifest.json +2 -2
- package/nodejs/README.md +329 -322
- package/nodejs/lib_q_cb_kem.js +21 -21
- package/nodejs/lib_q_cb_kem_bg.wasm +0 -0
- package/nodejs/package.json +2 -2
- package/package.json +1 -1
- package/web/README.md +329 -322
- package/web/lib_q_cb_kem.js +21 -21
- package/web/lib_q_cb_kem_bg.wasm +0 -0
- package/web/package.json +2 -2
package/nodejs/lib_q_cb_kem.js
CHANGED
|
@@ -1247,7 +1247,7 @@ exports.validate_input = validate_input;
|
|
|
1247
1247
|
function __wbg_get_imports() {
|
|
1248
1248
|
const import0 = {
|
|
1249
1249
|
__proto__: null,
|
|
1250
|
-
|
|
1250
|
+
__wbg_Error_ef53bc310eb298a0: function(arg0, arg1) {
|
|
1251
1251
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1252
1252
|
return ret;
|
|
1253
1253
|
},
|
|
@@ -1258,68 +1258,68 @@ function __wbg_get_imports() {
|
|
|
1258
1258
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1259
1259
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1260
1260
|
},
|
|
1261
|
-
|
|
1261
|
+
__wbg___wbindgen_debug_string_0accd80f45e5faa2: function(arg0, arg1) {
|
|
1262
1262
|
const ret = debugString(arg1);
|
|
1263
1263
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1264
1264
|
const len1 = WASM_VECTOR_LEN;
|
|
1265
1265
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1266
1266
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1267
1267
|
},
|
|
1268
|
-
|
|
1268
|
+
__wbg___wbindgen_is_string_c236cabd84a4d769: function(arg0) {
|
|
1269
1269
|
const ret = typeof(arg0) === 'string';
|
|
1270
1270
|
return ret;
|
|
1271
1271
|
},
|
|
1272
|
-
|
|
1272
|
+
__wbg___wbindgen_throw_1506f2235d1bdba0: function(arg0, arg1) {
|
|
1273
1273
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1274
1274
|
},
|
|
1275
1275
|
__wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
|
|
1276
1276
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1277
1277
|
}, arguments); },
|
|
1278
|
-
|
|
1278
|
+
__wbg_get_index_ab123d64c89e3156: function(arg0, arg1) {
|
|
1279
1279
|
const ret = arg0[arg1 >>> 0];
|
|
1280
1280
|
return ret;
|
|
1281
1281
|
},
|
|
1282
|
-
|
|
1282
|
+
__wbg_length_4a591ecaa01354d9: function(arg0) {
|
|
1283
1283
|
const ret = arg0.length;
|
|
1284
1284
|
return ret;
|
|
1285
1285
|
},
|
|
1286
|
-
|
|
1287
|
-
const ret = new
|
|
1286
|
+
__wbg_new_622fc80556be2e26: function() {
|
|
1287
|
+
const ret = new Map();
|
|
1288
1288
|
return ret;
|
|
1289
1289
|
},
|
|
1290
|
-
|
|
1291
|
-
const ret = new
|
|
1290
|
+
__wbg_new_ce1ab61c1c2b300d: function() {
|
|
1291
|
+
const ret = new Object();
|
|
1292
1292
|
return ret;
|
|
1293
1293
|
},
|
|
1294
|
-
|
|
1294
|
+
__wbg_new_d90091b82fdf5b91: function() {
|
|
1295
1295
|
const ret = new Array();
|
|
1296
1296
|
return ret;
|
|
1297
1297
|
},
|
|
1298
|
-
|
|
1298
|
+
__wbg_new_from_slice_18fa1f71286d66b8: function(arg0, arg1) {
|
|
1299
1299
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1300
1300
|
return ret;
|
|
1301
1301
|
},
|
|
1302
|
-
|
|
1302
|
+
__wbg_new_with_length_36a4998e27b014c5: function(arg0) {
|
|
1303
1303
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1304
1304
|
return ret;
|
|
1305
1305
|
},
|
|
1306
|
-
|
|
1306
|
+
__wbg_prototypesetcall_3249fc62a0fafa30: function(arg0, arg1, arg2) {
|
|
1307
1307
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1308
1308
|
},
|
|
1309
|
-
|
|
1309
|
+
__wbg_set_29c99a8aac1c01e5: function(arg0, arg1, arg2) {
|
|
1310
1310
|
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1311
1311
|
},
|
|
1312
|
+
__wbg_set_52b1e1eb5bed906a: function(arg0, arg1, arg2) {
|
|
1313
|
+
const ret = arg0.set(arg1, arg2);
|
|
1314
|
+
return ret;
|
|
1315
|
+
},
|
|
1312
1316
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1313
1317
|
arg0[arg1] = arg2;
|
|
1314
1318
|
},
|
|
1315
|
-
|
|
1319
|
+
__wbg_set_dca99999bba88a9a: function(arg0, arg1, arg2) {
|
|
1316
1320
|
arg0[arg1 >>> 0] = arg2;
|
|
1317
1321
|
},
|
|
1318
|
-
|
|
1319
|
-
const ret = arg0.set(arg1, arg2);
|
|
1320
|
-
return ret;
|
|
1321
|
-
},
|
|
1322
|
-
__wbg_set_index_6216eb6926d2fbc6: function(arg0, arg1, arg2) {
|
|
1322
|
+
__wbg_set_index_73ced2e1b4a2a37e: function(arg0, arg1, arg2) {
|
|
1323
1323
|
arg0[arg1 >>> 0] = arg2;
|
|
1324
1324
|
},
|
|
1325
1325
|
__wbindgen_cast_0000000000000001: function(arg0) {
|
|
Binary file
|
package/nodejs/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"Nexlab-One"
|
|
6
6
|
],
|
|
7
7
|
"description": "Classical McEliece KEM implementation for lib-Q post-quantum cryptography library",
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.6",
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -26,4 +26,4 @@
|
|
|
26
26
|
"classical-mceliece",
|
|
27
27
|
"nist"
|
|
28
28
|
]
|
|
29
|
-
}
|
|
29
|
+
}
|