@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/web/lib_q_cb_kem.js
CHANGED
|
@@ -1214,7 +1214,7 @@ export function validate_input(data, min_size, max_size) {
|
|
|
1214
1214
|
function __wbg_get_imports() {
|
|
1215
1215
|
const import0 = {
|
|
1216
1216
|
__proto__: null,
|
|
1217
|
-
|
|
1217
|
+
__wbg_Error_ef53bc310eb298a0: function(arg0, arg1) {
|
|
1218
1218
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1219
1219
|
return ret;
|
|
1220
1220
|
},
|
|
@@ -1225,68 +1225,68 @@ function __wbg_get_imports() {
|
|
|
1225
1225
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1226
1226
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1227
1227
|
},
|
|
1228
|
-
|
|
1228
|
+
__wbg___wbindgen_debug_string_0accd80f45e5faa2: function(arg0, arg1) {
|
|
1229
1229
|
const ret = debugString(arg1);
|
|
1230
1230
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1231
1231
|
const len1 = WASM_VECTOR_LEN;
|
|
1232
1232
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1233
1233
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1234
1234
|
},
|
|
1235
|
-
|
|
1235
|
+
__wbg___wbindgen_is_string_c236cabd84a4d769: function(arg0) {
|
|
1236
1236
|
const ret = typeof(arg0) === 'string';
|
|
1237
1237
|
return ret;
|
|
1238
1238
|
},
|
|
1239
|
-
|
|
1239
|
+
__wbg___wbindgen_throw_1506f2235d1bdba0: function(arg0, arg1) {
|
|
1240
1240
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1241
1241
|
},
|
|
1242
1242
|
__wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
|
|
1243
1243
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
1244
1244
|
}, arguments); },
|
|
1245
|
-
|
|
1245
|
+
__wbg_get_index_ab123d64c89e3156: function(arg0, arg1) {
|
|
1246
1246
|
const ret = arg0[arg1 >>> 0];
|
|
1247
1247
|
return ret;
|
|
1248
1248
|
},
|
|
1249
|
-
|
|
1249
|
+
__wbg_length_4a591ecaa01354d9: function(arg0) {
|
|
1250
1250
|
const ret = arg0.length;
|
|
1251
1251
|
return ret;
|
|
1252
1252
|
},
|
|
1253
|
-
|
|
1254
|
-
const ret = new
|
|
1253
|
+
__wbg_new_622fc80556be2e26: function() {
|
|
1254
|
+
const ret = new Map();
|
|
1255
1255
|
return ret;
|
|
1256
1256
|
},
|
|
1257
|
-
|
|
1258
|
-
const ret = new
|
|
1257
|
+
__wbg_new_ce1ab61c1c2b300d: function() {
|
|
1258
|
+
const ret = new Object();
|
|
1259
1259
|
return ret;
|
|
1260
1260
|
},
|
|
1261
|
-
|
|
1261
|
+
__wbg_new_d90091b82fdf5b91: function() {
|
|
1262
1262
|
const ret = new Array();
|
|
1263
1263
|
return ret;
|
|
1264
1264
|
},
|
|
1265
|
-
|
|
1265
|
+
__wbg_new_from_slice_18fa1f71286d66b8: function(arg0, arg1) {
|
|
1266
1266
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1267
1267
|
return ret;
|
|
1268
1268
|
},
|
|
1269
|
-
|
|
1269
|
+
__wbg_new_with_length_36a4998e27b014c5: function(arg0) {
|
|
1270
1270
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1271
1271
|
return ret;
|
|
1272
1272
|
},
|
|
1273
|
-
|
|
1273
|
+
__wbg_prototypesetcall_3249fc62a0fafa30: function(arg0, arg1, arg2) {
|
|
1274
1274
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1275
1275
|
},
|
|
1276
|
-
|
|
1276
|
+
__wbg_set_29c99a8aac1c01e5: function(arg0, arg1, arg2) {
|
|
1277
1277
|
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1278
1278
|
},
|
|
1279
|
+
__wbg_set_52b1e1eb5bed906a: function(arg0, arg1, arg2) {
|
|
1280
|
+
const ret = arg0.set(arg1, arg2);
|
|
1281
|
+
return ret;
|
|
1282
|
+
},
|
|
1279
1283
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1280
1284
|
arg0[arg1] = arg2;
|
|
1281
1285
|
},
|
|
1282
|
-
|
|
1286
|
+
__wbg_set_dca99999bba88a9a: function(arg0, arg1, arg2) {
|
|
1283
1287
|
arg0[arg1 >>> 0] = arg2;
|
|
1284
1288
|
},
|
|
1285
|
-
|
|
1286
|
-
const ret = arg0.set(arg1, arg2);
|
|
1287
|
-
return ret;
|
|
1288
|
-
},
|
|
1289
|
-
__wbg_set_index_6216eb6926d2fbc6: function(arg0, arg1, arg2) {
|
|
1289
|
+
__wbg_set_index_73ced2e1b4a2a37e: function(arg0, arg1, arg2) {
|
|
1290
1290
|
arg0[arg1 >>> 0] = arg2;
|
|
1291
1291
|
},
|
|
1292
1292
|
__wbindgen_cast_0000000000000001: function(arg0) {
|
package/web/lib_q_cb_kem_bg.wasm
CHANGED
|
Binary file
|
package/web/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"Nexlab-One"
|
|
7
7
|
],
|
|
8
8
|
"description": "Classical McEliece KEM implementation for lib-Q post-quantum cryptography library",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.6",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
@@ -30,4 +30,4 @@
|
|
|
30
30
|
"classical-mceliece",
|
|
31
31
|
"nist"
|
|
32
32
|
]
|
|
33
|
-
}
|
|
33
|
+
}
|