From 2463d9a691d037d33fcc871b6df713574e72cbbf Mon Sep 17 00:00:00 2001 From: holmesworcester Date: Mon, 14 Sep 2026 22:46:37 -0700 Subject: [PATCH 1/9] fix: keep iOS message processing responsive with QSS --- 3rd-party/auth | 2 +- packages/backend/package.json | 7 +- packages/backend/platform/README.md | 80 + packages/backend/platform/sodium-loader.cjs | 7 + .../backend/platform/sodium-native.checks.cjs | 296 + packages/backend/platform/sodium-native.cjs | 179 + .../backend/platform/sodium-native.test.cjs | 14 + .../backend/platform/sodium-webpack.test.cjs | 48 + .../backend/platform/test-vectors/LICENSE | 202 + .../backend/platform/test-vectors/README.md | 8 + .../platform/test-vectors/ed25519.json | 3360 +++++++++ .../backend/platform/test-vectors/x25519.json | 6056 +++++++++++++++++ .../storage/channels/channel.store.spec.ts | 283 + .../nest/storage/channels/channel.store.ts | 113 +- .../messages/author-impersonation.spec.ts | 11 +- packages/backend/webpack.config.js | 4 + .../messages.missing.selectors.test.ts | 96 + .../src/sagas/messages/messages.selectors.ts | 6 +- 18 files changed, 10756 insertions(+), 16 deletions(-) create mode 100644 packages/backend/platform/README.md create mode 100644 packages/backend/platform/sodium-loader.cjs create mode 100644 packages/backend/platform/sodium-native.checks.cjs create mode 100644 packages/backend/platform/sodium-native.cjs create mode 100644 packages/backend/platform/sodium-native.test.cjs create mode 100644 packages/backend/platform/sodium-webpack.test.cjs create mode 100644 packages/backend/platform/test-vectors/LICENSE create mode 100644 packages/backend/platform/test-vectors/README.md create mode 100644 packages/backend/platform/test-vectors/ed25519.json create mode 100644 packages/backend/platform/test-vectors/x25519.json create mode 100644 packages/state-manager/src/sagas/messages/messages.missing.selectors.test.ts diff --git a/3rd-party/auth b/3rd-party/auth index 6f534c89bc..f8fb337a85 160000 --- a/3rd-party/auth +++ b/3rd-party/auth @@ -1 +1 @@ -Subproject commit 6f534c89bceb875e8c71997943e5e76e48ccbd88 +Subproject commit f8fb337a85ef277740ee24403743623ece59e33c diff --git a/packages/backend/package.json b/packages/backend/package.json index 1735102c0c..3919870323 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -28,9 +28,9 @@ "lint-ci": "npm run lint:no-fix", "lint-staged": "lint-staged --no-stash", "test-nest": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" DEBUG=ipfs:*,backend:* node_modules/jest/bin/jest.js --forceExit ./src/nest/**/*.spec.ts", - "pretest": "npm run applyPatches:gossipsub", + "pretest": "npm run applyPatches:gossipsub && npm run test:native-crypto", "test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" DEBUG=ipfs:*,backend:* jest --runInBand --verbose --testPathIgnorePatterns=\".src/(!?nodeTest*)|(.node_modules*)\" --forceExit", - "pretest-ci": "npm run applyPatches:gossipsub", + "pretest-ci": "npm run applyPatches:gossipsub && npm run test:native-crypto", "test-ci": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --max-old-space-size=4096\" jest --runInBand --colors --ci --silent --verbose --forceExit --testPathIgnorePatterns \"/node_modules/\" --testPathIgnorePatterns \"/dist/\" --testPathIgnorePatterns \"src/nest/.*\\.tor\\.spec\\.(t|j)s$\" --testPathIgnorePatterns \"src/nest/ipfs-file-manager/big-files\\.long\\.spec\\.ts$\"", "test-ci-tor": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest --runInBand --colors --ci --verbose --forceExit ./src/nest/**/*.tor.spec.ts", "test-ci-long-running": "cross-env DEBUG=backend:* NODE_OPTIONS=\"--experimental-vm-modules\" jest --colors --ci --verbose --forceExit ./src/nest/**/*.long.spec.ts", @@ -39,7 +39,8 @@ "test-replication-no-tor": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" ts-node -v && cross-env DEBUG='backend:dbSnap*,backend:localTest*' ts-node src/nodeTest/testReplicate.ts --nodesCount 1 --timeThreshold 200 --entriesCount 1000 --no-useTor", "test-replication-tor": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" cross-env DEBUG='backend:dbSnap*,backend:localTest*' ts-node src/nodeTest/testReplicate.ts --nodesCount 1 --timeThreshold 500 --entriesCount 1000 --useTor", "test-it": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" DEBUG=ipfs:*,backend:* node_modules/jest/bin/jest.js --runInBand --verbose --testPathIgnorePatterns=\".src/(!?nodeTest*)|(.node_modules*)\" --", - "rmDist": "rimraf lib/" + "rmDist": "rimraf lib/", + "test:native-crypto": "node --test platform/*.test.cjs" }, "repository": { "type": "git", diff --git a/packages/backend/platform/README.md b/packages/backend/platform/README.md new file mode 100644 index 0000000000..51edd4f85c --- /dev/null +++ b/packages/backend/platform/README.md @@ -0,0 +1,80 @@ +# Native crypto for the iOS backend + +Node Mobile 18.20.4 on iOS runs V8 without JIT and exposes no WebAssembly. +The normal libsodium wrapper therefore uses interpreted JavaScript for its +elliptic-curve operations. Quiet's iOS backend already includes native OpenSSL; +this adapter uses that implementation without adding an addon or changing the +app's native frameworks. + +The backend webpack rule wraps the resolved `libsodium-wrappers-sumo` module. +On `process.platform === 'ios'`, its `ready` promise completes after the adapter +has installed and passed its capability/interoperability checks. Other platforms +keep the original implementation. This targets the backend only; it does not +change React Native or WebView crypto. + +Six operations are accelerated: + +- Ed25519 seed keypair generation, detached signing and signature verification; +- X25519 public-key derivation; +- `crypto_box_easy` and `crypto_box_open_easy`: native X25519, then sodium's own + HSalsa20 and XSalsa20-Poly1305 primitives, exactly as in sodium's box construction. + +Keysets, signatures, ciphertexts and nonces retain their current formats. There +is no protocol version, key migration or QSS dependency. Every message signature +is still verified. This adapter does not cache keys or weaken LFA's keyset, +manifest, membership or authorization checks. + +## Compatibility boundaries + +Node imports Ed25519/X25519 raw keys through their standard RFC 8410 DER wrappers. +Sodium's 64-byte Ed25519 secret key also contains its public key; signing checks +that half against the derived public key. Inconsistent keys use the original +sodium operation, preserving its behavior instead of silently repairing the key. + +OpenSSL alone is insufficient as a drop-in Ed25519 verifier: it can accept some +small-order encodings rejected by sodium. The adapter delegates small-order or +noncanonical public keys/signature points and noncanonical signature scalars to +sodium. Ordinary encodings use OpenSSL's verification equation. Public-encoding +checks follow [libsodium 1.0.19's verifier](https://github.com/jedisct1/libsodium/blob/1.0.19/src/libsodium/crypto_sign/ed25519/ref10/open.c) +and [small-order checks](https://github.com/jedisct1/libsodium/blob/1.0.19/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c). +They do not operate on secret scalars. X25519's low-order/zero shared-secret +rejection is retained and covered by the differential corpus. + +The adapter activates only for the reviewed sodium core version **1.0.19** +(currently `libsodium-wrappers-sumo` 0.7.13). If the version or required native +capabilities differ, initialization keeps sodium intact and emits one warning. +A sodium upgrade must repeat the differential and physical-device checks before +extending that version condition. Runtime decrypt/verify failures propagate; +there is no success-on-error fallback. Exceptional Ed25519 inputs still undergo +sodium verification and retain sodium's rejection policy. + +No input buffers are mutated or retained. Temporary DER secret-key buffers and +shared secrets are cleared after use; returned byte arrays are independent. +The original sodium output encodings are retained, including their errors. For +example, this Node Mobile build lacks ICU support needed by sodium's base64/text +conversion; the adapter does not introduce a separate codec. LFA uses binary +outputs and its existing base58 codec. + +## Validation + +After the normal repository bootstrap, run: + +```sh +npm run test:native-crypto --prefix packages/backend +``` + +The command is included in backend `pretest` and `pretest-ci`. Tests cover: + +- byte-identical keys, signatures and box ciphertext, bidirectional decryption; +- altered messages, ciphertext, nonce, key and inconsistent secret/public halves; +- input offsets, mutation/reuse, unsupported lengths/types/formats; +- 151 Ed25519 and 518 X25519 Wycheproof cases against LFA's resolved sodium; +- small-order and noncanonical Ed25519 inputs, including identity-point forgery; +- platform selection, atomic capability/version fallback and repeated installation; +- a real webpack build using the production loader, proving activation before + consumers await `ready`, on iOS only. + +The shared checks can also execute inside the physical iPhone's embedded Node. +Vector provenance and checksums are in [test-vectors/README.md](test-vectors/README.md). +The diagnostic report lives in `scripts/connection-regression/reports/`; the +runtime change does not depend on that profiling harness. diff --git a/packages/backend/platform/sodium-loader.cjs b/packages/backend/platform/sodium-loader.cjs new file mode 100644 index 0000000000..0c47701c9c --- /dev/null +++ b/packages/backend/platform/sodium-loader.cjs @@ -0,0 +1,7 @@ +'use strict' +// Keep resolving the original dependency from its importing package. Wrapping +// that resolved module avoids requiring a second/hoisted sodium installation. +module.exports = function (source) { + const adapter = require.resolve('./sodium-native.cjs') + return source + '\nmodule.exports = require(' + JSON.stringify(adapter) + ').enable(module.exports);\n' +} diff --git a/packages/backend/platform/sodium-native.checks.cjs b/packages/backend/platform/sodium-native.checks.cjs new file mode 100644 index 0000000000..8ee1250931 --- /dev/null +++ b/packages/backend/platform/sodium-native.checks.cjs @@ -0,0 +1,296 @@ +'use strict' +const assert = require('node:assert/strict') +const fs = require('node:fs') +const path = require('node:path') +const {install, enable} = require('./sodium-native.cjs') +const hex = value => Buffer.from(value, 'hex') +const invoke = fn => { try { return {value: fn()} } catch { return {error: true} } } +const vector = name => JSON.parse(fs.readFileSync(path.join(__dirname, 'test-vectors', name + '.json'))) + +// Shared by Node's test runner and the physical-iPhone harness. +exports.register = function register(test, loadSodium) { +let sodium, original, native +test.before(async () => { + sodium = await loadSodium() + await sodium.ready + original = {...sodium} + native = {...sodium} + install(native) +}) + +test('differential reference remains original sodium, not another native adapter', () => { + const crypto = require('node:crypto') + const createPrivateKey = crypto.createPrivateKey + let nativeCalls = 0 + crypto.createPrivateKey = function (...args) { + nativeCalls++ + return createPrivateKey.apply(this, args) + } + try { + const seed = new Uint8Array(32).fill(4) + original.crypto_scalarmult_base(seed) + original.crypto_sign_seed_keypair(seed) + assert.equal(nativeCalls, 0, 'reference must not use the native adapter') + native.crypto_scalarmult_base(seed) + native.crypto_sign_seed_keypair(seed) + assert.equal(nativeCalls, 2, 'adapter must use native crypto') + } finally { crypto.createPrivateKey = createPrivateKey } +}) + +test('Ed25519 and X25519 outputs interoperate, including offsets, mutation, and reused buffers', () => { + for (let i = 0; i < 32; i++) { + const backing = new Uint8Array(40).fill(i) + const seed = backing.subarray(4, 36) + const before = Uint8Array.from(backing) + for (const format of [undefined, 'uint8array', 'hex', 'base64']) { + assert.deepEqual(invoke(() => native.crypto_sign_seed_keypair(seed, format)), invoke(() => original.crypto_sign_seed_keypair(seed, format))) + assert.deepEqual(invoke(() => native.crypto_scalarmult_base(seed, format)), invoke(() => original.crypto_scalarmult_base(seed, format))) + } + const pair = native.crypto_sign_seed_keypair(seed) + const msg = Buffer.from('message: ' + i + ' 🌲') + const sig = native.crypto_sign_detached(msg, pair.privateKey) + assert.deepEqual(sig, original.crypto_sign_detached(msg, pair.privateKey)) + assert.equal(original.crypto_sign_verify_detached(sig, msg, pair.publicKey), true) + assert.equal(native.crypto_sign_verify_detached(sig, msg, pair.publicKey), true) + msg[0] ^= 1 + assert.equal(native.crypto_sign_verify_detached(sig, msg, pair.publicKey), false) + msg[0] ^= 1; sig[0] ^= 1 + assert.equal(native.crypto_sign_verify_detached(sig, msg, pair.publicKey), false) + sig[0] ^= 1; pair.publicKey[0] ^= 1 + assert.equal(native.crypto_sign_verify_detached(sig, msg, pair.publicKey), false) + assert.deepEqual(backing, before) + seed[0] ^= 1 + assert.deepEqual(native.crypto_sign_seed_keypair(seed), original.crypto_sign_seed_keypair(seed)) + assert.notDeepEqual(native.crypto_sign_seed_keypair(seed).publicKey, pair.publicKey) + } +}) + +test('malformed Ed25519 secret/public halves preserve sodium behavior instead of being repaired', () => { + const keys = native.crypto_sign_seed_keypair(new Uint8Array(32).fill(3)) + const message = Buffer.from('must remain invalid') + keys.privateKey[50] ^= 1 + const signature = native.crypto_sign_detached(message, keys.privateKey) + assert.deepEqual(signature, original.crypto_sign_detached(message, keys.privateKey)) + assert.equal(native.crypto_sign_verify_detached(signature, message, keys.publicKey), false) + const expected = original.crypto_sign_seed_keypair(keys.privateKey.subarray(0, 32)) + assert.notDeepEqual(expected.privateKey, keys.privateKey) +}) + +test('box ciphertext is byte-identical, bidirectional, and rejects changed ciphertext/nonces/keys', () => { + for (const length of [0, 1, 32, 4096]) { + const sender = original.crypto_box_keypair(), receiver = original.crypto_box_keypair() + const nonce = original.randombytes_buf(24), message = original.randombytes_buf(length) + const c = native.crypto_box_easy(message, nonce, receiver.publicKey, sender.privateKey) + assert.deepEqual(c, original.crypto_box_easy(message, nonce, receiver.publicKey, sender.privateKey)) + assert.deepEqual(native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey), message) + assert.deepEqual(original.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey), message) + c[0] ^= 1; assert.throws(() => native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey)) + c[0] ^= 1; nonce[0] ^= 1; assert.throws(() => native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey)) + nonce[0] ^= 1; sender.publicKey[0] ^= 1; assert.throws(() => native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey)) + sender.publicKey[0] ^= 1; receiver.privateKey[16] ^= 1; assert.throws(() => native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey)) + } +}) + +test('all 151 Wycheproof Ed25519 cases retain sodium acceptance and rejection', () => { + let count = 0 + for (const group of vector('ed25519').testGroups) for (const item of group.tests) { + const args = [hex(item.sig), hex(item.msg), hex(group.publicKey.pk)] + const reference = invoke(() => original.crypto_sign_verify_detached(...args)) + assert.deepEqual(invoke(() => native.crypto_sign_verify_detached(...args)), reference, `tcId ${item.tcId}: ${item.comment}`) + if (item.result === 'invalid') assert.notEqual(reference.value, true, `invalid tcId ${item.tcId}`) + if (item.result === 'valid') assert.equal(reference.value, true, `valid tcId ${item.tcId}`) + count++ + } + assert.equal(count, 151) +}) + +test('all 518 Wycheproof X25519 cases retain sodium box output or rejection', () => { + let count = 0 + for (const group of vector('x25519').testGroups) for (const item of group.tests) { + const args = [Buffer.from('cross-platform'), new Uint8Array(24), hex(item.public), hex(item.private)] + assert.deepEqual(invoke(() => native.crypto_box_easy(...args)), invoke(() => original.crypto_box_easy(...args)), `tcId ${item.tcId}: ${item.comment}`) + count++ + } + assert.equal(count, 518) +}) + +test('small-order and noncanonical signature encodings always defer to sodium', () => { + const key = native.crypto_sign_seed_keypair(new Uint8Array(32).fill(9)) + const message = new Uint8Array() + const small = ['00'.repeat(32), '01' + '00'.repeat(31), + '26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05', + 'c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a', + ...['ec','ed','ee'].map(b => b + 'ff'.repeat(30) + '7f')] + for (const value of small) for (const signBit of [0, 128]) { + const point = hex(value); point[31] ^= signBit + const sig = native.crypto_sign_detached(message, key.privateKey) + sig.set(point, 0) + assert.deepEqual(invoke(() => native.crypto_sign_verify_detached(sig, message, key.publicKey)), invoke(() => original.crypto_sign_verify_detached(sig, message, key.publicKey))) + assert.deepEqual(invoke(() => native.crypto_sign_verify_detached(sig, message, point)), invoke(() => original.crypto_sign_verify_detached(sig, message, point))) + } + // A=identity, R=identity, S=0 can pass a permissive verifier for any message. + const identity = new Uint8Array(32); identity[0] = 1 + const sig = new Uint8Array(64); sig[0] = 1 + assert.equal(native.crypto_sign_verify_detached(sig, message, identity), false) + for (const scalar of [ + 'edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010', + 'eed3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010', + 'ff'.repeat(32), + ]) { + const malformed = native.crypto_sign_detached(message, key.privateKey) + malformed.set(hex(scalar), 32) + assert.equal(original.crypto_sign_verify_detached(malformed, message, key.publicKey), false) + assert.equal(native.crypto_sign_verify_detached(malformed, message, key.publicKey), false) + } +}) + +test('invalid sizes, types and formats fail without accepting malformed inputs', () => { + const pair = native.crypto_sign_seed_keypair(new Uint8Array(32)) + const scalar = new Uint8Array(32), nonce = new Uint8Array(24), message = new Uint8Array(8) + const pub = native.crypto_scalarmult_base(scalar) + for (const invalid of [undefined, null, {}, [], new Uint16Array(32), new Uint8Array(31), new Uint8Array(33)]) { + for (const api of [original, native]) { + assert.throws(() => api.crypto_sign_seed_keypair(invalid)) + assert.throws(() => api.crypto_scalarmult_base(invalid)) + assert.throws(() => api.crypto_box_easy(message, nonce, invalid, scalar)) + } + } + for (const api of [original, native]) { + assert.throws(() => api.crypto_sign_detached(message, scalar)) + assert.throws(() => api.crypto_sign_verify_detached(new Uint8Array(63), message, pair.publicKey)) + assert.throws(() => api.crypto_box_open_easy(new Uint8Array(15), nonce, pub, scalar)) + assert.throws(() => api.crypto_box_easy(message, new Uint8Array(23), pub, scalar)) + assert.throws(() => api.crypto_sign_seed_keypair(scalar, 'unsupported')) + } +}) + +test('iOS activates after ready, other platforms preserve sodium, and unsupported capability falls back atomically', async () => { + for (const platform of ['linux', 'darwin', 'android', 'win32']) { + const copy = {...original} + const ready = copy.ready, fn = copy.crypto_sign_verify_detached + assert.equal(enable(copy, {platform}), copy) + assert.equal(copy.ready, ready); assert.equal(copy.crypto_sign_verify_detached, fn) + } + const copy = {...original}, fn = copy.crypto_sign_verify_detached + enable(copy, {platform: 'ios'}) + await copy.ready + assert.notEqual(copy.crypto_sign_verify_detached, fn) + const installedFunction = copy.crypto_sign_verify_detached + install(copy) + assert.equal(copy.crypto_sign_verify_detached, installedFunction) + for (const unsupported of [{...original, crypto_core_hsalsa20: undefined}, {...original, sodium_version_string: () => 'future-version'}]) { + const functions = {...unsupported}; const warnings = [] + enable(unsupported, {platform: 'ios', warn: warning => warnings.push(warning)}) + await unsupported.ready + assert.equal(warnings.length, 1) + for (const name of Object.keys(functions)) if (name !== 'ready') assert.equal(unsupported[name], functions[name]) + const keys = unsupported.crypto_sign_seed_keypair(new Uint8Array(32)) + const sig = unsupported.crypto_sign_detached('fallback', keys.privateKey) + assert.equal(unsupported.crypto_sign_verify_detached(sig, 'fallback', keys.publicKey), true) + } +}) + +test('unsupported export descriptors and Proxy traps never partially install native crypto', async () => { + const names = [ + 'crypto_sign_seed_keypair', 'crypto_scalarmult_base', 'crypto_sign_detached', + 'crypto_sign_verify_detached', 'crypto_box_easy', 'crypto_box_open_easy', + ] + for (const name of names) { + for (const kind of ['readonly', 'accessor']) { + const copy = {...original} + let setterCalls = 0 + Object.defineProperty(copy, name, kind === 'readonly' + ? {value: original[name], writable: false, configurable: false} + : {get: () => original[name], set: () => { setterCalls++; throw new Error('assignment rejected') }}) + const warnings = [] + enable(copy, {platform: 'ios', warn: warning => warnings.push(warning)}) + await copy.ready + assert.equal(warnings.length, 1) + assert.equal(setterCalls, 0) + for (const api of names) assert.equal(copy[api], original[api], `${kind} ${name} changed ${api}`) + } + } + const target = {...original} + let cryptoAssignments = 0 + const proxy = new Proxy(target, { + set(object, name, value) { + if (names.includes(name)) { + cryptoAssignments++ + if (name === names[1]) throw new Error('later assignment rejected') + } + return Reflect.set(object, name, value) + }, + }) + const warnings = [] + enable(proxy, {platform: 'ios', warn: warning => warnings.push(warning)}) + await proxy.ready + assert.equal(warnings.length, 1) + assert.equal(cryptoAssignments, 0) + for (const name of names) assert.equal(target[name], original[name]) + + // A sealed ordinary module remains safe: all six existing exports are writable. + const sealed = Object.seal({...original}) + enable(sealed, {platform: 'ios', warn: () => assert.fail('sealed writable exports should work')}) + await sealed.ready + for (const name of names) assert.notEqual(sealed[name], original[name]) +}) + +test('unsupported module namespaces and ready properties are left untouched before activation', async () => { + const namespace = await import('data:text/javascript,export const ready=Promise.resolve();export function crypto_sign_verify_detached(){return false}') + const throwingProxy = new Proxy({...original}, { + get() { assert.fail('activation must not invoke a Proxy getter') }, + set() { assert.fail('activation must not invoke a Proxy setter') }, + }) + const readonly = {...original} + Object.defineProperty(readonly, 'ready', {value: original.ready, writable: false}) + const accessor = {...original} + Object.defineProperty(accessor, 'ready', {get() { assert.fail('activation must not invoke ready getter') }}) + const thenable = {...original, ready: {then() { assert.fail('activation must not invoke a custom thenable') }}} + for (const unsupported of [namespace, throwingProxy, readonly, accessor, thenable]) { + const warnings = [] + assert.equal(enable(unsupported, {platform: 'ios', warn: warning => warnings.push(warning)}), unsupported) + assert.equal(warnings.length, 1) + } + await new Promise(resolve => setImmediate(resolve)) + for (const copy of [readonly, accessor, thenable]) { + for (const name of Object.keys(original)) { + if (typeof original[name] === 'function') assert.equal(copy[name], original[name]) + } + } + assert.equal(namespace.crypto_sign_verify_detached(), false) + assert.throws(() => install(namespace), /unsupported sodium export object/) +}) + +test('custom Promise species cannot run activation side effects', async () => { + const copy = {...original} + const warnings = [] + let speciesCalls = 0 + class ChangingPromise extends Promise { + static get [Symbol.species]() { + speciesCalls++ + Object.defineProperty(copy, 'ready', {value: copy.ready, writable: false}) + return Promise + } + } + const ready = new ChangingPromise(resolve => resolve()) + copy.ready = ready + assert.equal(enable(copy, {platform: 'ios', warn: warning => warnings.push(warning)}), copy) + assert.equal(speciesCalls, 0) + assert.equal(warnings.length, 1) + assert.equal(copy.ready, ready) + await new Promise(resolve => setImmediate(resolve)) + for (const name of Object.keys(original)) { + if (typeof original[name] === 'function') assert.equal(copy[name], original[name]) + } + const ownConstructor = {...original, ready: Promise.resolve()} + Object.defineProperty(ownConstructor.ready, 'constructor', {get() { assert.fail('activation must not read a custom Promise constructor') }}) + const ownWarnings = [] + assert.equal(enable(ownConstructor, {platform: 'ios', warn: warning => ownWarnings.push(warning)}), ownConstructor) + assert.equal(ownWarnings.length, 1) + await new Promise(resolve => setImmediate(resolve)) + for (const name of Object.keys(original)) { + if (typeof original[name] === 'function') assert.equal(ownConstructor[name], original[name]) + } +}) + +} diff --git a/packages/backend/platform/sodium-native.cjs b/packages/backend/platform/sodium-native.cjs new file mode 100644 index 0000000000..4c59b7c9b1 --- /dev/null +++ b/packages/backend/platform/sodium-native.cjs @@ -0,0 +1,179 @@ +'use strict' + +// iOS Node Mobile cannot JIT libsodium's JavaScript fallback. Keep sodium's +// wire formats and symmetric primitives; move the elliptic-curve operations to +// the OpenSSL implementation already shipped in Node. No new native addon. +const crypto = require('node:crypto') +const { Buffer } = require('node:buffer') +const { types } = require('node:util') +const ED_PRIVATE = Buffer.from('302e020100300506032b657004220420', 'hex') +const ED_PUBLIC = Buffer.from('302a300506032b6570032100', 'hex') +const X_PRIVATE = Buffer.from('302e020100300506032b656e04220420', 'hex') +const X_PUBLIC = Buffer.from('302a300506032b656e032100', 'hex') +const ZERO16 = new Uint8Array(16) +const SIGMA = Buffer.from('expand 32-byte k') +const PRIME = Buffer.from('edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f', 'hex') +const ORDER = Buffer.from('edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010', 'hex') +// The small-order encodings checked by libsodium's ge25519_has_small_order. +// The sign bit is ignored, as in libsodium. Noncanonical cases use sodium below. +const SMALL_ORDER = new Set([ + '00'.repeat(32), '01' + '00'.repeat(31), + '26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05', + 'c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a', + 'ec' + 'ff'.repeat(30) + '7f', +]) + +function bytes(value, size, name) { + const result = typeof value === 'string' ? Buffer.from(value, 'utf8') : value + if (!(result instanceof Uint8Array)) throw new TypeError(`${name} must be a Uint8Array or string`) + if (size !== undefined && result.length !== size) throw new TypeError(`invalid ${name} length`) + return result +} +function output(value, format, sodium) { + if (format === undefined || format === 'uint8array') return Uint8Array.from(value) + if (format === 'hex') return sodium.to_hex(value) + if (format === 'base64') return sodium.to_base64(value) + if (format === 'text') return sodium.to_string(value) + throw new Error('unsupported output format') +} +function privateKey(prefix, secret) { + const der = Buffer.concat([prefix, secret]) + try { return crypto.createPrivateKey({key: der, format: 'der', type: 'pkcs8'}) } + finally { der.fill(0) } +} +function publicKey(prefix, key) { + return crypto.createPublicKey({key: Buffer.concat([prefix, key]), format: 'der', type: 'spki'}) +} +function publicBytes(key) { return crypto.createPublicKey(key).export({format: 'der', type: 'spki'}).subarray(-32) } +function lessThanLE(value, bound) { + // Only public signature/key encodings reach this comparison. + for (let i = 31; i >= 0; i--) if (value[i] !== bound[i]) return value[i] < bound[i] + return false +} +function ordinaryPoint(value) { + const y = Buffer.from(value) + y[31] &= 0x7f + return lessThanLE(y, PRIME) && !SMALL_ORDER.has(y.toString('hex')) +} + +const installed = new WeakMap() +function supportedReceiver(sodium) { + return sodium !== null && typeof sodium === 'object' && + !types.isProxy(sodium) && !types.isModuleNamespaceObject(sodium) +} +function install(sodium) { + if (installed.has(sodium)) return installed.get(sodium) + // Proxy traps and module namespaces do not have ordinary assignment semantics. + if (!supportedReceiver(sodium)) throw new Error('unsupported sodium export object') + // Verification policy is reviewed against this sodium implementation. A new + // version must pass differential/security review before enabling its adapter. + if (sodium.sodium_version_string() !== '1.0.19') throw new Error('unreviewed sodium version') + const original = Object.fromEntries(Object.keys(sodium).filter(k => typeof sodium[k] === 'function').map(k => [k, sodium[k]])) + const rawSignPair = seed => { + const pk = publicBytes(privateKey(ED_PRIVATE, seed)) + return {publicKey: pk, privateKey: Buffer.concat([seed, pk]), keyType: 'ed25519'} + } + const sharedKey = (pk, sk) => { + const shared = crypto.diffieHellman({privateKey: privateKey(X_PRIVATE, bytes(sk, 32, 'privateKey')), publicKey: publicKey(X_PUBLIC, bytes(pk, 32, 'publicKey'))}) + try { return original.crypto_core_hsalsa20(ZERO16, shared, SIGMA) } + finally { shared.fill(0) } + } + const overrides = { + crypto_sign_seed_keypair(seed, format) { + const pair = rawSignPair(bytes(seed, 32, 'seed')) + try { return {publicKey: output(pair.publicKey, format, sodium), privateKey: output(pair.privateKey, format, sodium), keyType: pair.keyType} } + finally { pair.privateKey.fill(0) } + }, + crypto_scalarmult_base(secret, format) { + return output(publicBytes(privateKey(X_PRIVATE, bytes(secret, 32, 'scalar'))), format, sodium) + }, + crypto_sign_detached(message, secret, format) { + const sk = bytes(secret, 64, 'privateKey') + const key = privateKey(ED_PRIVATE, sk.subarray(0, 32)) + // Sodium uses the public half of a 64-byte secret key while Node derives it. + // Preserve sodium semantics for malformed keys instead of silently repairing. + if (!crypto.timingSafeEqual(publicBytes(key), sk.subarray(32))) return original.crypto_sign_detached(message, secret, format) + return output(crypto.sign(null, bytes(message, undefined, 'message'), key), format, sodium) + }, + crypto_sign_verify_detached(signature, message, key) { + const sig = bytes(signature, 64, 'signature') + const pk = bytes(key, 32, 'publicKey') + const msg = bytes(message, undefined, 'message') + // OpenSSL accepts some small-order Ed25519 inputs rejected by sodium. + // Let sodium decide all exceptional encodings, retaining the exact policy. + if (!ordinaryPoint(pk) || !ordinaryPoint(sig.subarray(0, 32)) || !lessThanLE(sig.subarray(32), ORDER)) { + return original.crypto_sign_verify_detached(signature, message, key) + } + return crypto.verify(null, msg, publicKey(ED_PUBLIC, pk), sig) + }, + crypto_box_easy(message, nonce, pk, sk, format) { + const shared = sharedKey(pk, sk) + try { return original.crypto_secretbox_easy(message, nonce, shared, format) } + finally { shared.fill(0) } + }, + crypto_box_open_easy(cipher, nonce, pk, sk, format) { + const shared = sharedKey(pk, sk) + try { return original.crypto_secretbox_open_easy(cipher, nonce, shared, format) } + finally { shared.fill(0) } + }, + } + // Probe the actual runtime before installing anything. Unsupported runtimes + // keep the original sodium implementation atomically, never a partial adapter. + const seed = Buffer.alloc(32, 7) + const pair = overrides.crypto_sign_seed_keypair(seed) + const sodiumPair = original.crypto_sign_seed_keypair(seed) + if (!crypto.timingSafeEqual(pair.publicKey, sodiumPair.publicKey) || !crypto.timingSafeEqual(pair.privateKey, sodiumPair.privateKey)) throw new Error('Ed25519 native self-test failed') + const xp = overrides.crypto_scalarmult_base(seed) + if (!crypto.timingSafeEqual(xp, original.crypto_scalarmult_base(seed))) throw new Error('X25519 native self-test failed') + const message = Buffer.from('Quiet native crypto self-test') + const sig = overrides.crypto_sign_detached(message, pair.privateKey) + if (!original.crypto_sign_verify_detached(sig, message, pair.publicKey) || !overrides.crypto_sign_verify_detached(original.crypto_sign_detached(message, pair.privateKey), message, pair.publicKey)) throw new Error('native signature self-test failed') + const altered = Buffer.from(message); altered[0] ^= 1 + if (overrides.crypto_sign_verify_detached(sig, altered, pair.publicKey)) throw new Error('native signature tamper self-test failed') + const nonce = new Uint8Array(24) + const cipher = overrides.crypto_box_easy(message, nonce, xp, seed) + if (!crypto.timingSafeEqual(cipher, original.crypto_box_easy(message, nonce, xp, seed)) || !crypto.timingSafeEqual(overrides.crypto_box_open_easy(cipher, nonce, xp, seed), message)) throw new Error('native box self-test failed') + pair.privateKey.fill(0); sodiumPair.privateKey.fill(0); seed.fill(0) + // On a non-Proxy object, existing writable own data properties cannot invoke + // setters or reject assignment. Check every export immediately before mutation; + // there are no callbacks or awaits between this preflight and installation. + for (const name of Object.keys(overrides)) { + const descriptor = Object.getOwnPropertyDescriptor(sodium, name) + if (!descriptor || descriptor.writable !== true || typeof descriptor.value !== 'function') { + throw new Error(`unsupported sodium export: ${name}`) + } + } + Object.assign(sodium, overrides) + const result = Object.freeze({enabled: true, backend: 'node-openssl', functions: Object.keys(overrides)}) + installed.set(sodium, result) + return result +} + +function enable(sodium, {platform = process.platform, warn = console.warn} = {}) { + if (platform !== 'ios') return sodium + const fallback = () => warn('Quiet: native iOS crypto unavailable; using libsodium fallback') + // Reject unsupported receivers before touching ready: its get/set could throw, + // or scheduling installation before a rejected ready assignment could install + // asynchronously even after reporting fallback. + const ready = supportedReceiver(sodium) && Object.getOwnPropertyDescriptor(sodium, 'ready') + if (!ready || ready.writable !== true || !types.isPromise(ready.value) || + Object.getPrototypeOf(ready.value) !== Promise.prototype || Object.hasOwn(ready.value, 'constructor')) { + // The pinned wrapper uses an ordinary Promise. Custom constructors/species + // can run callbacks during then(), so retain sodium for those receivers. + fallback() + return sodium + } + let activated = false + try { + const nextReady = Promise.prototype.then.call(ready.value, () => { + // Only completed publication of the readiness promise arms installation. + if (!activated) return + try { install(sodium) } + catch { fallback() } + }) + sodium.ready = nextReady + activated = true + } catch { fallback() } + return sodium +} +module.exports = {enable, install} diff --git a/packages/backend/platform/sodium-native.test.cjs b/packages/backend/platform/sodium-native.test.cjs new file mode 100644 index 0000000000..581a2e8f17 --- /dev/null +++ b/packages/backend/platform/sodium-native.test.cjs @@ -0,0 +1,14 @@ +'use strict' +const test = require('node:test') +const path = require('node:path') +const {createRequire} = require('node:module') +require('./sodium-native.checks.cjs').register(test, async () => { + if (process.env.QUIET_NATIVE_TEST_BUNDLE) { + const {webpack} = require(path.resolve(process.env.QUIET_NATIVE_TEST_BUNDLE)) + await webpack('../../3rd-party/auth/packages/crypto/dist/index.js') + return webpack('../../3rd-party/auth/node_modules/.pnpm/libsodium-wrappers-sumo@0.7.13/node_modules/libsodium-wrappers-sumo/dist/modules-sumo/libsodium-wrappers.js') + } else { + const fromLfa = createRequire(path.resolve(__dirname, '../../..', '3rd-party/auth/packages/crypto/package.json')) + return fromLfa('libsodium-wrappers-sumo') + } +}) diff --git a/packages/backend/platform/sodium-webpack.test.cjs b/packages/backend/platform/sodium-webpack.test.cjs new file mode 100644 index 0000000000..7fd9f41b6e --- /dev/null +++ b/packages/backend/platform/sodium-webpack.test.cjs @@ -0,0 +1,48 @@ +'use strict' +const test = require('node:test') +const assert = require('node:assert/strict') +const fs = require('node:fs') +const os = require('node:os') +const path = require('node:path') +const {createRequire} = require('node:module') +const {spawnSync} = require('node:child_process') + +test('production webpack rule initializes native sodium before consumers await ready, only on iOS', async () => { + const webpack = require('webpack') + const factory = (await import('../webpack.config.js')).default + const rule = factory({mode: 'development'}).module.rules.find(rule => String(rule.loader).endsWith('sodium-loader.cjs')) + assert.ok(rule, 'production build must include the sodium loader') + const requireLfa = createRequire(path.resolve(__dirname, '../../..', '3rd-party/auth/packages/crypto/package.json')) + const sodiumPath = process.env.QUIET_NATIVE_TEST_SODIUM || requireLfa.resolve('libsodium-wrappers-sumo') + const directory = fs.mkdtempSync(path.join(os.tmpdir(), 'quiet-sodium-webpack-')) + try { + const entry = path.join(directory, 'entry.cjs') + fs.writeFileSync(entry, `module.exports = require(${JSON.stringify(sodiumPath)});`) + const config = {mode: 'development', target: 'node', entry, output: {path: directory, filename: 'bundle.cjs', library: {type: 'commonjs2'}}, module: {rules: [rule]}} + const stats = await new Promise((resolve, reject) => webpack(config, (error, stats) => error ? reject(error) : resolve(stats))) + assert.equal(stats.hasErrors(), false, stats.toString({all: false, errors: true})) + const bundle = path.join(directory, 'bundle.cjs') + const probe = ` + const assert = require('node:assert/strict'); + const crypto = require('node:crypto'); + const platform = process.argv[1]; + Object.defineProperty(process, 'platform', {value: platform}); + let calls = 0; const original = crypto.createPrivateKey; + crypto.createPrivateKey = function(...args) { calls++; return original.apply(this,args) }; + const sodium = require(${JSON.stringify(bundle)}); + sodium.ready.then(() => { + calls = 0; + const keys = sodium.crypto_sign_seed_keypair(new Uint8Array(32)); + const sig = sodium.crypto_sign_detached('bundled', keys.privateKey); + assert.equal(sodium.crypto_sign_verify_detached(sig, 'bundled', keys.publicKey), true); + assert.equal(calls > 0, platform === 'ios'); + console.log(JSON.stringify({platform,native: calls > 0})); + }).catch(error => { console.error(error); process.exitCode = 1 }); + ` + for (const platform of ['ios', 'android', 'darwin', 'linux', 'win32']) { + const result = spawnSync(process.execPath, ['-e', probe, platform], {encoding: 'utf8'}) + assert.equal(result.status, 0, result.stderr) + assert.deepEqual(JSON.parse(result.stdout), {platform, native: platform === 'ios'}) + } + } finally { fs.rmSync(directory, {recursive: true, force: true}) } +}) diff --git a/packages/backend/platform/test-vectors/LICENSE b/packages/backend/platform/test-vectors/LICENSE new file mode 100644 index 0000000000..7a4a3ea242 --- /dev/null +++ b/packages/backend/platform/test-vectors/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/packages/backend/platform/test-vectors/README.md b/packages/backend/platform/test-vectors/README.md new file mode 100644 index 0000000000..1eaa1a4488 --- /dev/null +++ b/packages/backend/platform/test-vectors/README.md @@ -0,0 +1,8 @@ +# Wycheproof interoperability vectors + +Copied without changes from [C2SP/Wycheproof](https://github.com/C2SP/wycheproof/tree/3fa63dd0344abb611f1fb1d77e119938603ea230/testvectors_v1), commit `3fa63dd0344abb611f1fb1d77e119938603ea230`. Distributed under Apache-2.0; see LICENSE. + +- ed25519.json: `752d2ea7d7c6cf4736381b6cbacb61f8182b126ab7cd9b058f00c50084975536` +- x25519.json: `35c3f5231cf25cc640b524d403461deee9e49441d5d915a3a25b2c8ff5adbe7d` + +Tests compare the adapter against the exact libsodium version resolved by LFA. Wycheproof's valid/invalid classifications are also checked where libsodium has a strict classification; acceptable curve encodings preserve libsodium's policy. These vectors are public test keys, never application data. diff --git a/packages/backend/platform/test-vectors/ed25519.json b/packages/backend/platform/test-vectors/ed25519.json new file mode 100644 index 0000000000..42d44cd7ec --- /dev/null +++ b/packages/backend/platform/test-vectors/ed25519.json @@ -0,0 +1,3360 @@ +{ + "algorithm": "EDDSA", + "schema": "eddsa_verify_schema_v1.json", + "numberOfTests": 151, + "header": [ + "Test vectors of type EddsaVerify are intended for testing" + ], + "notes": { + "CompressedSignature": { + "bugType": "CAN_OF_WORMS", + "description": "The test vector contains a signature where r and s overlap or where 0 bytes were cut from the signature. This signature was specifically generated.", + "effect": "The effect of the bug is unclear without further analysis. It could be rather benign and just allow signature malleability in some cases or it could hide a more severe flaw." + }, + "InvalidEncoding": { + "bugType": "CAN_OF_WORMS", + "description": "The test vector contains a signature with an invalid encoding of the values. The vector checks that invalid encodings are not accepted. For the vectors that modify the encoding of R, S has been recomputed so that the hash matches the modified R and the R recovered from S and the hash equals the original R. Such vectors are accepted only by verifiers that decode R leniently or that compare R to the recovered R incompletely.", + "effect": "Accepting such signatures means the encoding of a signature is not unique. A holder of the private key can generate multiple distinct signatures for the same message, and different verifiers can disagree about which signatures are valid." + }, + "InvalidKtv": { + "bugType": "UNKNOWN", + "description": "The test vector contains a known invalid signature." + }, + "InvalidSignature": { + "bugType": "AUTH_BYPASS", + "description": "The test vector contains a signature with edge case values such as 0 or the order of the group.", + "effect": "The effect of accepting such signatures probably indicates that signatures can be forged without even knowing the message itself." + }, + "Ktv": { + "bugType": "BASIC", + "description": "The test vector contains a known valid signature." + }, + "SignatureMalleability": { + "bugType": "SIGNATURE_MALLEABILITY", + "description": "EdDSA signatures are non-malleable, if implemented correctly. If an implementation fails to check the range of S then it may be possible to modify a signature in such a way that it still verifies. See RFC 8032, Section 5.1.7 and Section 8.4." + }, + "SignatureWithGarbage": { + "bugType": "SIGNATURE_MALLEABILITY", + "description": "The test vector contains a signature with additional content. EdDSA signature are expected to be non-malleable. Signatures of the wrong length should be rejected. See RFC 8032, Section 5.1.7 and Section 8.4." + }, + "TinkOverflow": { + "bugType": "KNOWN_BUG", + "description": "The test vector contains a signature that caused an arithmetic overflow in tink." + }, + "TruncatedSignature": { + "bugType": "AUTH_BYPASS", + "description": "The test vector contains a signature that was truncated.", + "effect": "Accepting such signatures likely means that signatures can be forged." + }, + "Valid": { + "bugType": "BASIC", + "description": "The test vector is an ordinary valid signature." + } + }, + "testGroups": [ + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" + }, + "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" + }, + "tests": [ + { + "tcId": 1, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "", + "sig": "d4fbdb52bfa726b44d1786a8c0d171c3e62ca83c9e5bbe63de0bb2483f8fd6cc1429ab72cafc41ab56af02ff8fcc43b99bfe4c7ae940f60f38ebaa9d311c4007", + "result": "valid" + }, + { + "tcId": 2, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "78", + "sig": "d80737358ede548acb173ef7e0399f83392fe8125b2ce877de7975d8b726ef5b1e76632280ee38afad12125ea44b961bf92f1178c9fa819d020869975bcbe109", + "result": "valid" + }, + { + "tcId": 3, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d", + "result": "valid" + }, + { + "tcId": 4, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "48656c6c6f", + "sig": "1c1ad976cbaae3b31dee07971cf92c928ce2091a85f5899f5e11ecec90fc9f8e93df18c5037ec9b29c07195ad284e63d548cd0a6fe358cc775bd6c1608d2c905", + "result": "valid" + }, + { + "tcId": 5, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bf0cf5b3a289976458a1be6277a5055545253b45b07dcc1abd96c8b989c00f301", + "result": "valid" + }, + { + "tcId": 6, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "000000000000000000000000", + "sig": "d46543bfb892f84ec124dcdfc847034c19363bf3fc2fa89b1267833a14856e52e60736918783f950b6f1dd8d40dc343247cd43ce054c2d68ef974f7ed0f3c60f", + "result": "valid" + }, + { + "tcId": 7, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161", + "sig": "879350045543bc14ed2c08939b68c30d22251d83e018cacbaf0c9d7a48db577e80bdf76ce99e5926762bc13b7b3483260a5ef63d07e34b58eb9c14621ac92f00", + "result": "valid" + }, + { + "tcId": 8, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f60", + "sig": "7bdc3f9919a05f1d5db4a3ada896094f6871c1f37afc75db82ec3147d84d6f237b7e5ecc26b59cfea0c7eaf1052dc427b0f724615be9c3d3e01356c65b9b5109", + "result": "valid" + }, + { + "tcId": 9, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "ffffffffffffffffffffffffffffffff", + "sig": "5dbd7360e55aa38e855d6ad48c34bd35b7871628508906861a7c4776765ed7d1e13d910faabd689ec8618b78295c8ab8f0e19c8b4b43eb8685778499e943ae04", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" + }, + "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" + }, + "tests": [ + { + "tcId": 10, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "result": "invalid" + }, + { + "tcId": 11, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "00000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000", + "result": "invalid" + }, + { + "tcId": 12, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "0000000000000000000000000000000000000000000000000000000000000000ecd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", + "result": "invalid" + }, + { + "tcId": 13, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "0000000000000000000000000000000000000000000000000000000000000000edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", + "result": "invalid" + }, + { + "tcId": 14, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "0000000000000000000000000000000000000000000000000000000000000000edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "result": "invalid" + }, + { + "tcId": 15, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "result": "invalid" + }, + { + "tcId": 16, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "01000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000", + "result": "invalid" + }, + { + "tcId": 17, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "0100000000000000000000000000000000000000000000000000000000000000ecd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", + "result": "invalid" + }, + { + "tcId": 18, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "0100000000000000000000000000000000000000000000000000000000000000edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", + "result": "invalid" + }, + { + "tcId": 19, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "0100000000000000000000000000000000000000000000000000000000000000edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "result": "invalid" + }, + { + "tcId": 20, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edd3f55c1a631258d69cf7a2def9de14000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000", + "result": "invalid" + }, + { + "tcId": 21, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edd3f55c1a631258d69cf7a2def9de14000000000000000000000000000000100100000000000000000000000000000000000000000000000000000000000000", + "result": "invalid" + }, + { + "tcId": 22, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010ecd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", + "result": "invalid" + }, + { + "tcId": 23, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", + "result": "invalid" + }, + { + "tcId": 24, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "result": "invalid" + }, + { + "tcId": 25, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000", + "result": "invalid" + }, + { + "tcId": 26, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f0100000000000000000000000000000000000000000000000000000000000000", + "result": "invalid" + }, + { + "tcId": 27, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fecd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", + "result": "invalid" + }, + { + "tcId": 28, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fedd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", + "result": "invalid" + }, + { + "tcId": 29, + "comment": "special values for r and s", + "flags": [ + "InvalidSignature" + ], + "msg": "3f", + "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fedffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "result": "invalid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" + }, + "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" + }, + "tests": [ + { + "tcId": 30, + "comment": "empty signature", + "flags": [ + "TruncatedSignature" + ], + "msg": "54657374", + "sig": "", + "result": "invalid" + }, + { + "tcId": 31, + "comment": "s missing", + "flags": [ + "TruncatedSignature" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab0", + "result": "invalid" + }, + { + "tcId": 32, + "comment": "signature too short", + "flags": [ + "TruncatedSignature" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946", + "result": "invalid" + }, + { + "tcId": 33, + "comment": "signature too long", + "flags": [ + "SignatureWithGarbage" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d2020", + "result": "invalid" + }, + { + "tcId": 34, + "comment": "include pk in signature", + "flags": [ + "SignatureWithGarbage" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", + "result": "invalid" + }, + { + "tcId": 35, + "comment": "prepending 0 byte to signature", + "flags": [ + "SignatureWithGarbage" + ], + "msg": "54657374", + "sig": "007c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d", + "result": "invalid" + }, + { + "tcId": 36, + "comment": "prepending 0 byte to s", + "flags": [ + "SignatureWithGarbage" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab0007a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d", + "result": "invalid" + }, + { + "tcId": 37, + "comment": "appending 0 byte to signature", + "flags": [ + "SignatureWithGarbage" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d00", + "result": "invalid" + }, + { + "tcId": 38, + "comment": "removing 0 byte from signature", + "flags": [ + "CompressedSignature" + ], + "msg": "546573743137", + "sig": "93de3ca252426c95f735cb9edd92e83321ac62372d5aa5b379786bae111ab6b17251330e8f9a7c30d6993137c596007d7b001409287535ac4804e662bc58a3", + "result": "invalid" + }, + { + "tcId": 39, + "comment": "removing 0 byte from signature", + "flags": [ + "CompressedSignature" + ], + "msg": "54657374313236", + "sig": "dffed33a7f420b62bb1731cfd03be805affd18a281ec02b1067ba6e9d20826569e742347df59c88ae96db1f1969fb189b0ec34381d85633e1889da48d95e0e", + "result": "invalid" + }, + { + "tcId": 40, + "comment": "removing leading 0 byte from signature", + "flags": [ + "CompressedSignature" + ], + "msg": "546573743530", + "sig": "6e170c719577c25e0e1e8b8aa7a6346f8b109f37385cc2e85dc3b4c0f46a9c6bcafd67f52324c5dbaf40a1b673fb29c4a56052d2d6999d0838a8337bccb502", + "result": "invalid" + }, + { + "tcId": 41, + "comment": "dropping byte from signature", + "flags": [ + "CompressedSignature" + ], + "msg": "54657374333437", + "sig": "b0928b46e99fbbad3f5cb502d2cd309d94a7e86cfd4d84b1fcf4cea18075a9c36993c0582dba1e9e519fae5a8654f454201ae0c3cb397c37b8f4f8eef18400", + "result": "invalid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" + }, + "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" + }, + "tests": [ + { + "tcId": 42, + "comment": "modified bit 0 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "647c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b1d125e5538f38afbcc1c84e489521083041d24bc6240767029da063271a1ff0c", + "result": "invalid" + }, + { + "tcId": 43, + "comment": "modified bit 1 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "677c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bc108ca4b87a49c9ed2cf383aecad8f54a962b2899da891e12004d7993a627e01", + "result": "invalid" + }, + { + "tcId": 44, + "comment": "modified bit 2 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "617c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b9ce23fc6213ed5b87912e9bbf92f5e2c780eae26d15c50a112d1e97d2ea33c06", + "result": "invalid" + }, + { + "tcId": 45, + "comment": "modified bit 7 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "e57c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bbb3eb51cd98dddb235a5f46f2bded6af184a58d09cce928bda43f41d69118a03", + "result": "invalid" + }, + { + "tcId": 46, + "comment": "modified bit 8 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657d1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bcd237dda9a116501f67a5705a854b9adc304f34720803a91b324f2c13e0f5a09", + "result": "invalid" + }, + { + "tcId": 47, + "comment": "modified bit 16 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1592402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b6b167bbdc0d881cc04d28905552c1876f3709851abc5007376940cc8a435c300", + "result": "invalid" + }, + { + "tcId": 48, + "comment": "modified bit 31 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1412402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b7fd2ac7da14afffcceeb13f2a0d6b887941cb1a5eb57a52f3cb131a16cce7b0e", + "result": "invalid" + }, + { + "tcId": 49, + "comment": "modified bit 32 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492412ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b7373ba13ebbef99cd2a8ead55ce735c987d85a35320925a8e871702dc7c5c40d", + "result": "invalid" + }, + { + "tcId": 50, + "comment": "modified bit 63 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab54e03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bd35bd331c03f0855504ca1cab87b83c36a028425a3cf007ede4f4254c261cb00", + "result": "invalid" + }, + { + "tcId": 51, + "comment": "modified bit 64 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce02e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bcb35101f73cf467deac8c1a03b6c3dc35af544132734b7e57ab20c89b2e4750d", + "result": "invalid" + }, + { + "tcId": 52, + "comment": "modified bit 97 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce03e2c3a7f2384d051b9cf3570f1207fc78c1bcc98c281c2bb58d2e8878290bff8d3355fdd4ea381924ee578752354eb6dee678ab4011c301", + "result": "invalid" + }, + { + "tcId": 53, + "comment": "modified bit 127 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce03e2c3a7f0384d851b9cf3570f1207fc78c1bcc98c281c2bb978c866187ffb1cc7b29a0b4045aefc08768df65717194ff0c6e63f4dea0d02", + "result": "invalid" + }, + { + "tcId": 54, + "comment": "modified bit 240 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281d2b0576ecf8eaf675f00f3dfbe19f75b83b7607a6c96414f6821af920a2498d0305", + "result": "invalid" + }, + { + "tcId": 55, + "comment": "modified bit 247 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c289c2be5241a345c7b5428054c74b7c382fa10d4a5f1e8f8b79a71d3fdea2254f1ff0e", + "result": "invalid" + }, + { + "tcId": 56, + "comment": "modified bit 248 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2a63950c85cd6dc96364e768de50ff7732b538f8a0b1615d799190ab600849230e", + "result": "invalid" + }, + { + "tcId": 57, + "comment": "modified bit 253 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c0b543bd3da0a56a8c9c152f59c9fec12f31fa66434d48b817b30d90cb4efa8b501", + "result": "invalid" + }, + { + "tcId": 58, + "comment": "modified bit 254 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c6b8da07efd07a6dafb015ed6a32fe136319a972ffbc341f3a0beae97ccf8136505", + "result": "invalid" + }, + { + "tcId": 59, + "comment": "modified bit 255 in R. This flips the sign of x and yields the canonical encoding of the negated R point. Accepted only by verifiers that ignore the sign of x when comparing R to the recovered R.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281cab227aedf259f910f0f3a759a335062665217925d019173b88917eae294f75d40f", + "result": "invalid" + }, + { + "tcId": 60, + "comment": "R==0", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "0000000000000000000000000000000000000000000000000000000000000000e0b8e7770d51c7a36375d006c5bffd6af43ff54aaf47e4330dc118c71d61ec02", + "result": "invalid" + }, + { + "tcId": 61, + "comment": "invalid R", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff463a1908382e7eb7693acef9884f7cf931a215e0791876be22c631a59881fd0e", + "result": "invalid" + }, + { + "tcId": 62, + "comment": "all bits flipped in R", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "9a83eb6dbfd54a31fc1d3c580fc7b2fae4630ca8f0edf803873e433673d7e3d40e94254586cb6188c5386c3febed477cb9a6cb29e3979adc4cb27cf5278fb70a", + "result": "invalid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" + }, + "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" + }, + "tests": [ + { + "tcId": 63, + "comment": "the encoded s was replaced by s + L. The scalar is unchanged mod L. Accepted only by verifiers that fail to enforce s < L. See RFC 8032, Section 5.1.7.", + "flags": [ + "SignatureMalleability" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab067654bce3832c2d76f8f6f5dafc08d9339d4eef676573336a5c51eb6f946b31d", + "result": "invalid" + }, + { + "tcId": 64, + "comment": "the encoded s was replaced by s + 2L. The scalar is unchanged mod L. Accepted only by verifiers that fail to enforce s < L. See RFC 8032, Section 5.1.7.", + "flags": [ + "SignatureMalleability" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab05439412b5395d42f462c67008eba6ca839d4eef676573336a5c51eb6f946b32d", + "result": "invalid" + }, + { + "tcId": 65, + "comment": "the encoded s was replaced by s + 4L. The scalar is unchanged mod L. Accepted only by verifiers that fail to enforce s < L. See RFC 8032, Section 5.1.7.", + "flags": [ + "SignatureMalleability" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab02ee12ce5875bf9dff26556464bae2ad239d4eef676573336a5c51eb6f946b34d", + "result": "invalid" + }, + { + "tcId": 66, + "comment": "the encoded s was replaced by s + 8L. The scalar is unchanged mod L. Accepted only by verifiers that fail to enforce s < L. See RFC 8032, Section 5.1.7.", + "flags": [ + "SignatureMalleability" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab0e2300459f1e742404cd934d2c595a6253ad4eef676573336a5c51eb6f946b38d", + "result": "invalid" + }, + { + "tcId": 67, + "comment": "the encoded s was replaced by s + 2^253. The scalar differs from the valid s mod L, so verification fails even without a range check on s. Accepted only by parsers that silently clear bit 253 of s.", + "flags": [ + "SignatureMalleability" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b32d", + "result": "invalid" + }, + { + "tcId": 68, + "comment": "the encoded s was replaced by s + 2^254. The scalar differs from the valid s mod L, so verification fails even without a range check on s. Accepted only by parsers that silently clear bit 254 of s.", + "flags": [ + "SignatureMalleability" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b34d", + "result": "invalid" + }, + { + "tcId": 69, + "comment": "the encoded s was replaced by s + 2^255. The scalar differs from the valid s mod L, so verification fails even without a range check on s. Accepted only by parsers that silently clear bit 255 of s.", + "flags": [ + "SignatureMalleability" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b38d", + "result": "invalid" + }, + { + "tcId": 70, + "comment": "the encoded s was replaced by s + p where p is the field prime 2^255 - 19. The scalar differs from the valid s mod L, so verification fails even without a range check on s. Accepted only by verifiers that reduce s mod p instead of checking s < L.", + "flags": [ + "SignatureMalleability" + ], + "msg": "54657374", + "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab0679155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b38d", + "result": "invalid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "a12c2beb77265f2aac953b5009349d94155a03ada416aad451319480e983ca4c" + }, + "publicKeyDer": "302a300506032b6570032100a12c2beb77265f2aac953b5009349d94155a03ada416aad451319480e983ca4c", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAoSwr63cmXyqslTtQCTSdlBVaA62kFqrUUTGUgOmDykw=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "oSwr63cmXyqslTtQCTSdlBVaA62kFqrUUTGUgOmDykw" + }, + "tests": [ + { + "tcId": 71, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "", + "sig": "5056325d2ab440bf30bbf0f7173199aa8b4e6fbc091cf3eb6bc6cf87cd73d992ffc216c85e4ab5b8a0bbc7e9a6e9f8d33b7f6e5ac0ffdc22d9fcaf784af84302", + "result": "valid" + }, + { + "tcId": 72, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "78", + "sig": "481fafbf4364d7b682475282f517a3ac0538c9a6b6a562e99a3d8e5afb4f90a559b056b9f07af023905753b02d95eb329a35c77f154b79abbcd291615ce42f02", + "result": "valid" + }, + { + "tcId": 73, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "54657374", + "sig": "8a9bb4c465a3863abc9fd0dd35d80bb28f7d33d37d74679802d63f82b20da114b8d765a1206b3e9ad7cf2b2d8d778bb8651f1fa992db293c0039eacb6161480f", + "result": "valid" + }, + { + "tcId": 74, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "48656c6c6f", + "sig": "d839c20abfda1fd429531831c64f813f84b913e9928540310cf060b44c3dbf9457d44a7721fdc0d67724ff81cb450dd39b10cfb65db15dda4b8bf09d26bd3801", + "result": "valid" + }, + { + "tcId": 75, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "313233343030", + "sig": "9bbb1052dcfa8ad2715c2eb716ae4f1902dea353d42ee09fd4c0b4fcb8b52b5219e2200016e1199d0061891c263e31b0bc3b55673c19610c4e0fa5408004160b", + "result": "valid" + }, + { + "tcId": 76, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "000000000000000000000000", + "sig": "f63b5c0667c7897fc283296416f7f60e84bbde9cbd832e56be463ed9f568069702b17a2f7c341ebf590706a6388ac76ac613c1675ec0f2c7118f2573422a500b", + "result": "valid" + }, + { + "tcId": 77, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161", + "sig": "1bc44d7001e6b5b9090fef34b2ca480f9786bbefa7d279353e5881e8dfb91b803ccd46500e270ef0109bfd741037558832120bc2a4f20fbe7b5fb3c3aaf23e08", + "result": "valid" + }, + { + "tcId": 78, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f60", + "sig": "ea8e22143b02372e76e99aece3ed36aec529768a27e2bb49bdc135d44378061e1f62d1ac518f33ebf37b2ee8cc6dde68a4bd7d4a2f4d6cb77f015f71ca9fc30d", + "result": "valid" + }, + { + "tcId": 79, + "comment": "", + "flags": [ + "Valid" + ], + "msg": "ffffffffffffffffffffffffffffffff", + "sig": "8acd679e1a914fc45d5fa83d3021f0509c805c8d271df54e52f43cfbd00cb6222bf81d58fe1de2de378df67ee9f453786626961fe50a9b05f12b6f0899ebdd0a", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a" + }, + "publicKeyDer": "302a300506032b6570032100d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo" + }, + "tests": [ + { + "tcId": 80, + "comment": "draft-josefsson-eddsa-ed25519-02: Test 1", + "flags": [ + "Ktv" + ], + "msg": "", + "sig": "e5564300c360ac729086e2cc806e828a84877f1eb8e5d974d873e065224901555fb8821590a33bacc61e39701cf9b46bd25bf5f0595bbe24655141438e7a100b", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "3d4017c3e843895a92b70aa74d1b7ebc9c982ccf2ec4968cc0cd55f12af4660c" + }, + "publicKeyDer": "302a300506032b65700321003d4017c3e843895a92b70aa74d1b7ebc9c982ccf2ec4968cc0cd55f12af4660c", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAPUAXw+hDiVqStwqnTRt+vJyYLM8uxJaMwM1V8Sr0Zgw=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "PUAXw-hDiVqStwqnTRt-vJyYLM8uxJaMwM1V8Sr0Zgw" + }, + "tests": [ + { + "tcId": 81, + "comment": "draft-josefsson-eddsa-ed25519-02: Test 2", + "flags": [ + "Ktv" + ], + "msg": "72", + "sig": "92a009a9f0d4cab8720e820b5f642540a2b27b5416503f8fb3762223ebdb69da085ac1e43e15996e458f3613d0f11d8c387b2eaeb4302aeeb00d291612bb0c00", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025" + }, + "publicKeyDer": "302a300506032b6570032100fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA/FHNjmIYoaONpH7QAjDwWAgW7RO6MwOsXeuRFUiQgCU=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "_FHNjmIYoaONpH7QAjDwWAgW7RO6MwOsXeuRFUiQgCU" + }, + "tests": [ + { + "tcId": 82, + "comment": "draft-josefsson-eddsa-ed25519-02: Test 3", + "flags": [ + "Ktv" + ], + "msg": "af82", + "sig": "6291d657deec24024827e69c3abe01a30ce548a284743a445e3680d7db5ac3ac18ff9b538d16f290ae67f760984dc6594a7c15e9716ed28dc027beceea1ec40a", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "278117fc144c72340f67d0f2316e8386ceffbf2b2428c9c51fef7c597f1d426e" + }, + "publicKeyDer": "302a300506032b6570032100278117fc144c72340f67d0f2316e8386ceffbf2b2428c9c51fef7c597f1d426e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAJ4EX/BRMcjQPZ9DyMW6Dhs7/vyskKMnFH+98WX8dQm4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "J4EX_BRMcjQPZ9DyMW6Dhs7_vyskKMnFH-98WX8dQm4" + }, + "tests": [ + { + "tcId": 83, + "comment": "draft-josefsson-eddsa-ed25519-02: Test 1024", + "flags": [ + "Ktv" + ], + "msg": "08b8b2b733424243760fe426a4b54908632110a66c2f6591eabd3345e3e4eb98fa6e264bf09efe12ee50f8f54e9f77b1e355f6c50544e23fb1433ddf73be84d879de7c0046dc4996d9e773f4bc9efe5738829adb26c81b37c93a1b270b20329d658675fc6ea534e0810a4432826bf58c941efb65d57a338bbd2e26640f89ffbc1a858efcb8550ee3a5e1998bd177e93a7363c344fe6b199ee5d02e82d522c4feba15452f80288a821a579116ec6dad2b3b310da903401aa62100ab5d1a36553e06203b33890cc9b832f79ef80560ccb9a39ce767967ed628c6ad573cb116dbefefd75499da96bd68a8a97b928a8bbc103b6621fcde2beca1231d206be6cd9ec7aff6f6c94fcd7204ed3455c68c83f4a41da4af2b74ef5c53f1d8ac70bdcb7ed185ce81bd84359d44254d95629e9855a94a7c1958d1f8ada5d0532ed8a5aa3fb2d17ba70eb6248e594e1a2297acbbb39d502f1a8c6eb6f1ce22b3de1a1f40cc24554119a831a9aad6079cad88425de6bde1a9187ebb6092cf67bf2b13fd65f27088d78b7e883c8759d2c4f5c65adb7553878ad575f9fad878e80a0c9ba63bcbcc2732e69485bbc9c90bfbd62481d9089beccf80cfe2df16a2cf65bd92dd597b0707e0917af48bbb75fed413d238f5555a7a569d80c3414a8d0859dc65a46128bab27af87a71314f318c782b23ebfe808b82b0ce26401d2e22f04d83d1255dc51addd3b75a2b1ae0784504df543af8969be3ea7082ff7fc9888c144da2af58429ec96031dbcad3dad9af0dcbaaaf268cb8fcffead94f3c7ca495e056a9b47acdb751fb73e666c6c655ade8297297d07ad1ba5e43f1bca32301651339e22904cc8c42f58c30c04aafdb038dda0847dd988dcda6f3bfd15c4b4c4525004aa06eeff8ca61783aacec57fb3d1f92b0fe2fd1a85f6724517b65e614ad6808d6f6ee34dff7310fdc82aebfd904b01e1dc54b2927094b2db68d6f903b68401adebf5a7e08d78ff4ef5d63653a65040cf9bfd4aca7984a74d37145986780fc0b16ac451649de6188a7dbdf191f64b5fc5e2ab47b57f7f7276cd419c17a3ca8e1b939ae49e488acba6b965610b5480109c8b17b80e1b7b750dfc7598d5d5011fd2dcc5600a32ef5b52a1ecc820e308aa342721aac0943bf6686b64b2579376504ccc493d97e6aed3fb0f9cd71a43dd497f01f17c0e2cb3797aa2a2f256656168e6c496afc5fb93246f6b1116398a346f1a641f3b041e989f7914f90cc2c7fff357876e506b50d334ba77c225bc307ba537152f3f1610e4eafe595f6d9d90d11faa933a15ef1369546868a7f3a45a96768d40fd9d03412c091c6315cf4fde7cb68606937380db2eaaa707b4c4185c32eddcdd306705e4dc1ffc872eeee475a64dfac86aba41c0618983f8741c5ef68d3a101e8a3b8cac60c905c15fc910840b94c00a0b9d0", + "sig": "0aab4c900501b3e24d7cdf4663326a3a87df5e4843b2cbdb67cbf6e460fec350aa5371b1508f9f4528ecea23c436d94b5e8fcd4f681e30a6ac00a9704a188a03", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86" + }, + "publicKeyDer": "302a300506032b6570032100100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAEA/fR/uU8VNqT3w/2ic4P6Azdaj1J8U35vFwPEf5T4Y=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "EA_fR_uU8VNqT3w_2ic4P6Azdaj1J8U35vFwPEf5T4Y" + }, + "tests": [ + { + "tcId": 84, + "comment": "Signature with S just under the bound. [David Benjamin]", + "flags": [ + "Ktv" + ], + "msg": "124e583f8b8eca58bb29c271b41d36986bbc45541f8e51f9cb0133eca447601e", + "sig": "dac119d6ca87fc59ae611c157048f4d4fc932a149dbe20ec6effd1436abf83ea05c7df0fef06147241259113909bc71bd3c53ba4464ffcad3c0968f2ffffff0f", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86" + }, + "publicKeyDer": "302a300506032b6570032100100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAEA/fR/uU8VNqT3w/2ic4P6Azdaj1J8U35vFwPEf5T4Y=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "EA_fR_uU8VNqT3w_2ic4P6Azdaj1J8U35vFwPEf5T4Y" + }, + "tests": [ + { + "tcId": 85, + "comment": "Signature with S just above the bound. [David Benjamin]", + "flags": [ + "InvalidKtv" + ], + "msg": "6a0bc2b0057cedfc0fa2e3f7f7d39279b30f454a69dfd1117c758d86b19d85e0", + "sig": "0971f86d2c9c78582524a103cb9cf949522ae528f8054dc20107d999be673ff4e25ebf2f2928766b1248bec6e91697775f8446639ede46ad4df4053000000010", + "result": "invalid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "8fd659b77b558ed93882c1157438450ac86ec62d421d568e98ee236f3810295a" + }, + "publicKeyDer": "302a300506032b65700321008fd659b77b558ed93882c1157438450ac86ec62d421d568e98ee236f3810295a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAj9ZZt3tVjtk4gsEVdDhFCshuxi1CHVaOmO4jbzgQKVo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "j9ZZt3tVjtk4gsEVdDhFCshuxi1CHVaOmO4jbzgQKVo" + }, + "tests": [ + { + "tcId": 86, + "comment": "Random test failure 1", + "flags": [ + "Ktv" + ], + "msg": "b0729a713593a92e46b56eaa66b9e435f7a09a8e7de03b078f6f282285276635f301e7aaafe42187c45d6f5b13f9f16b11195cc125c05b90d24dfe4c", + "sig": "7db17557ac470c0eda4eedaabce99197ab62565653cf911f632ee8be0e5ffcfc88fb94276b42e0798fd3aa2f0318be7fc6a29fae75f70c3dcdc414a0ad866601", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "2a606bf67ac770c607038b004101b325edb569efd3413d2d1f2c3e6b4e6e3082" + }, + "publicKeyDer": "302a300506032b65700321002a606bf67ac770c607038b004101b325edb569efd3413d2d1f2c3e6b4e6e3082", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAKmBr9nrHcMYHA4sAQQGzJe21ae/TQT0tHyw+a05uMII=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "KmBr9nrHcMYHA4sAQQGzJe21ae_TQT0tHyw-a05uMII" + }, + "tests": [ + { + "tcId": 87, + "comment": "Random test failure 2", + "flags": [ + "Ktv" + ], + "msg": "a8546e50ba31cae3234310d32672447be213fad91a227a19669c53d309b959782b0e6b71f8791fdb470043b58122003157d2d96a43a6cbd7d3a8d86bf4c97391883e268d50af80e1e6e12939c2bd50ca746cdadfad4edf1bda875299740724148efb1ebe73fb60088cda890317658627a5f7ab5a0c075d9d8f3f97b6492b35519e50ff6b38377432a7081f9176bb1c29a862deac1336ca20b097a47829cec10a6a7cec178eda2d12f6dc6c87f910454af0123555ba184e68804d9cced60fd5c8c90943e56599c8f0ba59a38491ba5e5a53460682474c07e40ca142983314fd762856bb1093f359da6eb0a756bd93a3160c10dd8feea6b97e7c6a17cb54bd5d7649c05c66d7bdee056671dfdaf689fa3945bb8e29a429f4bd5d355dce9687b06f01d5e33e3999f0e8", + "sig": "67d84d4c3945aaf06e06d524be63acbfb5dbb1988c4aea96a5ee9f7a9b9eecc29df4f66b8aa1d9e8607a58fb1ef0c2ad69aac005b4f58e34103344a9c8871a09", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "c9c946cbc5544ac74eef491f07c5881c16faf7ec31ce4aa91bb60ae7b4539051" + }, + "publicKeyDer": "302a300506032b6570032100c9c946cbc5544ac74eef491f07c5881c16faf7ec31ce4aa91bb60ae7b4539051", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAyclGy8VUSsdO70kfB8WIHBb69+wxzkqpG7YK57RTkFE=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "yclGy8VUSsdO70kfB8WIHBb69-wxzkqpG7YK57RTkFE" + }, + "tests": [ + { + "tcId": 88, + "comment": "Random test failure 3", + "flags": [ + "Ktv" + ], + "msg": "cd2212eddb0706f62c995cef958634f0cb7793444cbf4d30e81c27c41ebea6cb02607510131f9c015692dfd521b148841e9a2d3564d20ac401f6cb8e40f520fe0cafbeaa88840b83013369d879f013463fe52a13267aa0c8c59c45cde9399cd1e6be8cc64cf48315ac2eb31a1c567a4fb7d601746d1f63b5ac020712adbbe07519bded6f", + "sig": "24087d47f3e20af51b9668ae0a88ce76586802d0ec75d8c0f28fc30962b5e1d1a1d509571a1624ed125a8df92a6e963728d6b5de99200b8e285f70feb6f05207", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" + }, + "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" + }, + "tests": [ + { + "tcId": 89, + "comment": "Random test failure 4", + "flags": [ + "Ktv" + ], + "msg": "ec5c7cb078", + "sig": "d920d421a5956b69bfe1ba834c025e2babb6c7a6d78c97de1d9bb1116dfdd1185147b2887e34e15578172e150774275ea2aad9e02106f7e8ca1caa669a066f0c", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" + }, + "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" + }, + "tests": [ + { + "tcId": 90, + "comment": "Random test failure 5", + "flags": [ + "Ktv" + ], + "msg": "4668c6a76f0e482190a7175b9f3806a5fe4314a004fa69f988373f7a", + "sig": "4f62daf7f7c162038552ad7d306e195baa37ecf6ca7604142679d7d1128e1f8af52e4cb3545748c44ef1ff1c64e877e4f4d248259b7f6eb56e3ef72097dc8e0c", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "c29ec1894e06d27b4e40486b4fa5063d66a746c7f9c323b12203c03b72b8b78a" + }, + "publicKeyDer": "302a300506032b6570032100c29ec1894e06d27b4e40486b4fa5063d66a746c7f9c323b12203c03b72b8b78a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAwp7BiU4G0ntOQEhrT6UGPWanRsf5wyOxIgPAO3K4t4o=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "wp7BiU4G0ntOQEhrT6UGPWanRsf5wyOxIgPAO3K4t4o" + }, + "tests": [ + { + "tcId": 91, + "comment": "Random test failure 6", + "flags": [ + "Ktv" + ], + "msg": "0f325ffd87e58131ffa23c05ea4579513b287fdba87b44", + "sig": "6669acf94667c5b541afe5307bde9476b13ae7e0e6058a772101ac8eb0a94331428eb4db0a2c68a9b6c1763b8624dab259b0876cdcfaeacc17b21a18e3fc010a", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" + }, + "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" + }, + "tests": [ + { + "tcId": 92, + "comment": "Random test failure 7", + "flags": [ + "Ktv" + ], + "msg": "ec5c7cb078", + "sig": "30490c28f806298225df62103521dcee047153912c33ab8ab8bbdd1ffabd70fd4fdb360f05be535b067d1cf4e78c2cb432206bf280aab3bd21aaa1cb894c5b06", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" + }, + "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" + }, + "tests": [ + { + "tcId": 93, + "comment": "Random test failure 8", + "flags": [ + "Ktv" + ], + "msg": "5dc9bb87eb11621a93f92abe53515697d2611b2eef73", + "sig": "deecafb6f2ede73fec91a6f10e45b9c1c61c4b9bfbe6b6147e2de0b1df6938971f7896c3ab83851fb5d9e537037bff0fca0ccb4a3cc38f056f91f7d7a0557e08", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" + }, + "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" + }, + "tests": [ + { + "tcId": 94, + "comment": "Random test failure 9", + "flags": [ + "Ktv" + ], + "msg": "67484059b2490b1a0a4f8dee77979e26", + "sig": "4cd4f77ed473a6647387f3163541c67a1708a3c3bd1673247cb87f0cb68b3c56f04bfa72970c8a483efe659c87009ab4020b590b6641316b3deddb5450544e02", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" + }, + "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" + }, + "tests": [ + { + "tcId": 95, + "comment": "Random test failure 10", + "flags": [ + "Ktv" + ], + "msg": "7dcfe60f881e1285676f35b68a1b2dbcdd7be6f719a288ababc28d36e3a42ac3010a1ca54b32760e74", + "sig": "7f8663cf98cbd39d5ff553f00bcf3d0d520605794f8866ce75714d77cc51e66c91818b657d7b0dae430a68353506edc4a714c345f5ddb5c8b958ba3d035f7a01", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" + }, + "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" + }, + "tests": [ + { + "tcId": 96, + "comment": "Random test failure 11", + "flags": [ + "Ktv" + ], + "msg": "a020a4381dc9141f47ee508871ab7a8b5a3648727c4281ae9932376f23a8e1bcda0626b7129197d864178631ec89c4332dbb18", + "sig": "1e41a24fe732bd7cab14c2a2f5134ee8c87fcbd2e987e60957ed9239e5c32404d56977e1b4282871896cb10625a1937468e4dc266e16a9c1b8e9891177eca802", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" + }, + "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" + }, + "tests": [ + { + "tcId": 97, + "comment": "Random test failure 12", + "flags": [ + "Ktv" + ], + "msg": "58e456064dff471109def4ca27fa8310a1df32739655b624f27e6418d34b7f007173f3faa5", + "sig": "6aab49e5c0bc309b783378ee03ffda282f0185cdf94c847701ff307a6ee8d0865411c44e0a8206f6a5f606107451940c2593af790ce1860f4c14ab25b2deae08", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "529919c9c780985a841c42ba6c180ff2d67a276ccfbe281080e47ab71a758f56" + }, + "publicKeyDer": "302a300506032b6570032100529919c9c780985a841c42ba6c180ff2d67a276ccfbe281080e47ab71a758f56", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAUpkZyceAmFqEHEK6bBgP8tZ6J2zPvigQgOR6txp1j1Y=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "UpkZyceAmFqEHEK6bBgP8tZ6J2zPvigQgOR6txp1j1Y" + }, + "tests": [ + { + "tcId": 98, + "comment": "Random test failure 13", + "flags": [ + "Ktv" + ], + "msg": "e1cbf2d86827825613fb7a85811d", + "sig": "01abfa4d6bbc726b196928ec84fd03f0c953a4fa2b228249562ff1442a4f63a7150b064f3712b51c2af768d2c2711a71aabf8d186833e941a0301b82f0502905", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" + }, + "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" + }, + "tests": [ + { + "tcId": 99, + "comment": "Random test failure 14", + "flags": [ + "Ktv" + ], + "msg": "a25176b3afea318b2ec11ddacb10caf7179c0b3f8eabbfa2895581138d3c1e0e", + "sig": "2a833aadecd9f28235cb5896bf3781521dc71f28af2e91dbe1735a61dce3e31ac15ca24b3fc47817a59d386bbbb2ce60a6adc0a2703bb2bdea8f70f91051f706", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" + }, + "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" + }, + "tests": [ + { + "tcId": 100, + "comment": "Random test failure 15", + "flags": [ + "Ktv" + ], + "msg": "a1", + "sig": "1a74ed2cbdc7d8f3827014e8e6ecf8fd2698ac8f86833acccdd400df710fe0d6b0543c9cfa00d52bf024ab7ce0d91981944097233ec134d5c7abbd44bfd32d0d", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "2252b3d57c74cbf8bc460dc2e082847926bc022f09ab6ae95756362bfd1167c1" + }, + "publicKeyDer": "302a300506032b65700321002252b3d57c74cbf8bc460dc2e082847926bc022f09ab6ae95756362bfd1167c1", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAIlKz1Xx0y/i8Rg3C4IKEeSa8Ai8Jq2rpV1Y2K/0RZ8E=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "IlKz1Xx0y_i8Rg3C4IKEeSa8Ai8Jq2rpV1Y2K_0RZ8E" + }, + "tests": [ + { + "tcId": 101, + "comment": "Random test failure 16", + "flags": [ + "Ktv" + ], + "msg": "975ef941710071a9e1e6325a0c860becd7c695b5117c3107b686e330e5", + "sig": "af0fd9dda7e03e12313410d8d8844ebb6fe6b7f65141f22d7bcba5695a25414a9e54326fb44d59fb14707899a8aae70857b23d4080d7ab2c396ef3a36d45ce02", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "c0a773110f975de3732355bb7ec7f0c41c091c0252966070205516693b992a4a" + }, + "publicKeyDer": "302a300506032b6570032100c0a773110f975de3732355bb7ec7f0c41c091c0252966070205516693b992a4a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAwKdzEQ+XXeNzI1W7fsfwxBwJHAJSlmBwIFUWaTuZKko=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "wKdzEQ-XXeNzI1W7fsfwxBwJHAJSlmBwIFUWaTuZKko" + }, + "tests": [ + { + "tcId": 102, + "comment": "Random test failure 17", + "flags": [ + "Ktv" + ], + "msg": "", + "sig": "0280427e713378f49d478df6373c6cac847b622b567daa2376c839e7ac10e22c380ab0fa8617c9dcfe76c4d9db5459b21dc1413726e46cc8f387d359e344f407", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" + }, + "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" + }, + "tests": [ + { + "tcId": 103, + "comment": "Random test failure 18", + "flags": [ + "Ktv" + ], + "msg": "a9e6d94870a67a9fe1cf13b1e6f9150cdd407bf6480ec841ea586ae3935e9787163cf419c1", + "sig": "c97e3190f83bae7729ba473ad46b420b8aad735f0808ea42c0f898ccfe6addd4fd9d9fa3355d5e67ee21ab7e1f805cd07f1fce980e307f4d7ad36cc924eef00c", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" + }, + "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" + }, + "tests": [ + { + "tcId": 104, + "comment": "Random test failure 19", + "flags": [ + "Ktv" + ], + "msg": "11cb1eafa4c42a8402c4193c4696f7b2e6d4585e4b42dcf1a8b67a80b2da80bc9d4b649fb2f35eaf1f56c426fd0b", + "sig": "14ceb2eaf4688d995d482f44852d71ad878cd7c77b41e60b0065fd01a59b054ee74759224187dbde9e59a763a70277c960892ef89fba997aba2576b2c54ba608", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "c9c946cbc5544ac74eef491f07c5881c16faf7ec31ce4aa91bb60ae7b4539051" + }, + "publicKeyDer": "302a300506032b6570032100c9c946cbc5544ac74eef491f07c5881c16faf7ec31ce4aa91bb60ae7b4539051", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAyclGy8VUSsdO70kfB8WIHBb69+wxzkqpG7YK57RTkFE=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "yclGy8VUSsdO70kfB8WIHBb69-wxzkqpG7YK57RTkFE" + }, + "tests": [ + { + "tcId": 105, + "comment": "Random test failure 20", + "flags": [ + "Ktv" + ], + "msg": "27d465bc632743522aefa23c", + "sig": "c2656951e2a0285585a51ff0eda7e9a23c2dfd2ffa273aee7808f4604e8f9a8c8ea49e9fce4eb2d8d75d36b7238fe6fc13b6c5d9427dd58f8c6615d033c0bd0f", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "c29ec1894e06d27b4e40486b4fa5063d66a746c7f9c323b12203c03b72b8b78a" + }, + "publicKeyDer": "302a300506032b6570032100c29ec1894e06d27b4e40486b4fa5063d66a746c7f9c323b12203c03b72b8b78a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAwp7BiU4G0ntOQEhrT6UGPWanRsf5wyOxIgPAO3K4t4o=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "wp7BiU4G0ntOQEhrT6UGPWanRsf5wyOxIgPAO3K4t4o" + }, + "tests": [ + { + "tcId": 106, + "comment": "Random test failure 21", + "flags": [ + "Ktv" + ], + "msg": "5ffa", + "sig": "931e5152fcef078c22cc5d6a3a65f06e396289f6f5f2d1efa6340254a53526ef5dc6874eeddf35c3f50991c53cd02bf06313e37d93ee1f7022128ffa3b8f300b", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "529919c9c780985a841c42ba6c180ff2d67a276ccfbe281080e47ab71a758f56" + }, + "publicKeyDer": "302a300506032b6570032100529919c9c780985a841c42ba6c180ff2d67a276ccfbe281080e47ab71a758f56", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAUpkZyceAmFqEHEK6bBgP8tZ6J2zPvigQgOR6txp1j1Y=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "UpkZyceAmFqEHEK6bBgP8tZ6J2zPvigQgOR6txp1j1Y" + }, + "tests": [ + { + "tcId": 107, + "comment": "Random test failure 22", + "flags": [ + "Ktv" + ], + "msg": "25", + "sig": "e4ae21f7a8f4b3b325c161a8c6e53e2edd7005b9c2f8a2e3b0ac4ba94aa80be6f2ee22ac8d4a96b9a3eb73a825e7bb5aff4a3393bf5b4a38119e9c9b1b041106", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "2252b3d57c74cbf8bc460dc2e082847926bc022f09ab6ae95756362bfd1167c1" + }, + "publicKeyDer": "302a300506032b65700321002252b3d57c74cbf8bc460dc2e082847926bc022f09ab6ae95756362bfd1167c1", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAIlKz1Xx0y/i8Rg3C4IKEeSa8Ai8Jq2rpV1Y2K/0RZ8E=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "IlKz1Xx0y_i8Rg3C4IKEeSa8Ai8Jq2rpV1Y2K_0RZ8E" + }, + "tests": [ + { + "tcId": 108, + "comment": "Random test failure 23", + "flags": [ + "Ktv" + ], + "msg": "80fdd6218f29c8c8f6bd820945f9b0854e3a8824", + "sig": "e097e0bd0370bff5bde359175a11b728ee9639095d5df8eda496395565616edfe079977f7d4dc8c75d6113a83d6a55e6e1676408c0967a2906339b43337dcb01", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "2a606bf67ac770c607038b004101b325edb569efd3413d2d1f2c3e6b4e6e3082" + }, + "publicKeyDer": "302a300506032b65700321002a606bf67ac770c607038b004101b325edb569efd3413d2d1f2c3e6b4e6e3082", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAKmBr9nrHcMYHA4sAQQGzJe21ae/TQT0tHyw+a05uMII=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "KmBr9nrHcMYHA4sAQQGzJe21ae_TQT0tHyw-a05uMII" + }, + "tests": [ + { + "tcId": 109, + "comment": "Random test failure 24", + "flags": [ + "Ktv" + ], + "msg": "b477b0480bb84642608b908d29a51cf2fce63f24ee95", + "sig": "28fafbb62b4d688fa79e1ac92851f46e319b161f801d4dc09acc21fdd6780a2c4292b8c1003c61c2bcebe7f3f88ccc4bb26d407387c5f27cb8c94cf6ce810405", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" + }, + "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" + }, + "tests": [ + { + "tcId": 110, + "comment": "Random test failure 25", + "flags": [ + "Ktv" + ], + "msg": "aa365b442d12b7f3c925", + "sig": "83c40ce13d483cc58ff65844875862d93df4bd367af77efa469ec06a8ed9e6d7905a04879535708ddf225567a815c9b941d405c98e918fd0c151165cea7fb101", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "54cda623245759ad6d43e620a606908befc633d60792bc7798447a0ef38e7311" + }, + "publicKeyDer": "302a300506032b657003210054cda623245759ad6d43e620a606908befc633d60792bc7798447a0ef38e7311", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAVM2mIyRXWa1tQ+YgpgaQi+/GM9YHkrx3mER6DvOOcxE=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "VM2mIyRXWa1tQ-YgpgaQi-_GM9YHkrx3mER6DvOOcxE" + }, + "tests": [ + { + "tcId": 111, + "comment": "Random test failure 26", + "flags": [ + "Ktv" + ], + "msg": "27e792b28b2f1702", + "sig": "14d9b497c19b91d43481c55bb6f5056de252d9ecb637575c807e58e9b4c5eac8b284089d97e2192dc242014363208e2c9a3435edf8928fb1d893553e9be4c703", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "2362bac514d5fad33802642e979a1e82de6eb6f1bcbf6a5b304f2bb02b9e57fe" + }, + "publicKeyDer": "302a300506032b65700321002362bac514d5fad33802642e979a1e82de6eb6f1bcbf6a5b304f2bb02b9e57fe", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAI2K6xRTV+tM4AmQul5oegt5utvG8v2pbME8rsCueV/4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "I2K6xRTV-tM4AmQul5oegt5utvG8v2pbME8rsCueV_4" + }, + "tests": [ + { + "tcId": 112, + "comment": "Random test failure 27", + "flags": [ + "Ktv" + ], + "msg": "eef3bb0f617c17d0420c115c21c28e3762edc7b7fb048529b84a9c2bc6", + "sig": "242ddb3a5d938d07af690b1b0ef0fa75842c5f9549bf39c8750f75614c712e7cbaf2e37cc0799db38b858d41aec5b9dd2fca6a3c8e082c10408e2cf3932b9d08", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" + }, + "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" + }, + "tests": [ + { + "tcId": 113, + "comment": "Random test failure 28", + "flags": [ + "Ktv" + ], + "msg": "475f", + "sig": "71a4a06a34075f2fd47bc3abf4714d46db7e97b08cb6180d3f1539ac50b18ce51f8af8ae95ed21d4fa0daab7235925631ecea1fd9d0d8a2ba7a7583fd04b900c", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "037b55b427dc8daa0f80fcebaf0846902309f8a6cf18b465c0ce9b6539629ac8" + }, + "publicKeyDer": "302a300506032b6570032100037b55b427dc8daa0f80fcebaf0846902309f8a6cf18b465c0ce9b6539629ac8", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAA3tVtCfcjaoPgPzrrwhGkCMJ+KbPGLRlwM6bZTlimsg=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "A3tVtCfcjaoPgPzrrwhGkCMJ-KbPGLRlwM6bZTlimsg" + }, + "tests": [ + { + "tcId": 114, + "comment": "Test case for overflow in signature generation", + "flags": [ + "Ktv" + ], + "msg": "01234567", + "sig": "c964e100033ce8888b23466677da4f4aea29923f642ae508f9d0888d788150636ab9b2c3765e91bbb05153801114d9e52dc700df377212222bb766be4b8c020d", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "9c0007698f177998a7666c7cf7973e2b88e9c4946e33804a7bbe8968d2394b2e" + }, + "publicKeyDer": "302a300506032b65700321009c0007698f177998a7666c7cf7973e2b88e9c4946e33804a7bbe8968d2394b2e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAnAAHaY8XeZinZmx895c+K4jpxJRuM4BKe76JaNI5Sy4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "nAAHaY8XeZinZmx895c-K4jpxJRuM4BKe76JaNI5Sy4" + }, + "tests": [ + { + "tcId": 115, + "comment": "Test case for overflow in signature generation", + "flags": [ + "Ktv" + ], + "msg": "9399a6db9433d2a28d2b0c11c8794ab7d108c95b", + "sig": "176065c6d64a136a2227687d77f61f3fca3b16122c966276fd9a8b14a1a2cea4c33b3533d11101717016684e3810efbea63bb23773f7cc480174199abd734f08", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "ed3a6f9721dc9729c1f76635bcf080d7036e1c2f0228654ccbbe1e738c17b963" + }, + "publicKeyDer": "302a300506032b6570032100ed3a6f9721dc9729c1f76635bcf080d7036e1c2f0228654ccbbe1e738c17b963", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA7TpvlyHclynB92Y1vPCA1wNuHC8CKGVMy74ec4wXuWM=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "7TpvlyHclynB92Y1vPCA1wNuHC8CKGVMy74ec4wXuWM" + }, + "tests": [ + { + "tcId": 116, + "comment": "Test case for overflow in signature generation", + "flags": [ + "Ktv" + ], + "msg": "7af783afbbd44c1833ab7237ecaf63b94ffdd003", + "sig": "7ca69331eec8610d38f00e2cdbd46966cb359dcde98a257ac6f362cc00c8f4fe85c02285fe4d66e31a44cadb2bf474e1a7957609eb4fe95a71473fe6699aa70d", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "4abfb535313705a6570018440cdec1a3ae33e51f352112fa6acbd0c6bc3ea859" + }, + "publicKeyDer": "302a300506032b65700321004abfb535313705a6570018440cdec1a3ae33e51f352112fa6acbd0c6bc3ea859", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEASr+1NTE3BaZXABhEDN7Bo64z5R81IRL6asvQxrw+qFk=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Sr-1NTE3BaZXABhEDN7Bo64z5R81IRL6asvQxrw-qFk" + }, + "tests": [ + { + "tcId": 117, + "comment": "Test case for overflow in signature generation", + "flags": [ + "Ktv" + ], + "msg": "321b5f663c19e30ee7bbb85e48ecf44db9d3f512", + "sig": "f296715e855d8aecccba782b670163dedc4458fe4eb509a856bcac450920fd2e95a3a3eb212d2d9ccaf948c39ae46a2548af125f8e2ad9b77bd18f92d59f9200", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "4f2162e6bf03a712db0efa418b7e7006e23871d9d7ec555a313885c4afd96385" + }, + "publicKeyDer": "302a300506032b65700321004f2162e6bf03a712db0efa418b7e7006e23871d9d7ec555a313885c4afd96385", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEATyFi5r8DpxLbDvpBi35wBuI4cdnX7FVaMTiFxK/ZY4U=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "TyFi5r8DpxLbDvpBi35wBuI4cdnX7FVaMTiFxK_ZY4U" + }, + "tests": [ + { + "tcId": 118, + "comment": "Test case for overflow in signature generation", + "flags": [ + "Ktv" + ], + "msg": "c48890e92aeeb3af04858a8dc1d34f16a4347b91", + "sig": "367d07253a9d5a77d054b9c1a82d3c0a448a51905343320b3559325ef41839608aa45564978da1b2968c556cfb23b0c98a9be83e594d5e769d69d1156e1b1506", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "4abfb535313705a6570018440cdec1a3ae33e51f352112fa6acbd0c6bc3ea859" + }, + "publicKeyDer": "302a300506032b65700321004abfb535313705a6570018440cdec1a3ae33e51f352112fa6acbd0c6bc3ea859", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEASr+1NTE3BaZXABhEDN7Bo64z5R81IRL6asvQxrw+qFk=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Sr-1NTE3BaZXABhEDN7Bo64z5R81IRL6asvQxrw-qFk" + }, + "tests": [ + { + "tcId": 119, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "321b5f663c19e30ee7bbb85e48ecf44db9d3f512", + "sig": "f296715e855d8aecccba782b670163dedc4458fe4eb509a856bcac450920fd2e95a3a3eb212d2d9ccaf948c39ae46a2548af125f8e2ad9b77bd18f92d59f9200", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "4f2162e6bf03a712db0efa418b7e7006e23871d9d7ec555a313885c4afd96385" + }, + "publicKeyDer": "302a300506032b65700321004f2162e6bf03a712db0efa418b7e7006e23871d9d7ec555a313885c4afd96385", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEATyFi5r8DpxLbDvpBi35wBuI4cdnX7FVaMTiFxK/ZY4U=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "TyFi5r8DpxLbDvpBi35wBuI4cdnX7FVaMTiFxK_ZY4U" + }, + "tests": [ + { + "tcId": 120, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "c48890e92aeeb3af04858a8dc1d34f16a4347b91", + "sig": "367d07253a9d5a77d054b9c1a82d3c0a448a51905343320b3559325ef41839608aa45564978da1b2968c556cfb23b0c98a9be83e594d5e769d69d1156e1b1506", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "0717d75ce27ea181ed5a30e6456c649b5cf453a6b4c12cd3f9fd16b31e0c25cd" + }, + "publicKeyDer": "302a300506032b65700321000717d75ce27ea181ed5a30e6456c649b5cf453a6b4c12cd3f9fd16b31e0c25cd", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEABxfXXOJ+oYHtWjDmRWxkm1z0U6a0wSzT+f0Wsx4MJc0=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "BxfXXOJ-oYHtWjDmRWxkm1z0U6a0wSzT-f0Wsx4MJc0" + }, + "tests": [ + { + "tcId": 121, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "26d5f0631f49106db58c4cfc903691134811b33c", + "sig": "9588e02bc815649d359ce710cdc69814556dd8c8bab1c468f40a49ebefb7f0de7ed49725edfd1b708fa1bad277c35d6c1b9c5ec25990997645780f9203d7dd08", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "db5b9eab7e84e5a13505865fa711c9c896c898609fc11fc9bc1e55028f9496df" + }, + "publicKeyDer": "302a300506032b6570032100db5b9eab7e84e5a13505865fa711c9c896c898609fc11fc9bc1e55028f9496df", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA21ueq36E5aE1BYZfpxHJyJbImGCfwR/JvB5VAo+Ult8=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "21ueq36E5aE1BYZfpxHJyJbImGCfwR_JvB5VAo-Ult8" + }, + "tests": [ + { + "tcId": 122, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "2a71f064af982a3a1103a75cef898732d7881981", + "sig": "2217a0be57dd0d6c0090641496bcb65e37213f02a0df50aff0368ee2808e1376504f37b37494132dfc4d4887f58b9e86eff924040db3925ee4f8e1428c4c500e", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "7bac18f6d2625d3915f233434cda38a577247a7332a5170b37142a34644145e0" + }, + "publicKeyDer": "302a300506032b65700321007bac18f6d2625d3915f233434cda38a577247a7332a5170b37142a34644145e0", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAe6wY9tJiXTkV8jNDTNo4pXckenMypRcLNxQqNGRBReA=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "e6wY9tJiXTkV8jNDTNo4pXckenMypRcLNxQqNGRBReA" + }, + "tests": [ + { + "tcId": 123, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "bf26796cef4ddafcf5033c8d105057db0210b6ad", + "sig": "1fda6dd4519fdbefb515bfa39e8e5911f4a0a8aa65f40ef0c542b8b34b87f9c249dc57f320718ff457ed5915c4d0fc352affc1287724d3f3a9de1ff777a02e01", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "7bac18f6d2625d3915f233434cda38a577247a7332a5170b37142a34644145e0" + }, + "publicKeyDer": "302a300506032b65700321007bac18f6d2625d3915f233434cda38a577247a7332a5170b37142a34644145e0", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAe6wY9tJiXTkV8jNDTNo4pXckenMypRcLNxQqNGRBReA=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "e6wY9tJiXTkV8jNDTNo4pXckenMypRcLNxQqNGRBReA" + }, + "tests": [ + { + "tcId": 124, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "bf26796cef4ddafcf5033c8d105057db0210b6ad", + "sig": "1fda6dd4519fdbefb515bfa39e8e5911f4a0a8aa65f40ef0c542b8b34b87f9c249dc57f320718ff457ed5915c4d0fc352affc1287724d3f3a9de1ff777a02e01", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "38ead304624abebf3e2b31e20e5629531e3fc659008887c9106f5e55adbbc62a" + }, + "publicKeyDer": "302a300506032b657003210038ead304624abebf3e2b31e20e5629531e3fc659008887c9106f5e55adbbc62a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAOOrTBGJKvr8+KzHiDlYpUx4/xlkAiIfJEG9eVa27xio=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "OOrTBGJKvr8-KzHiDlYpUx4_xlkAiIfJEG9eVa27xio" + }, + "tests": [ + { + "tcId": 125, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "ae03da6997e40cea67935020152d3a9a365cc055", + "sig": "068eafdc2f36b97f9bae7fbda88b530d16b0e35054d3a351e3a4c914b22854c711505e49682e1a447e10a69e3b04d0759c859897b64f71137acf355b63faf100", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "e9bc95049af7e4817b17c402269ba5e767b7348757ac8002fec9e08390c0a9cf" + }, + "publicKeyDer": "302a300506032b6570032100e9bc95049af7e4817b17c402269ba5e767b7348757ac8002fec9e08390c0a9cf", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA6byVBJr35IF7F8QCJpul52e3NIdXrIAC/sngg5DAqc8=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "6byVBJr35IF7F8QCJpul52e3NIdXrIAC_sngg5DAqc8" + }, + "tests": [ + { + "tcId": 126, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "489d473f7fb83c7f6823baf65482517bccd8f4ea", + "sig": "43670abc9f09a8a415e76f4a21c6a46156f066b5a37b3c1e867cf67248c7b927e8d13a763e37abf936f5f27f7a8aa290539d21f740efd26b65fd5ad27085f400", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "ee8155ca4e8fe7bc5bca5992044eab7f8c3c6a13db1176f42f46c29da5b064f4" + }, + "publicKeyDer": "302a300506032b6570032100ee8155ca4e8fe7bc5bca5992044eab7f8c3c6a13db1176f42f46c29da5b064f4", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA7oFVyk6P57xbylmSBE6rf4w8ahPbEXb0L0bCnaWwZPQ=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "7oFVyk6P57xbylmSBE6rf4w8ahPbEXb0L0bCnaWwZPQ" + }, + "tests": [ + { + "tcId": 127, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "1b704d6692d60a07ad1e1d047b65e105a80d3459", + "sig": "56388f2228893b14ce4f2a5e0cc626591061de3a57c50a5ecab7b9d5bb2caeea191560a1cf2344c75fdb4a085444aa68d727b39f498169eaa82cf64a31f59803", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "db507bfcc9576393f7157bb360532b05c5fcf2e764b690cc6698a4a30d349095" + }, + "publicKeyDer": "302a300506032b6570032100db507bfcc9576393f7157bb360532b05c5fcf2e764b690cc6698a4a30d349095", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA21B7/MlXY5P3FXuzYFMrBcX88udktpDMZpikow00kJU=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "21B7_MlXY5P3FXuzYFMrBcX88udktpDMZpikow00kJU" + }, + "tests": [ + { + "tcId": 128, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "dc87030862c4c32f56261e93a367caf458c6be27", + "sig": "553e5845fc480a577da6544e602caadaa00ae3e5aa3dce9ef332b1541b6d5f21bdf1d01e98baf80b8435f9932f89b3eb70f02da24787aac8e77279e797d0bd0b", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "994eaf03309d6ad9d95a656bc1744e2886f029023a3750b34f35086b3c7227f8" + }, + "publicKeyDer": "302a300506032b6570032100994eaf03309d6ad9d95a656bc1744e2886f029023a3750b34f35086b3c7227f8", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAmU6vAzCdatnZWmVrwXROKIbwKQI6N1CzTzUIazxyJ/g=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "mU6vAzCdatnZWmVrwXROKIbwKQI6N1CzTzUIazxyJ_g" + }, + "tests": [ + { + "tcId": 129, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "7f41ef68508343ef18813cb2fb332445ec6480cd", + "sig": "bc10f88081b7be1f2505b6e76c5c82e358cf21ec11b7df1f334fb587bada465b53d9f7b4d4fec964432ee91ead1bc32ed3c82f2167da1c834a37515df7fe130e", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "127d37e406e0d83e4b55a09e21e8f50fb88af47e4a43f018cdebffc1948757f0" + }, + "publicKeyDer": "302a300506032b6570032100127d37e406e0d83e4b55a09e21e8f50fb88af47e4a43f018cdebffc1948757f0", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAEn035Abg2D5LVaCeIej1D7iK9H5KQ/AYzev/wZSHV/A=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "En035Abg2D5LVaCeIej1D7iK9H5KQ_AYzev_wZSHV_A" + }, + "tests": [ + { + "tcId": 130, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "e1ce107971534bc46a42ac609a1a37b4ca65791d", + "sig": "00c11e76b5866b7c37528b0670188c1a0473fb93c33b72ae604a8865a7d6e094ff722e8ede3cb18389685ff3c4086c29006047466f81e71a329711e0b9294709", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "d83ba84edfb4bec49f29be31d80a64b7c0b5a502438cdb1d0dd1e0e3e55786de" + }, + "publicKeyDer": "302a300506032b6570032100d83ba84edfb4bec49f29be31d80a64b7c0b5a502438cdb1d0dd1e0e3e55786de", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA2DuoTt+0vsSfKb4x2Apkt8C1pQJDjNsdDdHg4+VXht4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "2DuoTt-0vsSfKb4x2Apkt8C1pQJDjNsdDdHg4-VXht4" + }, + "tests": [ + { + "tcId": 131, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "869a827397c585cf35acf88a8728833ab1c8c81e", + "sig": "0a6f0ac47ea136cb3ff00f7a96638e4984048999ee2da0af6e5c86bffb0e70bb97406b6ad5a4b764f7c99ebb6ec0fd434b8efe253b0423ef876c037998e8ab07", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "d3c9aa2f3d6ef217a166e8ae403ed436c37facbbe3beceb78df6eb439f8fa04a" + }, + "publicKeyDer": "302a300506032b6570032100d3c9aa2f3d6ef217a166e8ae403ed436c37facbbe3beceb78df6eb439f8fa04a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA08mqLz1u8hehZuiuQD7UNsN/rLvjvs63jfbrQ5+PoEo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "08mqLz1u8hehZuiuQD7UNsN_rLvjvs63jfbrQ5-PoEo" + }, + "tests": [ + { + "tcId": 132, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "619d8c4f2c93104be01cd574a385ceca08c33a9e", + "sig": "b7cbb942a6661e2312f79548224f3e44f5841c6e880c68340756a00ce94a914e8404858265985e6bb97ef01d2d7e5e41340309606bfc43c8c6a8f925126b3d09", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "d53280367c1c0b95ac4112218b92c6a71c51fb6312ce668de196c7d52a136155" + }, + "publicKeyDer": "302a300506032b6570032100d53280367c1c0b95ac4112218b92c6a71c51fb6312ce668de196c7d52a136155", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA1TKANnwcC5WsQRIhi5LGpxxR+2MSzmaN4ZbH1SoTYVU=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "1TKANnwcC5WsQRIhi5LGpxxR-2MSzmaN4ZbH1SoTYVU" + }, + "tests": [ + { + "tcId": 133, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "5257a0bae8326d259a6ce97420c65e6c2794afe2", + "sig": "27a4f24009e579173ff3064a6eff2a4d20224f8f85fdec982a9cf2e6a3b51537348a1d7851a3a932128a923a393ea84e6b35eb3473c32dceb9d7e9cab03a0f0d", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "94ac2336ba97a476fb4c9f2b5563e4167ca292c6e99e422350a911ae3172c315" + }, + "publicKeyDer": "302a300506032b657003210094ac2336ba97a476fb4c9f2b5563e4167ca292c6e99e422350a911ae3172c315", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAlKwjNrqXpHb7TJ8rVWPkFnyiksbpnkIjUKkRrjFywxU=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "lKwjNrqXpHb7TJ8rVWPkFnyiksbpnkIjUKkRrjFywxU" + }, + "tests": [ + { + "tcId": 134, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "5acb6afc9b368f7acac0e71f6a4831c72d628405", + "sig": "985b605fe3f449f68081197a68c714da0bfbf6ac2ab9abb0508b6384ea4999cb8d79af98e86f589409e8d2609a8f8bd7e80aaa8d92a84e7737fbe8dcef41920a", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "e1e7316d231f7f275bdf403360304da1509fdf1af1fd25ca214eaac0a289398f" + }, + "publicKeyDer": "302a300506032b6570032100e1e7316d231f7f275bdf403360304da1509fdf1af1fd25ca214eaac0a289398f", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA4ecxbSMffydb30AzYDBNoVCf3xrx/SXKIU6qwKKJOY8=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "4ecxbSMffydb30AzYDBNoVCf3xrx_SXKIU6qwKKJOY8" + }, + "tests": [ + { + "tcId": 135, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "3c87b3453277b353941591fc7eaa7dd37604b42a", + "sig": "1c8fbda3d39e2b441f06da6071c13115cb4115c7c3341704cf6513324d4cf1ef4a1dd7678a048b0dde84e48994d080befcd70854079d44b6a0b0f9fa002d130c", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "fffbeea71215efaf9888fec2cc68edb3703ff11a66fd629b53cbda5eabc18750" + }, + "publicKeyDer": "302a300506032b6570032100fffbeea71215efaf9888fec2cc68edb3703ff11a66fd629b53cbda5eabc18750", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA//vupxIV76+YiP7CzGjts3A/8Rpm/WKbU8vaXqvBh1A=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "__vupxIV76-YiP7CzGjts3A_8Rpm_WKbU8vaXqvBh1A" + }, + "tests": [ + { + "tcId": 136, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "0a68e27ef6847bfd9e398b328a0ded3679d4649d", + "sig": "59097233eb141ed948b4f3c28a9496b9a7eca77454ecfe7e46737d1449a0b76b15aacf77cf48af27a668aa4434cfa26c504d75a2bcc4feac46465446234c0508", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "19ccc0527599cb032e0b4c4d74e60f13901768a99df041c3bc1bf6c0ef271169" + }, + "publicKeyDer": "302a300506032b657003210019ccc0527599cb032e0b4c4d74e60f13901768a99df041c3bc1bf6c0ef271169", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAGczAUnWZywMuC0xNdOYPE5AXaKmd8EHDvBv2wO8nEWk=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "GczAUnWZywMuC0xNdOYPE5AXaKmd8EHDvBv2wO8nEWk" + }, + "tests": [ + { + "tcId": 137, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "4e9bef60737c7d4dd10bd52567e1473a36d3573d", + "sig": "519105608508fe2f1b6da4cc8b23e39798b1d18d25972beed0404cec722e01ba1b6a0f85e99e092cca8076b101b60d4ac5035684357f4d0daacdc642da742a06", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "0e726e27047563aa0a1a9c2e085d8d26af2acba129d0869c65031e3e6cac329a" + }, + "publicKeyDer": "302a300506032b65700321000e726e27047563aa0a1a9c2e085d8d26af2acba129d0869c65031e3e6cac329a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEADnJuJwR1Y6oKGpwuCF2NJq8qy6Ep0IacZQMePmysMpo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "DnJuJwR1Y6oKGpwuCF2NJq8qy6Ep0IacZQMePmysMpo" + }, + "tests": [ + { + "tcId": 138, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "cc82b3163efda3ba7e9240e765112caa69113694", + "sig": "d8b03ee579e73f16477527fc9dc37a72eaac0748a733772c483ba013944f01ef64fb4ec5e3a95021dc22f4ae282baff6e9b9cc8433c6b6710d82e7397d72ef04", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "e77717b54a2b5e5bce5bccb8f0c5fdb5fd7df77ac254020fc9120dc0d4df4178" + }, + "publicKeyDer": "302a300506032b6570032100e77717b54a2b5e5bce5bccb8f0c5fdb5fd7df77ac254020fc9120dc0d4df4178", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA53cXtUorXlvOW8y48MX9tf1993rCVAIPyRINwNTfQXg=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "53cXtUorXlvOW8y48MX9tf1993rCVAIPyRINwNTfQXg" + }, + "tests": [ + { + "tcId": 139, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "923a5c9e7b5635bb6c32c5a408a4a15b652450eb", + "sig": "26da61fdfd38e6d01792813f27840c8b4766b0faaed39d0ee898cb450d94a5d5f57e58b6a003d7f9b56b20561954c6edcf66492d116b8b5e91f205a3a6449d0b", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "6220972d3f7d150b36790d7d522384876d64d640cd9913186815e1629582ed36" + }, + "publicKeyDer": "302a300506032b65700321006220972d3f7d150b36790d7d522384876d64d640cd9913186815e1629582ed36", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAYiCXLT99FQs2eQ19UiOEh21k1kDNmRMYaBXhYpWC7TY=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "YiCXLT99FQs2eQ19UiOEh21k1kDNmRMYaBXhYpWC7TY" + }, + "tests": [ + { + "tcId": 140, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "6f2f0245de4587062979d0422d349f93ccdc3af2", + "sig": "4adeaff7a58c5010a5a067feea0ae504d37b0c6a76c6c153e222f13409dff2df0fab69bc5059b97d925dc1b89e9851d7c627cb82d65585f9fd976124553f8902", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "7b64a28c50ec7678a90e3e1a21522e30ac9db7b5215aea2bfb33bea037eab987" + }, + "publicKeyDer": "302a300506032b65700321007b64a28c50ec7678a90e3e1a21522e30ac9db7b5215aea2bfb33bea037eab987", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAe2SijFDsdnipDj4aIVIuMKydt7UhWuor+zO+oDfquYc=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "e2SijFDsdnipDj4aIVIuMKydt7UhWuor-zO-oDfquYc" + }, + "tests": [ + { + "tcId": 141, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "6e911edb27a170b983d4dee1110554f804330f41", + "sig": "4204d620cde0c3008c0b2901f5d6b44f88f0e3cb4f4d62252bf6f3cb37c1fb150a9ccb296afe5e7c75f65b5c8edd13dc4910ffe1e1265b3707c59042cf9a5902", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "724452210a9e4c994819229bf12bf84e95768a3a97c08d8d8f5f939a4cad34c5" + }, + "publicKeyDer": "302a300506032b6570032100724452210a9e4c994819229bf12bf84e95768a3a97c08d8d8f5f939a4cad34c5", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAckRSIQqeTJlIGSKb8Sv4TpV2ijqXwI2Nj1+TmkytNMU=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "ckRSIQqeTJlIGSKb8Sv4TpV2ijqXwI2Nj1-TmkytNMU" + }, + "tests": [ + { + "tcId": 142, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "b8cf807eea809aaf739aa091f3b7a3f2fd39fb51", + "sig": "f8a69d3fd8c2ff0a9dec41e4c6b43675ce08366a35e220b1185ffc246c339e22c20ac661e866f52054015efd04f42eca2adcee6834c4df923b4a62576e4dff0e", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "bad265b294ed2f422cb6a141694086238fbfe987571aa765d8b4f3a24105aa01" + }, + "publicKeyDer": "302a300506032b6570032100bad265b294ed2f422cb6a141694086238fbfe987571aa765d8b4f3a24105aa01", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAutJlspTtL0IstqFBaUCGI4+/6YdXGqdl2LTzokEFqgE=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "utJlspTtL0IstqFBaUCGI4-_6YdXGqdl2LTzokEFqgE" + }, + "tests": [ + { + "tcId": 143, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "01a2b5f7fee813b4e9bd7fc25137648004795010", + "sig": "61792c9442bc6338ac41fd42a40bee9b02ec1836503d60ff725128c63d72808880c36e6190b7da525cbee5d12900aa043547dd14a2709ef9e49d628f37f6b70c", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "0aaee4b723db9b51ba7d22eb23eb8a76a5ac02f4fc9dd06f77bea42e1d37ec5a" + }, + "publicKeyDer": "302a300506032b65700321000aaee4b723db9b51ba7d22eb23eb8a76a5ac02f4fc9dd06f77bea42e1d37ec5a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEACq7ktyPbm1G6fSLrI+uKdqWsAvT8ndBvd76kLh037Fo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "Cq7ktyPbm1G6fSLrI-uKdqWsAvT8ndBvd76kLh037Fo" + }, + "tests": [ + { + "tcId": 144, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "0fbf5d47cb5d498feace8f98f1896208da38a885", + "sig": "fa3cd41e3a8c00b19eecd404a63c3cb787cd30de0dfc936966cff2117f5aff18db6bef80fcfd8856f3fb2e9c3dc47593e9471103032af918feee638a33d40505", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "812344af15a91ba83c2c91e96f1727ac0f3c4c41385b9fa84efa399ada5168be" + }, + "publicKeyDer": "302a300506032b6570032100812344af15a91ba83c2c91e96f1727ac0f3c4c41385b9fa84efa399ada5168be", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAgSNErxWpG6g8LJHpbxcnrA88TEE4W5+oTvo5mtpRaL4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "gSNErxWpG6g8LJHpbxcnrA88TEE4W5-oTvo5mtpRaL4" + }, + "tests": [ + { + "tcId": 145, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "36e67c1939750bffb3e4ba6cb85562612275e862", + "sig": "97fbbcd7a1d0eb42d2f8c42448ef35a2c2472740556b645547865330d6c57068af377fced08aaf810c08cd3c43d296f1975710312e9334c98b485f831efa4103", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "0ee5cb5597fbdf8dccc48b01485e39b33aa133b52d30d23740277267cfec3e3e" + }, + "publicKeyDer": "302a300506032b65700321000ee5cb5597fbdf8dccc48b01485e39b33aa133b52d30d23740277267cfec3e3e", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEADuXLVZf7343MxIsBSF45szqhM7UtMNI3QCdyZ8/sPj4=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "DuXLVZf7343MxIsBSF45szqhM7UtMNI3QCdyZ8_sPj4" + }, + "tests": [ + { + "tcId": 146, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "13945c894c1d3fe8562e8b20e5f0efaa26ade8e3", + "sig": "d7dbaa337ffd2a5fd8d5fd8ad5aeccc0c0f83795c2c59fe62a40b87903b1ae62ed748a8df5af4d32f9f822a65d0e498b6f40eaf369a9342a1164ee7d08b58103", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "9fba1de92b60b5b4703089763d0d6f9125e4dd7efae41f08a22882aef96892c4" + }, + "publicKeyDer": "302a300506032b65700321009fba1de92b60b5b4703089763d0d6f9125e4dd7efae41f08a22882aef96892c4", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAn7od6StgtbRwMIl2PQ1vkSXk3X765B8IoiiCrvloksQ=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "n7od6StgtbRwMIl2PQ1vkSXk3X765B8IoiiCrvloksQ" + }, + "tests": [ + { + "tcId": 147, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "4de142af4b8402f80a47fa812df84f42e283cee7", + "sig": "09a2ed303a2fa7027a1dd7c3b0d25121eeed2b644a2fbc17aa0c8aea4524071ede7e7dd7a536d5497f8165d29e4e1b63200f74bbae39fbbbccb29889c62c1f09", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "7582ab1b52e1316e5c13671f43b39ca36b28133cd0832831bcddd0b0f23398cb" + }, + "publicKeyDer": "302a300506032b65700321007582ab1b52e1316e5c13671f43b39ca36b28133cd0832831bcddd0b0f23398cb", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAdYKrG1LhMW5cE2cfQ7Oco2soEzzQgygxvN3QsPIzmMs=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "dYKrG1LhMW5cE2cfQ7Oco2soEzzQgygxvN3QsPIzmMs" + }, + "tests": [ + { + "tcId": 148, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "563357f41b8b23b1d83f19f5667177a67da20b18", + "sig": "e6884a6e6b2e60a0b5862251c001e7c79d581d777d6fc11d218d0aecd79f26a30e2ca22cc7c4674f8b72655bc4ee5cb5494ca07c05177656142ac55cc9d33e02", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "dd2d678bae222f3fb6e8278f08cc9e1a66339c926c29ac0a16f9717f5ee18cd8" + }, + "publicKeyDer": "302a300506032b6570032100dd2d678bae222f3fb6e8278f08cc9e1a66339c926c29ac0a16f9717f5ee18cd8", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA3S1ni64iLz+26CePCMyeGmYznJJsKawKFvlxf17hjNg=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "3S1ni64iLz-26CePCMyeGmYznJJsKawKFvlxf17hjNg" + }, + "tests": [ + { + "tcId": 149, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "931bbf9c877a6571cf7d4609fc3eb867edd43f51", + "sig": "6124c206d864507ea5d984b363b4cf583314db6856a45ded5e61eebff4d5e337e0b4c82b445ae2e52d549d2d961eace2ea01f81158e09a9686baa040db65ad08", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "ccbe7cb2e4bc215cee2f885e1d22f7e0d582b2bbbd782c104e548b152d26fc69" + }, + "publicKeyDer": "302a300506032b6570032100ccbe7cb2e4bc215cee2f885e1d22f7e0d582b2bbbd782c104e548b152d26fc69", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAzL58suS8IVzuL4heHSL34NWCsru9eCwQTlSLFS0m/Gk=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "zL58suS8IVzuL4heHSL34NWCsru9eCwQTlSLFS0m_Gk" + }, + "tests": [ + { + "tcId": 150, + "comment": "regression test for arithmetic error", + "flags": [ + "TinkOverflow" + ], + "msg": "44530b0b34f598767a7b875b0caee3c7b9c502d1", + "sig": "cfbd450a2c83cb8436c348822fe3ee347d4ee937b7f2ea11ed755cc52852407c9eec2c1fa30d2f9aef90e89b2cc3bcef2b1b9ca59f712110d19894a9cf6a2802", + "result": "valid" + } + ] + }, + { + "type": "EddsaVerify", + "source": { + "name": "github/cpu/eddsazerosigngen", + "version": "1.0" + }, + "publicKey": { + "type": "EDDSAPublicKey", + "curve": "edwards25519", + "keySize": 255, + "pk": "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a" + }, + "publicKeyDer": "302a300506032b6570032100d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo=\n-----END PUBLIC KEY-----\n", + "publicKeyJwk": { + "kty": "OKP", + "crv": "Ed25519", + "kid": "none", + "x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo" + }, + "tests": [ + { + "tcId": 151, + "comment": "R encodes y = 1 with the sign bit of x set. The only point with y = 1 has x = 0, so decoding must fail (RFC 8032, Section 5.1.3). Accepted only by verifiers that ignore the sign of x.", + "flags": [ + "InvalidEncoding" + ], + "msg": "313233343030", + "sig": "0100000000000000000000000000000000000000000000000000000000000080c803ee1f2342aa96ff698a393d1ab5e66f3eda101d6d120b394c3fd32c117d0a", + "result": "invalid" + } + ] + } + ] +} diff --git a/packages/backend/platform/test-vectors/x25519.json b/packages/backend/platform/test-vectors/x25519.json new file mode 100644 index 0000000000..1ffa8e68f2 --- /dev/null +++ b/packages/backend/platform/test-vectors/x25519.json @@ -0,0 +1,6056 @@ +{ + "algorithm": "XDH", + "schema": "xdh_comp_schema_v1.json", + "numberOfTests": 518, + "header": [ + "Test vectors of type XdhComp are intended for tests that verify the", + "computation of an Xdh key exchange." + ], + "notes": { + "EdgeCaseMultiplication": { + "bugType": "CONFIDENTIALITY", + "description": "The public key in this test vector has been constructed, so that an edge case during the multiplication with a small k occurs. I.e., these are cases where during the multiplication one of the internal variables has a values such as -1, 0 or 1. This checks for errors in the integer arithmetic.", + "effect": "The effect of arithmetic errors in the multiplication is that information about the private key is leaked. In the worst case such an error could be exploited to find the private key." + }, + "EdgeCasePrivateKey": { + "bugType": "EDGE_CASE", + "description": "The private key in this test vector contains a special case value. The goal of the test vector is to check for edge case behaviour." + }, + "EdgeCaseShared": { + "bugType": "EDGE_CASE", + "description": "The values in this test case have been constructed such that the shared secret is an edge case. The goal is to detect errors in the integer arithmetic." + }, + "Ktv": { + "bugType": "BASIC", + "description": "Known test vector from RFC. We assume that these test cases have been checked before. Hence, if such a test vector fails then we may reasonably assume that there is an error in the setup." + }, + "LowOrderPublic": { + "bugType": "DEFINED", + "description": "The curves and its twists contain some points of low order. This test vector contains a public key with such a point. While many libraries reject such public keys, doing so is not a strict requirement according to RFC 7748." + }, + "NonCanonicalPublic": { + "bugType": "DEFINED", + "description": "The public key is in non-canonical form. RFC 7748, section 5 defines the value that this public key represents. Section 7 of the same RFC recommends accepting such keys. If a non-canonical key is accepted then it must follow the RFC." + }, + "Normal": { + "bugType": "BASIC", + "description": "The test vector contains a pseudorandomly generated, valid test case. Implementations are expected to pass this test." + }, + "SmallPublicKey": { + "bugType": "DEFINED", + "description": "The public key is insecure and does not belong to a valid private key. Some libraries reject such keys." + }, + "SpecialPublicKey": { + "bugType": "EDGE_CASE", + "description": "The test vector contains a public key that has a special form. The goal of the test vector is to check for errors in the implementation of the integer arithmetic." + }, + "Twist": { + "bugType": "DEFINED", + "description": "Public keys are either points on a given curve or points on its twist. The functions X25519 and X448 are defined for points on a twist with the goal that the output of computations do not leak private keys. Implementations may accept or reject points on a twist. If a point multiplication is performed then it is important that the result is correct, since otherwise attacks with invalid keys are possible." + }, + "ZeroSharedSecret": { + "bugType": "DEFINED", + "description": "Some libraries include a check that the shared secret is not all-zero. This check is described in Section 6.1 of RFC 7748." + } + }, + "testGroups": [ + { + "type": "XdhComp", + "source": { + "name": "google-wycheproof", + "version": "0.9rc5" + }, + "curve": "curve25519", + "tests": [ + { + "tcId": 1, + "comment": "normal case", + "flags": [ + "Normal" + ], + "public": "504a36999f489cd2fdbc08baff3d88fa00569ba986cba22548ffde80f9806829", + "private": "c8a9d5a91091ad851c668b0736c1c9a02936c0d3ad62670858088047ba057475", + "shared": "436a2c040cf45fea9b29a0cb81b1f41458f863d0d61b453d0a982720d6d61320", + "result": "valid" + }, + { + "tcId": 2, + "comment": "public key on twist", + "flags": [ + "Twist" + ], + "public": "63aa40c6e38346c5caf23a6df0a5e6c80889a08647e551b3563449befcfc9733", + "private": "d85d8c061a50804ac488ad774ac716c3f5ba714b2712e048491379a500211958", + "shared": "279df67a7c4611db4708a0e8282b195e5ac0ed6f4b2f292c6fbd0acac30d1332", + "result": "acceptable" + }, + { + "tcId": 3, + "comment": "public key on twist", + "flags": [ + "Twist" + ], + "public": "0f83c36fded9d32fadf4efa3ae93a90bb5cfa66893bc412c43fa7287dbb99779", + "private": "c8b45bfd32e55325d9fd648cb302848039000b390e44d521e58aab3b29a6964b", + "shared": "4bc7e01e7d83d6cf67632bf90033487a5fc29eba5328890ea7b1026d23b9a45f", + "result": "acceptable" + }, + { + "tcId": 4, + "comment": "public key on twist", + "flags": [ + "Twist" + ], + "public": "0b8211a2b6049097f6871c6c052d3c5fc1ba17da9e32ae458403b05bb283092a", + "private": "f876e34bcbe1f47fbc0fddfd7c1e1aa53d57bfe0f66d243067b424bb6210be51", + "shared": "119d37ed4b109cbd6418b1f28dea83c836c844715cdf98a3a8c362191debd514", + "result": "acceptable" + }, + { + "tcId": 5, + "comment": "public key on twist", + "flags": [ + "Twist" + ], + "public": "343ac20a3b9c6a27b1008176509ad30735856ec1c8d8fcae13912d08d152f46c", + "private": "006ac1f3a653a4cdb1d37bba94738f8b957a57beb24d646e994dc29a276aad45", + "shared": "cc4873aed3fcee4b3aaea7f0d20716b4276359081f634b7bea4b705bfc8a4d3e", + "result": "acceptable" + }, + { + "tcId": 6, + "comment": "public key on twist", + "flags": [ + "Twist" + ], + "public": "fa695fc7be8d1be5bf704898f388c452bafdd3b8eae805f8681a8d15c2d4e142", + "private": "08da77b26d06dff9d9f7fd4c5b3769f8cdd5b30516a5ab806be324ff3eb69e60", + "shared": "b6f8e2fcb1affc79e2ff798319b2701139b95ad6dd07f05cbac78bd83edfd92e", + "result": "acceptable" + }, + { + "tcId": 7, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "0200000000000000000000000000000000000000000000000000000000000000", + "private": "d03edde9f3e7b799045f9ac3793d4a9277dadeadc41bec0290f81f744f73775f", + "shared": "b87a1722cc6c1e2feecb54e97abd5a22acc27616f78f6e315fd2b73d9f221e57", + "result": "acceptable" + }, + { + "tcId": 8, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "0300000000000000000000000000000000000000000000000000000000000000", + "private": "e09d57a914e3c29036fd9a442ba526b5cdcdf28216153e636c10677acab6bd6a", + "shared": "a29d8dad28d590cd3017aa97a4761f851bf1d3672b042a4256a45881e2ad9035", + "result": "acceptable" + }, + { + "tcId": 9, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ff00000000000000000000000000000000000000000000000000000000000000", + "private": "e0ed78e6ee02f08bec1c15d66fbbe5b83ffc37ea14e1512cc1bd4b2ea6d8066f", + "shared": "e703bc8aa94b7d87ba34e2678353d12cdaaa1a97b5ca3e1b8c060c4636087f07", + "result": "acceptable" + }, + { + "tcId": 10, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ffff000000000000000000000000000000000000000000000000000000000000", + "private": "a8a1a2ec9fa9915ae7aace6a37c68591d39e15995c4ef5ebd3561c02f72dda41", + "shared": "ff5cf041e924dbe1a64ac9bdba96bdcdfaf7d59d91c7e33e76ed0e4c8c836446", + "result": "acceptable" + }, + { + "tcId": 11, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "0000010000000000000000000000000000000000000000000000000000000000", + "private": "a8c9df5820eb399d471dfa3215d96055b3c7d0f4ea49f8ab028d6a6e3194517b", + "shared": "a92a96fa029960f9530e6fe37e2429cd113be4d8f3f4431f8546e6c76351475d", + "result": "acceptable" + }, + { + "tcId": 12, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ffffff0f00000000000000000000000000000000000000000000000000000000", + "private": "d0d31c491cbd39271859b4a63a316826507b1db8c701709fd0ffe3eb21c4467c", + "shared": "9f8954868158ec62b6b586b8cae1d67d1b9f4c03d5b3ca0393cee71accc9ab65", + "result": "acceptable" + }, + { + "tcId": 13, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ffffffff00000000000000000000000000000000000000000000000000000000", + "private": "d053e7bf1902619cd61c9c739e09d54c4147f46d190720966f7de1d9cffbbd4e", + "shared": "6cbf1dc9af97bc148513a18be4a257de1a3b065584df94e8b43c1ab89720b110", + "result": "acceptable" + }, + { + "tcId": 14, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "0000000000001000000000000000000000000000000000000000000000000000", + "private": "a021d75009a4596e5a33f12921c10f3670933bc80dde3bba22881b6120582144", + "shared": "38284b7086095a9406028c1f800c071ea106039ad7a1d7f82fe00906fd90594b", + "result": "acceptable" + }, + { + "tcId": 15, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "0000000000000001000000000000000000000000000000000000000000000000", + "private": "a89c6687f99bd569a01fd8bd438236160d15ce2c57c1d71ebaa3f2da88233863", + "shared": "c721041df0244071794a8db06b9f7eaeec690c257265343666f4416f4166840f", + "result": "acceptable" + }, + { + "tcId": 16, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ffffffffffffffff000000000000000000000000000000000000000000000000", + "private": "68964bca51465bf0f5ba524b1482ceff0e960a1ed9f48dcc30f1608d0e501a50", + "shared": "25ff9a6631b143dbdbdc207b38e38f832ae079a52a618c534322e77345fd9049", + "result": "acceptable" + }, + { + "tcId": 17, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "0000000000000000000000000000000000000000000000000100000000000000", + "private": "a8e56bb13a9f2b33b8e6750b4a6e6621dc26ae8c5c624a0992c8f0d5b910f170", + "shared": "f294e7922c6cea587aefe72911630d50f2456a2ba7f21207d57f1ecce04f6213", + "result": "acceptable" + }, + { + "tcId": 18, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000", + "private": "e045f55c159451e97814d747050fd7769bd478434a01876a56e553f66384a74c", + "shared": "ff4715bd8cf847b77c244ce2d9b008b19efaa8e845feb85ce4889b5b2c6a4b4d", + "result": "acceptable" + }, + { + "tcId": 19, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ffffff030000f8ffff1f0000c0ffffff000000feffff070000f0ffff3f000000", + "private": "105d621e1ef339c3d99245cfb77cd3a5bd0c4427a0e4d8752c3b51f045889b4f", + "shared": "61eace52da5f5ecefafa4f199b077ff64f2e3d2a6ece6f8ec0497826b212ef5f", + "result": "acceptable" + }, + { + "tcId": 20, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f0000", + "private": "d88a441e706f606ae7f630f8b21f3c2554739e3e549f804118c03771f608017b", + "shared": "ff1b509a0a1a54726086f1e1c0acf040ab463a2a542e5d54e92c6df8126cf636", + "result": "acceptable" + }, + { + "tcId": 21, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "0000000000000000000000000000000000000000000000000000000000800000", + "private": "80bbad168222276200aafd36f7f25fdc025632d8bf9f6354bb762e06fb63e250", + "shared": "f134e6267bf93903085117b99932cc0c7ba26f25fca12102a26d7533d9c4272a", + "result": "acceptable" + }, + { + "tcId": 22, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1f", + "private": "68e134092e94e622c8a0cd18aff55be23dabd994ebdee982d90601f6f0f4b369", + "shared": "74bfc15e5597e9f5193f941e10a5c008fc89f051392723886a4a8fe5093a7354", + "result": "acceptable" + }, + { + "tcId": 23, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "0000000000000000000000000000000000000000000000000000000000000020", + "private": "e8e43fc1ebac0bbc9b99c8035ee1ac59b90f19a16c42c0b90f96adfcc5fdee78", + "shared": "0d41a5b3af770bf2fcd34ff7972243a0e2cf4d34f2046a144581ae1ec68df03b", + "result": "acceptable" + }, + { + "tcId": 24, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "000000fcffff070000e0ffff3f000000ffffff010000f8ffff0f0000c0ffff7f", + "private": "18bffb16f92680a9e267473e43c464476d5372ddd1f664f3d0678efe7c98bc79", + "shared": "5894e0963583ae14a0b80420894167f4b759c8d2eb9b69cb675543f66510f646", + "result": "acceptable" + }, + { + "tcId": 25, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "ffffffffffffff00000000000000ffffffffffffff00000000000000ffffff7f", + "private": "300305eb002bf86c71fe9c0b311993727b9dc618d0ce7251d0dfd8552d17905d", + "shared": "f8624d6e35e6c548ac47832f2e5d151a8e53b9290363b28d2ab8d84ab7cb6a72", + "result": "acceptable" + }, + { + "tcId": 26, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffff7f", + "private": "80da9f02842247d4ade5ddbac51dbce55ea7dca2844e7f97ab8987ce7fd8bc71", + "shared": "bfe183ba3d4157a7b53ef178613db619e27800f85359c0b39a9fd6e32152c208", + "result": "acceptable" + }, + { + "tcId": 27, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "edfffffffffffffffffffffffffffeffffffffffffffffffffffffffffffff7f", + "private": "806e7f26ca3246de8182946cbed09f52b95da626c823c7b50450001a47b7b252", + "shared": "bca4a0724f5c1feb184078448c898c8620e7caf81f64cca746f557dff2498859", + "result": "acceptable" + }, + { + "tcId": 28, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "edfffffffffffffeffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "58354fd64bc022cba3a71b2ae64281e4ea7bf6d65fdbaead1440eeb18604fe62", + "shared": "b3418a52464c15ab0cacbbd43887a1199206d59229ced49202300638d7a40f04", + "result": "acceptable" + }, + { + "tcId": 29, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "edffffffffffefffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "f0019cf05159794cc8052b00c2e75b7f46fb6693c4b38c02b12a4fe272e8556a", + "shared": "fcde6e0a3d5fd5b63f10c2d3aad4efa05196f26bc0cb26fd6d9d3bd015eaa74f", + "result": "acceptable" + }, + { + "tcId": 30, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "edfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "d0fca64cc5f3a0c8e75c824e8b09d1615aa79aeba139bb7302e2bb2fcbe54b40", + "shared": "7d62f189444c6231a48afab10a0af2eee4a52e431ea05ff781d616af2114672f", + "result": "acceptable" + }, + { + "tcId": 31, + "comment": "public key on twist", + "flags": [ + "Twist", + "SpecialPublicKey" + ], + "public": "eaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "d02456e456911d3c6cd054933199807732dfdc958642ad1aebe900c793bef24a", + "shared": "07ba5fcbda21a9a17845c401492b10e6de0a168d5c94b606694c11bac39bea41", + "result": "acceptable" + }, + { + "tcId": 32, + "comment": "public key = 0", + "flags": [ + "SmallPublicKey", + "LowOrderPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "0000000000000000000000000000000000000000000000000000000000000000", + "private": "88227494038f2bb811d47805bcdf04a2ac585ada7f2f23389bfd4658f9ddd45e", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 33, + "comment": "public key = 1", + "flags": [ + "SmallPublicKey", + "LowOrderPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "0100000000000000000000000000000000000000000000000000000000000000", + "private": "48232e8972b61c7e61930eb9450b5070eae1c670475685541f0476217e48184f", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 34, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "0400000000000000000000000000000000000000000000000000000000000000", + "private": "a8386f7f16c50731d64f82e6a170b142a4e34f31fd7768fcb8902925e7d1e25a", + "shared": "34b7e4fa53264420d9f943d15513902342b386b172a0b0b7c8b8f2dd3d669f59", + "result": "valid" + }, + { + "tcId": 35, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "0001000000000000000000000000000000000000000000000000000000000000", + "private": "d05abd08bf5e62538cb9a5ed105dbedd6de38d07940085072b4311c2678ed77d", + "shared": "3aa227a30781ed746bd4b3365e5f61461b844d09410c70570abd0d75574dfc77", + "result": "valid" + }, + { + "tcId": 36, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "0000001000000000000000000000000000000000000000000000000000000000", + "private": "f0b8b0998c8394364d7dcb25a3885e571374f91615275440db0645ee7c0a6f6b", + "shared": "97755e7e775789184e176847ffbc2f8ef98799d46a709c6a1c0ffd29081d7039", + "result": "valid" + }, + { + "tcId": 37, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "0000000001000000000000000000000000000000000000000000000000000000", + "private": "d00c35dc17460f360bfae7b94647bc4e9a7ad9ce82abeadb50a2f1a0736e2175", + "shared": "c212bfceb91f8588d46cd94684c2c9ee0734087796dc0a9f3404ff534012123d", + "result": "valid" + }, + { + "tcId": 38, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ffffffffffff0f00000000000000000000000000000000000000000000000000", + "private": "385fc8058900a85021dd92425d2fb39a62d4e23aef1d5104c4c2d88712d39e4d", + "shared": "388faffb4a85d06702ba3e479c6b216a8f33efce0542979bf129d860f93b9f02", + "result": "valid" + }, + { + "tcId": 39, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ffffffffffffff00000000000000000000000000000000000000000000000000", + "private": "e0614b0c408af24d9d24c0a72f9137fbd6b16f02ccc94797ea3971ab16073a7f", + "shared": "877fec0669d8c1a5c866641420eea9f6bd1dfd38d36a5d55a8c0ab2bf3105c68", + "result": "valid" + }, + { + "tcId": 40, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "0000000000000000010000000000000000000000000000000000000000000000", + "private": "f004b8fd05d9fffd853cdc6d2266389b737e8dfc296ad00b5a69b2a9dcf72956", + "shared": "180373ea0f23ea73447e5a90398a97d490b541c69320719d7dd733fb80d5480f", + "result": "valid" + }, + { + "tcId": 41, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffff000000000000000000000000000000000000", + "private": "e80bf0e609bf3b035b552f9db7e9ecbc44a04b7910b1493661a524f46c3c2277", + "shared": "208142350af938aba52a156dce19d3c27ab1628729683cf4ef2667c3dc60cf38", + "result": "valid" + }, + { + "tcId": 42, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "0000000000000000000000000000010000000000000000000000000000000000", + "private": "48890e95d1b03e603bcb51fdf6f296f1f1d10f5df10e00b8a25c9809f9aa1a54", + "shared": "1c3263890f7a081cefe50cb92abd496582d90dcc2b9cb858bd286854aa6b0a7e", + "result": "valid" + }, + { + "tcId": 43, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffffffff00000000000000000000000000000000", + "private": "a806f1e39b742615a7dde3b29415ed827c68f07d4a47a4d9595c40c7fccb9263", + "shared": "56128e78d7c66f48e863e7e6f2caa9c0988fd439deac11d4aac9664083087f7a", + "result": "valid" + }, + { + "tcId": 44, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "0000000000000000000000000000000001000000000000000000000000000000", + "private": "9899d5e265e1fc7c32345227d6699a6d6b5517cf33b43ab156ee20df4878794e", + "shared": "30eca56f1f1c2e8ff780134e0e9382c5927d305d86b53477e9aeca79fc9ced05", + "result": "valid" + }, + { + "tcId": 45, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000", + "private": "d842316e5476aeaee838204258a06f15de011ba40b9962705e7f6e889fe71f40", + "shared": "cb21b7aa3f992ecfc92954849154b3af6b96a01f17bf21c612da748db38eb364", + "result": "valid" + }, + { + "tcId": 46, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ffffffff00000000ffffffff00000000ffffffff00000000ffffffff00000000", + "private": "a0933ee30512b25ee4e900aaa07f73e507a8ec53b53a44626e0f589af4e0356c", + "shared": "c5caf8cabc36f086deaf1ab226434098c222abdf8acd3ce75c75e9debb271524", + "result": "valid" + }, + { + "tcId": 47, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "0000000000000000000000000000000000000000000000000000000001000000", + "private": "38d6403e1377734cdce98285e820f256ad6b769d6b5612bcf42cf2b97945c073", + "shared": "4d46052c7eabba215df8d91327e0c4610421d2d9129b1486d914c766cf104c27", + "result": "valid" + }, + { + "tcId": 48, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03", + "private": "182191b7052e9cd630ef08007fc6b43bc7652913be6774e2fd271b71b962a641", + "shared": "a0e0315175788362d4ebe05e6ac76d52d40187bd687492af05abc7ba7c70197d", + "result": "valid" + }, + { + "tcId": 49, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ffffff0f000000ffffff0f000000ffffff0f000000ffffff0f000000ffffff0f", + "private": "106221fe5694a710d6e147696c5d5b93d6887d584f24f228182ebe1b1d2db85d", + "shared": "5e64924b91873b499a5402fa64337c65d4b2ed54beeb3fa5d7347809e43aef1c", + "result": "valid" + }, + { + "tcId": 50, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "000000fcffff030000e0ffff1f000000ffffff000000f8ffff070000c0ffff3f", + "private": "d035de9456080d85a912083b2e3c7ddd7971f786f25a96c5e782cf6f4376e362", + "shared": "c052466f9712d9ec4ef40f276bb7e6441c5434a83efd8e41d20ce83f2dbf5952", + "result": "valid" + }, + { + "tcId": 51, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", + "private": "a8f37318a4c760f3cb2d894822918735683cb1edacf3e666e15694154978fd6d", + "shared": "d151b97cba9c25d48e6d576338b97d53dd8b25e84f65f7a2091a17016317c553", + "result": "valid" + }, + { + "tcId": 52, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5f", + "private": "20d4d624cf732f826f09e8088017742f13f2da98f4dcf4b40519adb790cebf64", + "shared": "5716296baf2b1a6b9cd15b23ba86829743d60b0396569be1d5b40014c06b477d", + "result": "valid" + }, + { + "tcId": 53, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fff7f", + "private": "d806a735d138efb3b404683c9d84485ab4af540d0af253b574323d8913003c66", + "shared": "ddbd56d0454b794c1d1d4923f023a51f6f34ef3f4868e3d6659307c683c74126", + "result": "valid" + }, + { + "tcId": 54, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "fffffffffeffff7ffffffffffeffff7ffffffffffeffff7ffffffffffeffff7f", + "private": "184198c6228177f3ef41dc9a341258f8181ae365fe9ec98d93639b0bbee1467d", + "shared": "8039eebed1a4f3b811ea92102a6267d4da412370f3f0d6b70f1faaa2e8d5236d", + "result": "valid" + }, + { + "tcId": 55, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "edfffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff7f", + "private": "f0a46a7f4b989fe515edc441109346ba746ec1516896ec5b7e4f4d903064b463", + "shared": "b69524e3955da23df6ad1a7cd38540047f50860f1c8fded9b1fdfcc9e812a035", + "result": "valid" + }, + { + "tcId": 56, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "edfffffffffffffffffffffffffffffffffffffffffffffffeffffffffffff7f", + "private": "881874fda3a99c0f0216e1172fbd07ab1c7df78602cc6b11264e57aab5f23a49", + "shared": "e417bb8854f3b4f70ecea557454c5c4e5f3804ae537960a8097b9f338410d757", + "result": "valid" + }, + { + "tcId": 57, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "edfffffffffffffffffffffffffffffffeffffffffffffffffffffffffffff7f", + "private": "b8d0f1ae05a5072831443150e202ac6db00322cdf341f467e9f296588b04db72", + "shared": "afca72bb8ef727b60c530c937a2f7d06bb39c39b903a7f4435b3f5d8fc1ca810", + "result": "valid" + }, + { + "tcId": 58, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "edfffffffffffffffeffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "c8619ba988859db7d6f20fbf3ffb8b113418cc278065b4e8bb6d4e5b3e7cb569", + "shared": "7e41c2886fed4af04c1641a59af93802f25af0f9cba7a29ae72e2a92f35a1e5a", + "result": "valid" + }, + { + "tcId": 59, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "edfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "f8d4ca1f37a30ec9acd6dbe5a6e150e5bc447d22b355d80ba002c5b05c26935d", + "shared": "dd3abd4746bf4f2a0d93c02a7d19f76d921c090d07e6ea5abae7f28848355947", + "result": "valid" + }, + { + "tcId": 60, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "edffffefffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "88037ac8e33c72c2c51037c7c8c5288bba9265c82fd8c31796dd7ea5df9aaa4a", + "shared": "8c27b3bff8d3c1f6daf2d3b7b3479cf9ad2056e2002be247992a3b29de13a625", + "result": "valid" + }, + { + "tcId": 61, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "edfffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "5034ee7bf83a13d9167df86b0640294f3620f4f4d9030e5e293f9190824ae562", + "shared": "8e1d2207b47432f881677448b9d426a30de1a1f3fd38cad6f4b23dbdfe8a2901", + "result": "valid" + }, + { + "tcId": 62, + "comment": "edge case public key", + "flags": [ + "SpecialPublicKey" + ], + "public": "ebffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "40bd4e1caf39d9def7663823502dad3e7d30eb6eb01e9b89516d4f2f45b7cd7f", + "shared": "2cf6974b0c070e3707bf92e721d3ea9de3db6f61ed810e0a23d72d433365f631", + "result": "valid" + }, + { + "tcId": 63, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b800", + "private": "e0f978dfcd3a8f1a5093418de54136a584c20b7b349afdf6c0520886f95b1272", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 64, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f1157", + "private": "387355d995616090503aafad49da01fb3dc3eda962704eaee6b86f9e20c92579", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 65, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "Twist", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "c8fe0df92ae68a03023fc0c9adb9557d31be7feed0d3ab36c558143daf4dbb40", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 66, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "NonCanonicalPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b880", + "private": "c8d74acde5934e64b9895d5ff7afbffd7f704f7dfccff7ac28fa62a1e6410347", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 67, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "NonCanonicalPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f11d7", + "private": "b85649d5120e01e8ccaf7b2fb8d81b62e8ad6f3d5c0553fdde1906cb9d79c050", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 68, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "NonCanonicalPublic", + "SpecialPublicKey", + "ZeroSharedSecret", + "Twist" + ], + "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "2064b2f4c9dc97ec7cf58932fdfa3265ba6ea4d11f0259b8efc8afb35db88c48", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 69, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "0000000000000000000000000000000000000000000000000000000000000000", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 70, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "0100000000000000000000000000000000000000000000000000000000000000", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 71, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret", + "Twist" + ], + "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 72, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f1157", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 73, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b800", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 74, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 75, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "eeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 76, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "0000000000000000000000000000000000000000000000000000000000000080", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 77, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "0100000000000000000000000000000000000000000000000000000000000080", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 78, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret", + "Twist" + ], + "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 79, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f11d7", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 80, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b880", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 81, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 82, + "comment": "public key with low order", + "flags": [ + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "eeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 83, + "comment": "public key == 0", + "flags": [ + "SmallPublicKey", + "LowOrderPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "40ff586e73d61f0960dc2d763ac19e98225f1194f6fe43d5dd97ad55b3d35961", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 84, + "comment": "public key == 0", + "flags": [ + "SmallPublicKey", + "LowOrderPublic", + "NonCanonicalPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "0000000000000000000000000000000000000000000000000000000000000080", + "private": "7887889bac4c629a101d3724f2ed8b98d936fde79e1a1f77d86779626bf8f263", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 85, + "comment": "public key == 1", + "flags": [ + "SmallPublicKey", + "LowOrderPublic", + "NonCanonicalPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "eeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "584fceaebae944bfe93b2e0d0a575f706ce5ada1da2b1311c3b421f9186c7a6f", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 86, + "comment": "public key == 1", + "flags": [ + "SmallPublicKey", + "LowOrderPublic", + "NonCanonicalPublic", + "SpecialPublicKey", + "ZeroSharedSecret" + ], + "public": "0100000000000000000000000000000000000000000000000000000000000080", + "private": "e07971ee820e48b0b266d8be3cdbbb5e900a43f59ee8535c6572418615de4962", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 87, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "Twist", + "SpecialPublicKey" + ], + "public": "efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "0016b62af5cabde8c40938ebf2108e05d27fa0533ed85d70015ad4ad39762d54", + "shared": "b4d10e832714972f96bd3382e4d082a21a8333a16315b3ffb536061d2482360d", + "result": "acceptable" + }, + { + "tcId": 88, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "Twist", + "SpecialPublicKey" + ], + "public": "f0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "d83650ba7cec115881916255e3fa5fa0d6b8dcf968731bd2c9d2aec3f561f649", + "shared": "515eac8f1ed0b00c70762322c3ef86716cd2c51fe77cec3d31b6388bc6eea336", + "result": "acceptable" + }, + { + "tcId": 89, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "SpecialPublicKey" + ], + "public": "f1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "88dd14e2711ebd0b0026c651264ca965e7e3da5082789fbab7e24425e7b4377e", + "shared": "6919992d6a591e77b3f2bacbd74caf3aea4be4802b18b2bc07eb09ade3ad6662", + "result": "acceptable" + }, + { + "tcId": 90, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "98c2b08cbac14e15953154e3b558d42bb1268a365b0ef2f22725129d8ac5cb7f", + "shared": "9c034fcd8d3bf69964958c0105161fcb5d1ea5b8f8abb371491e42a7684c2322", + "result": "acceptable" + }, + { + "tcId": 91, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "Twist", + "SpecialPublicKey" + ], + "public": "0200000000000000000000000000000000000000000000000000000000000080", + "private": "c0697b6f05e0f3433b44ea352f20508eb0623098a7770853af5ca09727340c4e", + "shared": "ed18b06da512cab63f22d2d51d77d99facd3c4502e4abf4e97b094c20a9ddf10", + "result": "acceptable" + }, + { + "tcId": 92, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "Twist", + "SpecialPublicKey" + ], + "public": "0300000000000000000000000000000000000000000000000000000000000080", + "private": "18422b58a18e0f4519b7a887b8cfb649e0bfe4b34d75963350a9944e5b7f5b7e", + "shared": "448ce410fffc7e6149c5abec0ad5f3607dfde8a34e2ac3243c3009176168b432", + "result": "acceptable" + }, + { + "tcId": 93, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "SpecialPublicKey" + ], + "public": "0400000000000000000000000000000000000000000000000000000000000080", + "private": "20620d82487707bedf9ee3549e95cb9390d2618f50cf6acba47ffaa103224a6f", + "shared": "03a633df01480d0d5048d92f51b20dc1d11f73e9515c699429b90a4f6903122a", + "result": "acceptable" + }, + { + "tcId": 94, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "SpecialPublicKey" + ], + "public": "daffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "285a6a7ceeb7122f2c78d99c53b2a902b490892f7dff326f89d12673c3101b53", + "shared": "9b01287717d72f4cfb583ec85f8f936849b17d978dbae7b837db56a62f100a68", + "result": "acceptable" + }, + { + "tcId": 95, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "SpecialPublicKey", + "Twist" + ], + "public": "dbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "c8e0330ae9dceeff887fba761225879a4bd2e0db08799244136e4721b2c88970", + "shared": "dfe60831c9f4f96c816e51048804dbdc27795d760eced75ef575cbe3b464054b", + "result": "acceptable" + }, + { + "tcId": 96, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "SpecialPublicKey" + ], + "public": "dcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "10db6210fc1fb13382472fa1787b004b5d11868ab3a79510e0cee30f4a6df26b", + "shared": "50bfa826ca77036dd2bbfd092c3f78e2e4a1f980d7c8e78f2f14dca3cce5cc3c", + "result": "acceptable" + }, + { + "tcId": 97, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "SpecialPublicKey", + "Twist" + ], + "public": "eaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "9041c6e044a277df8466275ca8b5ee0da7bc028648054ade5c592add3057474e", + "shared": "13da5695a4c206115409b5277a934782fe985fa050bc902cba5616f9156fe277", + "result": "acceptable" + }, + { + "tcId": 98, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "SpecialPublicKey" + ], + "public": "ebffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "b8d499041a6713c0f6f876db7406587fdb44582f9542356ae89cfa958a34d266", + "shared": "63483b5d69236c63cddbed33d8e22baecc2b0ccf886598e863c844d2bf256704", + "result": "acceptable" + }, + { + "tcId": 99, + "comment": "non-canonical public key", + "flags": [ + "NonCanonicalPublic", + "SpecialPublicKey" + ], + "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "private": "c85f08e60c845f82099141a66dc4583d2b1040462c544d33d0453b20b1a6377e", + "shared": "e9db74bc88d0d9bf046ddd13f943bccbe6dbb47d49323f8dfeedc4a694991a3c", + "result": "acceptable" + }, + { + "tcId": 100, + "comment": "RFC 7748", + "flags": [ + "Ktv" + ], + "public": "e6db6867583030db3594c1a424b15f7c726624ec26b3353b10a903a6d0ab1c4c", + "private": "a046e36bf0527c9d3b16154b82465edd62144c0ac1fc5a18506a2244ba449a44", + "shared": "c3da55379de9c6908e94ea4df28d084f32eccf03491c71f754b4075577a28552", + "result": "valid" + }, + { + "tcId": 101, + "comment": "RFC 7748", + "flags": [ + "Ktv", + "Twist" + ], + "public": "e5210f12786811d3f4b7959d0538ae2c31dbe7106fc03c3efc4cd549c715a413", + "private": "4866e9d4d1b4673c5ad22691957d6af5c11b6421e0ea01d42ca4169e7918ba4d", + "shared": "95cbde9476e8907d7aade45cb4b873f88b595a68799fa152e6f8f7647aac7957", + "result": "acceptable" + }, + { + "tcId": 102, + "comment": "RFC 8037, Section A.6", + "flags": [ + "Ktv" + ], + "public": "de9edb7d7b7dc1b4d35b61c2ece435373f8343c85b78674dadfc7e146f882b4f", + "private": "77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a", + "shared": "4a5d9d5ba4ce2de1728e3bf480350f25e07e21c947d19e3376f09b3c1e161742", + "result": "valid" + }, + { + "tcId": 103, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared", + "Twist" + ], + "public": "b7b6d39c765cb60c0c8542f4f3952ffb51d3002d4aeb9f8ff988b192043e6d0a", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "0200000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 104, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared" + ], + "public": "3b18df1e50b899ebd588c3161cbd3bf98ebcc2c1f7df53b811bd0e91b4d5153d", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "0900000000000000000000000000000000000000000000000000000000000000", + "result": "valid" + }, + { + "tcId": 105, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared" + ], + "public": "cab6f9e7d8ce00dfcea9bbd8f069ef7fb2ac504abf83b87db601b5ae0a7f7615", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "1000000000000000000000000000000000000000000000000000000000000000", + "result": "valid" + }, + { + "tcId": 106, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared", + "Twist" + ], + "public": "4977d0d897e1ba566590f60f2eb0db6f7b24c13d436918ccfd32708dfad7e247", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", + "result": "acceptable" + }, + { + "tcId": 107, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared" + ], + "public": "98730bc03e29e8b057fb1d20ef8c0bffc822485d3db7f45f4e3cc2c3c6d1d14c", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "fcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", + "result": "valid" + }, + { + "tcId": 108, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared", + "Twist" + ], + "public": "97b4fff682df7f096cd1756569e252db482d45406a3198a1aff282a5da474c49", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "f9ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", + "result": "acceptable" + }, + { + "tcId": 109, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared" + ], + "public": "317781b0163bae74accc06c0d44ef9a911a22b0d37faf7726621591f9343ea2f", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "f3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", + "result": "valid" + }, + { + "tcId": 110, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared" + ], + "public": "7e26f8f24cb590027f9d1bc49b0e1a242c7d8f43624d3e8fab28ee08e02cb45e", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03", + "result": "valid" + }, + { + "tcId": 111, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared", + "Twist" + ], + "public": "e96d2780e5469a74620ab5aa2f62151d140c473320dbe1b028f1a48f8e76f95f", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "e5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "result": "acceptable" + }, + { + "tcId": 112, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared", + "Twist" + ], + "public": "8d612c5831aa64b057300e7e310f3aa332af34066fefcab2b089c9592878f832", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "e3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "result": "acceptable" + }, + { + "tcId": 113, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared" + ], + "public": "8d44108d05d940d3dfe5647ea7a87be24d0d036c9f0a95a2386b839e7b7bf145", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "ddffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "result": "valid" + }, + { + "tcId": 114, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared", + "Twist" + ], + "public": "21a35d5db1b6237c739b56345a930aeee373cdcfb4701266782a8ac594913b29", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "dbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "result": "acceptable" + }, + { + "tcId": 115, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared", + "Twist" + ], + "public": "3e5efb63c352ce942762482bc9337a5d35ba55664743ac5e93d11f957336cb10", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "0000000000000000000000000000000000000000000000000000000000000002", + "result": "acceptable" + }, + { + "tcId": 116, + "comment": "edge case for shared secret", + "flags": [ + "EdgeCaseShared", + "Twist" + ], + "public": "8e41f05ea3c76572be104ad8788e970863c6e2ca3daae64d1c2f46decfffa571", + "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", + "shared": "0000000000000000000000000000000000000000000000000000000000008000", + "result": "acceptable" + }, + { + "tcId": 117, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "SmallPublicKey", + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "0000000000000000000000000000000000000000000000000000000000000000", + "private": "c8d07c46bbfb827753b92c70e49583ce8bfa44641a7382258ea903d6a832c96b", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 118, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "SmallPublicKey", + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "0100000000000000000000000000000000000000000000000000000000000000", + "private": "90b7ef237a055f348dcb4c4364a59d7d31edc7ab78f2ca254e2c810975c3f543", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 119, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "0200000000000000000000000000000000000000000000000000000000000000", + "private": "e0a8be63315c4f0f0a3fee607f44d30a55be63f09561d9af93e0a1c9cf0ed751", + "shared": "0c50ac2bfb6815b47d0734c5981379882a24a2de6166853c735329d978baee4d", + "result": "acceptable" + }, + { + "tcId": 120, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "1200000000000000000000000000000000000000000000000000000000000000", + "private": "0840a8af5bc4c48da8850e973d7e14220f45c192cea4020d377eecd25c7c3643", + "shared": "77557137a2a2a651c49627a9b239ac1f2bf78b8a3e72168ccecc10a51fc5ae66", + "result": "valid" + }, + { + "tcId": 121, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "1400000000000000000000000000000000000000000000000000000000000000", + "private": "0092229c753a71284d0853909470ad847ab62f439ea51482fb41d30cc3b44743", + "shared": "c88e719ae5c2248b5f90da346a92ae214f44a5d129fd4e9c26cf6a0da1efe077", + "result": "acceptable" + }, + { + "tcId": 122, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0000000000000000000000000080000000000000000000000000000000000000", + "private": "b8da2bd2d7cf25a3e54e5f87ee15911effb9ff86baec4076d56c8e953670bf5b", + "shared": "4bf6789c7ea036f973cde0af02d6fdb9b64a0b957022111439570fad7d7a453f", + "result": "valid" + }, + { + "tcId": 123, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ffffffffffffffffffffffffffff000000000000000000000000000000000000", + "private": "684cd420af41abb3d10c61e773238cf729c2155f941ac27e15f4c37f49b29576", + "shared": "bcac235ae15cc7148372e11f9315e3bc76ceb904b3d2a8246bd9d9be2082bb62", + "result": "valid" + }, + { + "tcId": 124, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "0100000000000000000000000000010000000000000000000000000000000000", + "private": "38cfacaa4460796b4de434bdd6739f0d043671f97fa829517511e6b47aa93474", + "shared": "5dd7d16fff25cc5fdf9e03c3157cb0a235cea17d618f36e6f13461567edeb943", + "result": "acceptable" + }, + { + "tcId": 125, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0000000000000000000000000000000000000000000000000000004000000000", + "private": "30832e8cb627ac195f77b1105258e4bb18b99a5ed944404bfacb3a039fbdb14b", + "shared": "2816fd031d51d6750f9225ede950625cca47441ca97e43092650396991afcb6d", + "result": "valid" + }, + { + "tcId": 126, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "0000000000000000000000000000000000000000000000000000008000000000", + "private": "d818fd6971e546447f361d33d3dbb3eadcf02fb28f246f1d5107b9073a93cd4f", + "shared": "7ed8f2d5424e7ebb3edbdf4abe455447e5a48b658e64abd06c218f33bd151f64", + "result": "acceptable" + }, + { + "tcId": 127, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000", + "private": "1021cd8682bdc3f5da9100adff5b2230b3acd836b3a455db8352a2c27e69d17e", + "shared": "e8620ed5ca89c72c5ea5503e6dcd01131cd5e875c30e13d5dc619ce28ec7d559", + "result": "acceptable" + }, + { + "tcId": 128, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0100000000000000000000000000000000000000000000000000000001000000", + "private": "20e4c9247102292655d6765d7d84c6fce5309b8004045daea6d7d7dcad462871", + "shared": "ceadb264379dcadd6e3bb8ad24dd653d2a609dd703d41da6caf3ad00f001862c", + "result": "valid" + }, + { + "tcId": 129, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "a8b9c7372118a53a9de9eaf0868e3b1a3d88e81cb2e407ff7125e9f5c5088715", + "private": "90b150d462de512056d5bd55173074969b496f262fb6916b733f6263a8078971", + "shared": "f86cc7bf1be49574fc97a074282e9bb5cd238e002bc8e9a7b8552b2d60eccb52", + "result": "acceptable" + }, + { + "tcId": 130, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "aab9c7372118a53a9de9eaf0868e3b1a3d88e81cb2e407ff7125e9f5c5088715", + "private": "9887286b3261c8d857a16f6db21277f75d88d4e861b3ebe7596699047e816668", + "shared": "ccbb8fd9dee165a398b2dbd7c8396f81736c1b3da36b35fbec8f326f38f92767", + "result": "acceptable" + }, + { + "tcId": 131, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "585007a5930d77623cf29756038ca197d3ebfd9e4c80a69585efe0274092c115", + "private": "20ca2c85cc8762e96b7047bf15c71c050ffe0ed1616040a953ae32a1297ad871", + "shared": "46add6f48ffff461777d4f89b6fdf1155aa051a96387d45f3e5e371a236b6e52", + "result": "valid" + }, + { + "tcId": 132, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "fbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1f", + "private": "d027656605b10bf18dea28bc52546f9f1f08cef06cafd200fc84f87dbb4ebe46", + "shared": "1adbe32207e21f71e1af53884d2a2276481e298e557f4dacb3720f2458e3082d", + "result": "valid" + }, + { + "tcId": 133, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "0000000000000000000000000000000000000000000000000000000000000020", + "private": "4867a83ee9d01b7510840867db1af6a6049bdbb056b74443f70c358e162c8867", + "shared": "e12cc58fbeb70a5e35c861c33710be6516a6a92e52376060211b2487db542b4f", + "result": "acceptable" + }, + { + "tcId": 134, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "afa00e4a271beec478e42fad0618432fa7d7fb3d99004d2b0bdfc14f8024832b", + "private": "a015970a8add940fca5b1b5d23875397d547d8d494fcb314f2045a67a2d12c4b", + "shared": "421bed1b26da1e9adbeada1f32b91a0fb4ced0f1110e0a4a88e735a19ee4571e", + "result": "valid" + }, + { + "tcId": 135, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "b1a00e4a271beec478e42fad0618432fa7d7fb3d99004d2b0bdfc14f8024832b", + "private": "4058cb6b9aaba02a338aaa392dbc10039e26e9e444117e758e24c5d8b232ea5e", + "shared": "d7b47463e2f4ca9a1a7deea098da8e74ac3b4a109083d997259b12992e7e7e06", + "result": "valid" + }, + { + "tcId": 136, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "fbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff2f", + "private": "b876b05daff0530b139d9e11250563418077178246c5fa7005ba00e9b6647763", + "shared": "686eb910a937211b9147c8a051a1197906818fdc626668eb5f5d394afd86d41b", + "result": "acceptable" + }, + { + "tcId": 137, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "22231c64ef73ad62318b8a87bc38e272e1bb8bf1a60d7c00476d0b059d7b3c35", + "private": "d87fd6aa5d8deef6dee9619a56846a0829620590f2da40835d8e251597e39078", + "shared": "09559733b35bcc6bb8ac574b5abe3a4d8841deff051c294a07487e3eec3c5558", + "result": "valid" + }, + { + "tcId": 138, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", + "private": "90036321b63751f7622aa93da34d85e59ce81009ac5b9a068921d83bc4715b57", + "shared": "f7d5cbcf39eb722b01ed20c85563ebb81d076511aead4ccc429027866b9fd270", + "result": "valid" + }, + { + "tcId": 139, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", + "private": "a06781fd4c4a0874e00e72ba131b9dd87a83b2904e294de176e8a9af1f695d67", + "shared": "e995ad6a1ec6c5ab32922cff9d204721704673143c4a11deaa203f3c81989b3f", + "result": "acceptable" + }, + { + "tcId": 140, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", + "private": "b822d72d8b68bdb4fbf67e56a61d672b2c7747e94479fe5ae4072d0accdd6571", + "shared": "32b6dabe01d13867f3b5b0892fefd80dca666f2edc5afb43cd0baf703c3e6926", + "result": "acceptable" + }, + { + "tcId": 141, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0000000000000000000000000000000000000000000000000000000000000040", + "private": "d08ce1237e248d02cdf619d20bea5848ade4f6ffd171b8dee8793fc67c459640", + "shared": "a93d83fc9ea0f6cb0cc8b631da600019b76cbb2ec57222f2e42dd540e3da850b", + "result": "valid" + }, + { + "tcId": 142, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "cbdce39b108c529dce74757843c71d8d1e44740e59f283ffb892f4fa6284c34a", + "private": "180ae3c928514cfb9edd06e7dc1d5d066160e967445a5c58e4463b69ed205e6d", + "shared": "017cbfa2b38e9ef3297a339ecce1a917bdcf7e910036086a41d1e22d04241870", + "result": "valid" + }, + { + "tcId": 143, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "3c5ff1b5d8e4113b871bd052f9e7bcd0582804c266ffb2d4f4203eb07fdb7c54", + "private": "e881d806a110560cd8fee899d59c0249f1233a4322c41aa369c7a2a99f5b5962", + "shared": "71133905b8a57ea8c38de0ecf213699a75b096c2df21f07f7e9eb03e9fa53f5c", + "result": "valid" + }, + { + "tcId": 144, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "3e5ff1b5d8e4113b871bd052f9e7bcd0582804c266ffb2d4f4203eb07fdb7c54", + "private": "08e410e1d7e8b9411236af4a35d6b62a5d8931478e4c62197cfafb491467b162", + "shared": "3dc7b70e110766b2bf525252ebed98a100b2e532dc69544464da1bbab8625f6d", + "result": "valid" + }, + { + "tcId": 145, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5f", + "private": "e02fdf7e0ee3d55b4440f01432dd253c949793bc04da44ddece83e54c8c39b40", + "shared": "e317e5cc438b5f79ead5533ac7c45519a117b31033cc2140b19edf8572011240", + "result": "valid" + }, + { + "tcId": 146, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5f", + "private": "f05d18f68ef7a5865c14db3a9c255fdf2dabea2aa36581e94f68b727b582867b", + "shared": "d86810516aeddc18061036f599a9eb84d1c6146b0f543652dd4526743ba42c04", + "result": "valid" + }, + { + "tcId": 147, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "95aff85a6cf2889dc30d68a9fc735e682c140261b37f596a7a101fd8bf6d3e6a", + "private": "00c103578d5c079d7bcc22c1c31e787c1b15c57fcb493fdafefa20371cfc746b", + "shared": "dfa988a477003be125b95ccbf2223d97729577d25e1d6e89e3da0afabdd0ae71", + "result": "acceptable" + }, + { + "tcId": 148, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "434638c8dee75ac56216150f7971c4e5c27717e34d1bf8008eda160a3af7786a", + "private": "7005bb927485c435642b424a3dde014bcf76345e5be64ae6e9b24db39e1cdb51", + "shared": "d450af45b8ed5fe140cc5263ffb7b52e66736899a8b872b6e28552129819b25b", + "result": "acceptable" + }, + { + "tcId": 149, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "454638c8dee75ac56216150f7971c4e5c27717e34d1bf8008eda160a3af7786a", + "private": "0822039a5dc13c40fcccf346e2a7769b4fd272052d43260ad626468a50d44162", + "shared": "58002c89bf8bc32ae6fc205b796acd13ef7f8476f6492ae4b2be47f1095e8a4f", + "result": "valid" + }, + { + "tcId": 150, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ecfffffffffffffffffffffffffffeffffffffffffffffffffffffffffffff7f", + "private": "40a6349c03f0dc0a42358f6353ca67632af687b14c9dff626c54e211e8fc355a", + "shared": "7773aad6e72eb1735b65ad51f7dad258c11d7bfff53094424cb103cd6bfb4368", + "result": "valid" + }, + { + "tcId": 151, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "eefffffffffffffffffffffffffffeffffffffffffffffffffffffffffffff7f", + "private": "50696d4d05209971d6ba0676ea274262ba639aac74fa75e5df4570768ad8ae74", + "shared": "c118ddf6462fbea80f14ef1f2972a1ab12cafa511d1323d4d22d0d426d651b5b", + "result": "valid" + }, + { + "tcId": 152, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "edffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffff7f", + "private": "68bb680c853f4e4daa47c586dc886cf4568d7b0383770f6df439a53be4a3236d", + "shared": "cc0775bfd970a2706b11c7222a4436a3d17160382c83b76f89b66192c81b4408", + "result": "valid" + }, + { + "tcId": 153, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ebffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "b0f6c28dbdc647068a76d71805ef770f087cf76b82afdc0d26c45b71ace49768", + "shared": "f0097fa0ba70d019126277ab15c56ecc170ca88180b2bf9d80fcda3d7d74552a", + "result": "valid" + }, + { + "tcId": 154, + "comment": "special case public key", + "flags": [ + "EdgeCaseMultiplication", + "LowOrderPublic", + "Twist", + "ZeroSharedSecret" + ], + "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", + "private": "18630f93598637c35da623a74559cf944374a559114c7937811041fc8605564a", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 155, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "0000000000000000000008000000000000000000000000000000000000000000", + "private": "581ecbda5a4a228044fefd6e03df234558c3c79152c6e2c5e60b142c4f26a851", + "shared": "59e7b1e6f47065a48bd34913d910176b6792a1372aad22e73cd7df45fcf91a0e", + "result": "acceptable" + }, + { + "tcId": 156, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "77af0d3897a715dfe25df5d538cf133bc9ab7ad52df6bd922a2fb75621d59901", + "private": "b0561a38000795b7cb537b55e975ea452c2118506295d5eb15fd9c83b67f7a50", + "shared": "179f6b020748acba349133eaa4518f1bd8bab7bfc4fb05fd4c24e7553da1e960", + "result": "valid" + }, + { + "tcId": 157, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4e39866127b6a12a54914e106aab86464af55631f3cb61766d5999aa8d2e070e", + "private": "b00f7df2d47128441c7270b9a87eee45b6056fc64236a57bdf81dbcccf5f5d42", + "shared": "43c5ee1451f213ef7624729e595a0fee7c9af7ee5d27eb03278ee9f94c202352", + "result": "valid" + }, + { + "tcId": 158, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "adc6799ed8495ed5ab6eb1ef955479b9b50aa9ce0c349e8992a6665572d1f811", + "private": "c8f7a0c0bfb1e9c72576c534f86854fbe4af521d4fa807f67e2440e100ec8852", + "shared": "2f350bcf0b40784d1d756c9ca3e38ec9dd68ba80faf1f9847de50779c0d4902a", + "result": "valid" + }, + { + "tcId": 159, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "770f4218ef234f5e185466e32442c302bbec21bbb6cd28c979e783fe5013333f", + "private": "58181f581aa37022ff71c56c6e68e6175d967c5c995a249885f66565074ded4d", + "shared": "d5d650dc621072eca952e4344efc7320b2b1459aba48f5e2480db881c50cc650", + "result": "acceptable" + }, + { + "tcId": 160, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "5c6118c4c74cfb842d9a87449f9d8db8b992d46c5a9093ce2fcb7a49b535c451", + "private": "301c935cae4357070b0adaf9cd6192830b2c989c153729eed99f589eb45f884b", + "shared": "909cc57275d54f20c67b45f9af9484fd67581afb7d887bee1db5461f303ef257", + "result": "acceptable" + }, + { + "tcId": 161, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4039866127b6a12a54914e106aab86464af55631f3cb61766d5999aa8d2e076e", + "private": "d002292d4359a3d42bc8767f1380009332e7a0df2f3379011ab78f789f6baa54", + "shared": "4a7e2c5caf1d8180eb1c4f22692f29a14b4cdc9b193bd1d16e2f27438eef1448", + "result": "valid" + }, + { + "tcId": 162, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "078fa523498fb51cba1112d83b20af448b8009d8eea14368564d01b8f9b6086f", + "private": "d0c2c49e644ab738270707ff9917065942687e2f12886d961161db46c05b565f", + "shared": "c0ee59d3685fc2c3c803608b5ee39a7f8da30b48e4293ae011f0ea1e5aeb7173", + "result": "acceptable" + }, + { + "tcId": 163, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "9fc6799ed8495ed5ab6eb1ef955479b9b50aa9ce0c349e8992a6665572d1f871", + "private": "f087d38b274c1dad1bce6eaa36b48e2190b90b9bf8ca59669cc5e00464534342", + "shared": "b252bc8eabfaa68c56e54d61b99061a35d11e3a7b9bda417d90f69b1119bcf45", + "result": "valid" + }, + { + "tcId": 164, + "comment": "special case for E in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "7650f2c76858ea201da2022ac730ecc43654852ad209426dd5d048a9de2a667e", + "private": "48dbcc5a695f1514bbbaa6ad00842b69d9ae5216b1963add07fb2947c97b8447", + "shared": "fbda33bc930c08df837208e19afdc1cfe3fd0f8f0e3976be34775e58a4a7771f", + "result": "valid" + }, + { + "tcId": 165, + "comment": "D = 0 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b800", + "private": "5891c9272cf9a197735b701e5715268d36d7436b7e351a3e997a0862e4807d4d", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 166, + "comment": "D = 0 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "LowOrderPublic", + "ZeroSharedSecret" + ], + "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f1157", + "private": "c0f9c60aea73731d92ab5ed9f4cea122f9a6eb2577bda72f94948fea4d4cc65d", + "shared": "0000000000000000000000000000000000000000000000000000000000000000", + "result": "acceptable" + }, + { + "tcId": 167, + "comment": "special case for DA - CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "b0224e7134cf92d40a31515f2f0e89c2a2777e8ac2fe741db0dc39399fdf2702", + "private": "0066dd7674fe51f9326c1e239b875f8ac0701aae69a804c25fe43595e8660b45", + "shared": "8dacfe7beaaa62b94bf6e50ee5214d99ad7cda5a431ea0c62f2b20a89d73c62e", + "result": "acceptable" + }, + { + "tcId": 168, + "comment": "special case for DA - CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "601e3febb848ec3e57fce64588aad82afc9c2af99bbcdffcc4cd58d4b3d15c07", + "private": "80067f30f40d61318b420c859fce128c9017ab81b47b76028a57bc30d5856846", + "shared": "20f1d3fe90e08bc6f152bf5dacc3ed35899785333f1470e6a62c3b8cbe28d260", + "result": "valid" + }, + { + "tcId": 169, + "comment": "special case for DA - CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "82a3807bbdec2fa9938fb4141e27dc57456606301f78ff7133cf24f3d13ee117", + "private": "584577669d21ce0ae3e30b02c9783ffe97709cbfe396889aa31e8ee43352dc52", + "shared": "2b28cc5140b816add5ad3a77a81b1c073d67bf51bf95bda2064a14eb12d5f766", + "result": "acceptable" + }, + { + "tcId": 170, + "comment": "special case for DA - CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f329ab2376462e5f3128a2682086253c19222ac1e2bca45692f0c3b528f4c428", + "private": "18e597a4e2ccdb5e8052d57c9009938c2d4c43d6d8c9f93c98727b7311035953", + "shared": "8392160083b9af9e0ef44fcfce53ba8ff7282ee7a6c71ab66f8843a55d09cd68", + "result": "valid" + }, + { + "tcId": 171, + "comment": "special case for DA in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4fce3bb6c8aaf022dbd100e3cde3941b37d543f00401dba7da9bc143dfc55709", + "private": "88281cc51d5512d8814ea5249b879dcbad0323d38512dafbdc7ba85bba8c8d5d", + "shared": "42184e22c535530c457bd3b4f1084cbf5e297f502fe136b8d1daecf5334cc96c", + "result": "valid" + }, + { + "tcId": 172, + "comment": "special case for DA in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "15c68851c1db844b5a1ef3456a659f188854b1a75fbdb2f68f514c9289ce711f", + "private": "d0e795450df0a813c6573496ec5793ca02e1bdbad10ed08df83fdaed68b3385f", + "shared": "f654d78e5945b24bc63e3e6d790e0ae986e53937764068b1bce920e1d79b756f", + "result": "valid" + }, + { + "tcId": 173, + "comment": "special case for DA in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4200a242434337b8914f49345301ed782b13594f9ede089c41fb1e7ea82c9053", + "private": "30b69a1cc1eb2d0b83ea213846e90a2c922088bdf294a6995bf6e6e77c646c41", + "shared": "cd8a09b04795edcc7061867373981aa748651ebdce5ec218a335b878cefe4872", + "result": "valid" + }, + { + "tcId": 174, + "comment": "special case for DA in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "baabf0174aaaea4de48cc83adfb0401461a741903ea6fb130d7d64b7bf03a966", + "private": "78b30bb63cd8ade71b7a77d426f4419d05f199ffef349e89faa9d9a5f21f6654", + "shared": "c9f8258f237db1c80702c5c4d9048dfba9dfe259da4aeee90dc2945526961275", + "result": "valid" + }, + { + "tcId": 175, + "comment": "special case for x_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f12f18bd59c126348f6a7a9f4a5fdd9fcaf581345073a851fba098e5d64b4a0c", + "private": "c0b386f4ef0d4698686404977e7b60cb6c1f8b6012a22e29d6224c5947439041", + "shared": "6600cbe900616a770a126b8b19156d5e27e1174bd538d0944eb3c0be4899c758", + "result": "valid" + }, + { + "tcId": 176, + "comment": "special case for x_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "bee386527b772490aeb96fc4d23b9304037cb4430f64b228f3d8b3b498319f22", + "private": "9886602e719bacafea092bb75b51ae7258abe1a364c176857f3dc188c03e6759", + "shared": "3fe710d6344ff0cb342e52349e1c5b57b7a271f2a133bb5249bbe40dc86e1b40", + "result": "acceptable" + }, + { + "tcId": 177, + "comment": "special case for x_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "cf911ac91b0d944049cec66ae5ef0c4549d1e612e107c68e87263a2fbcf8323f", + "private": "b83960f5d0613cdaac6dda690351666e9f277bba6bd406b0e27a1886bb2d3e46", + "shared": "71373ebe67f39a2c230027c7db4b3b74bab80ed212b232679785ee10f47c304e", + "result": "valid" + }, + { + "tcId": 178, + "comment": "special case for x_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "1e6ee536e4f26bbfb63139951a10f3bab62e19ed1ef8397178d9c5d04307cd40", + "private": "d03b75f09ac807dfd2ee352c04a1f25984720f785ffaa0af88bc5db6ff9c3453", + "shared": "238eef43c589822e1d3de41c1cc46dcfec7a93febf37c8546b6625e1a123815d", + "result": "valid" + }, + { + "tcId": 179, + "comment": "special case for x_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "2f1c79ad8488db6f5146903b2dc46cfbfc834bbcf09b4dd70c274c4b67ce605d", + "private": "d036948c0ec223f0ee577e390dbf87222358ed199f2823345ad154bbc4cbcc47", + "shared": "87a79c9c231d3b9526b49bf3d683bf38c3c319af7c7c5d1456487398da535010", + "result": "valid" + }, + { + "tcId": 180, + "comment": "special case for x_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "fccfe742a63ed9cb70958560b5a02260350a7ecbaf8c57ae045f671a29b4b573", + "private": "d054ded613febf2950ac5c927fcb120c387de0ba61b331cd33024c8b6e737048", + "shared": "d683ca6194452d878c12d7da35f22833f99728bba89931a51274f61210336a5f", + "result": "valid" + }, + { + "tcId": 181, + "comment": "special case for AA in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "cb3d4a90f86b3011da3369d9988597c7fff1499273b4a04f84d0e26ed1683c0d", + "private": "e82c480631fb153ba2211fe603032b3e71b162dbd3c11bec03208ffcd510655f", + "shared": "dbf6203516635840cf69a02db87cf0d95dae315da7fc1ec7ce2b29e1f2db6666", + "result": "acceptable" + }, + { + "tcId": 182, + "comment": "special case for AA in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "101e13f7bc0570fa2638caa20a67c6e0c21dab132f4b456191590264c493d018", + "private": "c0c01d28c1cab01f59700aca5f18d2697658b37fdd54a339ff391c0a1a1b1645", + "shared": "1fe314744390d525278b1f5fbf108101b8ded587081375ed4ac4ac690d92414f", + "result": "acceptable" + }, + { + "tcId": 183, + "comment": "special case for AA in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "dce1ec0843fa8f05d9c7355df598391f3de254ecd0b4ba9e6ea6fd9b3b6c2f67", + "private": "c82bde72df36479688c485a8bf442f4a34412e429c02db97704f03daf4dfd542", + "shared": "ad454395ee392be677be7b9cb914038d57d2d87ec56cc98678dd84f19920912b", + "result": "acceptable" + }, + { + "tcId": 184, + "comment": "special case for AA in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "21c2b56f0794cfee25cc9626677a6838000eb66d8c4b5fb07b2f1d912e97c372", + "private": "503f697617fb02a7b8ef00ba34e7fc8ce93f9ec3e1cbfe4bf2c05bcee0cb9757", + "shared": "c6d6499255133398f9dd7f32525db977a538118800bfaf3aad8bcd26f02c3863", + "result": "valid" + }, + { + "tcId": 185, + "comment": "special case for BB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "cc3d4a90f86b3011da3369d9988597c7fff1499273b4a04f84d0e26ed1683c0d", + "private": "58cd4ca1e4331188de2b2889419ce20ec5ef88a0e93af092099065551b904e41", + "shared": "0d74214da1344b111d59dfad3713eb56effe7c560c59cbbb99ec313962dbba58", + "result": "valid" + }, + { + "tcId": 186, + "comment": "special case for BB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "111e13f7bc0570fa2638caa20a67c6e0c21dab132f4b456191590264c493d018", + "private": "004ea3448b84ca509efec5fcc24c63ee984def63b29deb9037894709709c0957", + "shared": "7b9dbf8d6c6d65898b518167bf4011d54ddc265d953c0743d7868e22d9909e67", + "result": "acceptable" + }, + { + "tcId": 187, + "comment": "special case for BB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "dde1ec0843fa8f05d9c7355df598391f3de254ecd0b4ba9e6ea6fd9b3b6c2f67", + "private": "c8a6eb00a4d74bbdff239522c3c891ed7ce1904be2a329cd0ae0061a253c9542", + "shared": "fb0e0209c5b9d51b401183d7e56a59081d37a62ab1e05753a0667eebd377fd39", + "result": "valid" + }, + { + "tcId": 188, + "comment": "special case for BB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "22c2b56f0794cfee25cc9626677a6838000eb66d8c4b5fb07b2f1d912e97c372", + "private": "50322ff0d0dcdd6b14f307c04dfecefe5b7cdeaf92bffb919e9d62ed27079040", + "shared": "dbe7a1fe3b337c9720123e6fcc02cf96953a17dc9b395a2206cb1bf91d41756e", + "result": "valid" + }, + { + "tcId": 189, + "comment": "special case for D in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "e58baccede32bcf33b3b6e3d69c02af8284a9631de74b6af3f046a9369df040f", + "private": "e0328c7d188d98faf2ac72d728b7d14f2bbbd7a94d0fbd8e8f79abe0b1fe1055", + "shared": "97bd42093e0d48f973f059dd7ab9f97d13d5b0d5eedffdf6da3c3c432872c549", + "result": "valid" + }, + { + "tcId": 190, + "comment": "special case for D in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "c6d5c693fc0a4e2df6b290026860566a166b6d7aebe3c98828d492745c8df936", + "private": "5017679a17bd23adf95ad47e310fc6526f4ba9ca3b0839b53bd0d92839eb5b4f", + "shared": "99bcbc7b9aa5e25580f92bf589e95dae874b83e420225d8a93e18e96dac00b63", + "result": "valid" + }, + { + "tcId": 191, + "comment": "special case for D in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d15f4bf2ef5c7bda4ee95196f3c0df710df5d3d206360fc3174ea75c3aa3a743", + "private": "2864aaf61c146df06cc256b065f66b34985cc015da5b1d647a6ed4e2c76bfc43", + "shared": "afa2adb52a670aa9c3ec3020d5fda285474ede5c4f4c30e9238b884a77969443", + "result": "valid" + }, + { + "tcId": 192, + "comment": "special case for D in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "6dffb0a25888bf23cf1ac701bfbdede8a18e323b9d4d3d31e516a05fce7ce872", + "private": "184a6cfbabcbd1507a2ea41f52796583dbdb851b88a85781ee8e3c28782c3349", + "shared": "e6a2fc8ed93ce3530178fef94bb0056f43118e5be3a6eabee7d2ed384a73800c", + "result": "acceptable" + }, + { + "tcId": 193, + "comment": "special case for D in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "21f86d123c923a92aaf2563df94b5b5c93874f5b7ab9954aaa53e3d72f0ff67e", + "private": "c85f954b85bc102aca799671793452176538d077862ee45e0b253619767dff42", + "shared": "7fc28781631410c5a6f25c9cfd91ec0a848adb7a9eb40bc5b495d0f4753f2260", + "result": "acceptable" + }, + { + "tcId": 194, + "comment": "special case for D in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "587c347c8cb249564ab77383de358cc2a19fe7370a8476d43091123598941c7f", + "private": "50e3e5a9a19be2ee3548b0964672fb5e3134cb0d2f7adf000e4556d0ffa37643", + "shared": "314d8a2b5c76cc7ee1217df2283b7e6724436e273aeb80628dce0600ab478a63", + "result": "valid" + }, + { + "tcId": 195, + "comment": "special case for DA + CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f5c6311a1dd1b9e0f8cfd034ac6d01bf28d9d0f962a1934ae2cb97cb173dd810", + "private": "08ece580bb6ddf96559b81d7a97dd4531def6cc78d448a70cebabdd26caab146", + "shared": "2bfd8e5308c34498eb2b4daf9ed51cf623da3beaeb0efd3d687f2b8becbf3101", + "result": "valid" + }, + { + "tcId": 196, + "comment": "special case for DA + CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "9316c06d27b24abc673ffb5105c5b9a89bdfaa79e81cdbb89556074377c70320", + "private": "a886033e9dc2b6a913fffbc2bd402e8c11ec34d49c0dc0fa1429329b694a285f", + "shared": "d53c3d6f538c126b9336785d1d4e6935dc8b21f3d7e9c25bc240a03e39023363", + "result": "acceptable" + }, + { + "tcId": 197, + "comment": "special case for DA + CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8a4179807b07649e04f711bf9473a79993f84293e4a8b9afee44a22ef1000b21", + "private": "98b1cc2020a8ec575d5c46c76024cf7c7ad7628eb909730bc4f460aaf0e6da4b", + "shared": "4531881ad9cf011693ddf02842fbdab86d71e27680e9b4b3f93b4cf15e737e50", + "result": "acceptable" + }, + { + "tcId": 198, + "comment": "special case for DA + CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "a773277ae1029f854749137b0f3a02b5b3560b9c4ca4dbdeb3125ec896b81841", + "private": "c8e193de162aa349a3432c7a0c0521d92cbc5e3bf82615e42955dd67ec12345f", + "shared": "7ba4d3de697aa11addf3911e93c94b7e943beff3e3b1b56b7de4461f9e48be6b", + "result": "acceptable" + }, + { + "tcId": 199, + "comment": "special case for DA + CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "1eceb2b3763231bc3c99dc62266a09ab5d3661c756524cddc5aabcedee92da61", + "private": "88e01237b336014075676082afbde51d595d47e1fa5214b51a351abbf6491442", + "shared": "bcf0884052f912a63bbab8c5c674b91c4989ae051fa07fcf30cb5317fb1f2e72", + "result": "acceptable" + }, + { + "tcId": 200, + "comment": "special case for DA + CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "9a2acbb3b5a386a6102e3728be3a97de03981d5c71fd2d954604bee3d3d0ce62", + "private": "e82313e451a198dce4ae95c6832a8281d847fc87b28db00fe43757c16cc49c4a", + "shared": "e5772a92b103ee696a999705cf07110c460f0545682db3fac5d875d69648bc68", + "result": "acceptable" + }, + { + "tcId": 201, + "comment": "special case for DA + CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "27430e1c2d3089708bca56d7a5ad03792828d47685b6131e023dd0808716b863", + "private": "2828594d16768e586df39601ecc86d3fad6389d872b53fca3edcaf6fb958f653", + "shared": "378c29e3be97a21b9f81afca0d0f5c242fd4f896114f77a77155d06ce5fbfa5e", + "result": "acceptable" + }, + { + "tcId": 202, + "comment": "special case for z_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4ef367901aac8ba90a50e0cf86ca4e4a3ff164fb121605be346e2e48d04ac912", + "private": "a84f488e193139f986b0e5b249635b137d385e420342aef1f194fcde1fe5e850", + "shared": "7eb48a60b14fb9ea5728f6410aef627d1522fad481b934af64e2c483b64d585f", + "result": "valid" + }, + { + "tcId": 203, + "comment": "special case for z_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d1de303c4ddd05d57c29df92ad172dd8c8f424e63ec93445beaea44f9d124b17", + "private": "30fd2a781e095c34a483907b3dd2d8bd2736e279617bfa6b8b4e0e1cf90fbd46", + "shared": "b71bdbed78023a06deed1c182e14c98f7cf46bc627a4a2c102ad23c41cf32454", + "result": "valid" + }, + { + "tcId": 204, + "comment": "special case for z_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "5bccd739fd7517d9344bf6b2b0f19a1e0c38d9349a25ad1f94af4a2cdcf5e837", + "private": "28312e17b47dd32d90561168245187963c7469a31c881e4a5c94384262b71959", + "shared": "5bb56877caf2cdac98611b60367fbb74265984614e5e73996e8ea1bd6f749f1a", + "result": "valid" + }, + { + "tcId": 205, + "comment": "special case for z_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8a7a939310df7ea768454df51bcd0dfbd7be4fcbb2ffc98429d913ec6911f337", + "private": "a87640cf8237b473c638b3e9df08644e8607e563b5964363ccc42133b2996742", + "shared": "b568ed46d04f6291f8c176dca8aff6d221de4c9cce4b404d5401fbe70a324501", + "result": "acceptable" + }, + { + "tcId": 206, + "comment": "special case for z_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "fe3590fc382da7a82e28d07fafe40d4afc91183a4536e3e6b550fee84a4b7b4b", + "private": "780c5b882720d85e5ddfaf1033e9a1385df9e21689eeda4dcc7444ad28330a50", + "shared": "11fb44e810bce8536a957eaa56e02d04dd866700298f13b04ebeb48e20d93647", + "result": "acceptable" + }, + { + "tcId": 207, + "comment": "special case for z_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "fad9ab3e803b49fc81b27ee69db6fc9fdb82e35453b59ef8fab2a3beb5e1134c", + "private": "209e5e0ae1994bd859ce8992b62ec3a66df2eb50232bcc3a3d27b6614f6b014d", + "shared": "85d9db8f182bc68db67de3471f786b45b1619aec0f32b108ace30ee7b2624305", + "result": "acceptable" + }, + { + "tcId": 208, + "comment": "special case for z_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "98bed955f1516c7a442751ac590046d7d52ca64f76df82be09d32e5d33b49073", + "private": "806d1dee5ff6aea84a848916991a89ef3625583e1bd4ae0b3dd25c2524a4ff46", + "shared": "61d4ef71cbe7be3128be829ab26ed3463eb4ab25937c309788e876b23412aa7c", + "result": "valid" + }, + { + "tcId": 209, + "comment": "special case for z_2 in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "e59be4917b3f05b6fc8748c9b90f1b910273c9c6e17ff96ef415ff3d927d987e", + "private": "00f98b02ae0df5274cc899f526eb1b877289e0963440a57dd97e414cdd2f7c51", + "shared": "5ba4394ed1a664811b01557944becf7585652a8acbdbf806742911207bd79346", + "result": "valid" + }, + { + "tcId": 210, + "comment": "special case for A in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8c9885a26cb334054700a270f7a5f4aac06bad8263b651ebf0712eca1ebb6416", + "private": "d86c18f2be396b3bb72f22e6ece22e273af6e1506a1c09ad4d01bdd2f439f843", + "shared": "a5952588613eb7a5cd49dd526f1f20a4f0ffe9423e82cea302c2dd90ce559955", + "result": "acceptable" + }, + { + "tcId": 211, + "comment": "special case for A in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "f6135fe9741c2c9de7dcf7627ef08832f351cb325dbb3a26f93a2b48620e1727", + "private": "f81aadb9053eb698996d0f781d9cda67f82ddefa3987d276ff5a94ffdf5d255f", + "shared": "cb6fb623084b6197443ec9ba1050c0923332e5e829ae0194269cfaf920a43601", + "result": "acceptable" + }, + { + "tcId": 212, + "comment": "special case for A in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f6ffffffffffffffffffffffffffffbfffffffffffffffffffffffffffffff3f", + "private": "305b4db4321b4923fc559bf91df677d0e12c3a31b16ec655cb708b759d7c114d", + "shared": "9e526079c2fcf12426ae6c2a54b5ffb70f2ec662e29ea5ce0c8385c3b21cd162", + "result": "valid" + }, + { + "tcId": 213, + "comment": "special case for A in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f6ffffffffffffffffffffffffffff3f00000000000000000000000000000040", + "private": "900638d1979802db9b52e4dd84fa19579f61cd7bef3c0b62fcccaeaa15fa484d", + "shared": "6329c7dc2318ec36153ef4f6f91bc6e7d1e008f5293065d9586ab88abb58f241", + "result": "valid" + }, + { + "tcId": 214, + "comment": "special case for A in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f6eba0168be3d3621823089d810f77cd0cae34cda244c5d906c5d4b79df1e858", + "private": "38575cf7c8691ecc79cd5f8d7d4703aa48592ff6e7f64731c2d98a19aeae514f", + "shared": "603f4fc410081f880944e0e13d56fc542a430eec813fad302b7c5ac380576f1c", + "result": "valid" + }, + { + "tcId": 215, + "comment": "special case for A in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "60677a5d934ccbfab8ff5d8f085a0b553f94527d9c49ae140f8ed135e1449b69", + "private": "e88bd02c7016547a24f428bc2a9dcccad6c6f880c17bffcf66fc68459627af4e", + "shared": "834bbad5470e1498c4b0148782dfe630e8bfadff1997de802ac8ce302a1bda28", + "result": "acceptable" + }, + { + "tcId": 216, + "comment": "special case for B in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8d9885a26cb334054700a270f7a5f4aac06bad8263b651ebf0712eca1ebb6416", + "private": "9036ed7d68f7448ac440dc51216b49840dcabd3d5e32e3b4ffc32a5fe9e96742", + "shared": "ec9070ad3491a5ff50d7d0db6c9c844783dde1c6fbd4fe163e9ade1ce9cd041d", + "result": "acceptable" + }, + { + "tcId": 217, + "comment": "special case for B in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "f7135fe9741c2c9de7dcf7627ef08832f351cb325dbb3a26f93a2b48620e1727", + "private": "90c55e77aa0fe4afb1287109fd010f526364dea18d88e2fd870ac01b66e3fa4e", + "shared": "dc6d05b92edcdb5dc334b1fc3dff58fe5b24a5c5f0b2d4311555d0fc945d7759", + "result": "acceptable" + }, + { + "tcId": 218, + "comment": "special case for B in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f7ffffffffffffffffffffffffffffbfffffffffffffffffffffffffffffff3f", + "private": "a021ba2fd4e3ad57bcbf204d6f6c3e8018d8978552633b6dff1b7447bf529459", + "shared": "1b174b189981d81bc6887932083e8488df8bbbed57f9214c9cfa59d59b572359", + "result": "valid" + }, + { + "tcId": 219, + "comment": "special case for B in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f7ffffffffffffffffffffffffffff3f00000000000000000000000000000040", + "private": "3035083e984837587f6b7346af871bf3fc9581c50eb55c83aefabeed68cee349", + "shared": "15a052148abaad1b0f2e7481a34edb61403589439b5bd5e5646cecebe2a1be2b", + "result": "valid" + }, + { + "tcId": 220, + "comment": "special case for B in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f7eba0168be3d3621823089d810f77cd0cae34cda244c5d906c5d4b79df1e858", + "private": "30435ce187f2723f9a3bdea0eef892207e152e4cee8985fa72d2db4147bd2a53", + "shared": "1d048cbe2f8df07c233a8f93706f307d17130c2497fb752eeaa31fe3edfc725a", + "result": "valid" + }, + { + "tcId": 221, + "comment": "special case for B in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "61677a5d934ccbfab8ff5d8f085a0b553f94527d9c49ae140f8ed135e1449b69", + "private": "580f0a9bba7281a30fb033490e0f429f22e3f267852caeacefa3e5291f0e614e", + "shared": "cb92a98b6aa99ac9e3c5750cea6f0846b0181faa5992845b798923d419e82756", + "result": "acceptable" + }, + { + "tcId": 222, + "comment": "special case for C in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c8239b710136fe431fb4d98436157e47c9e78a10f09ff92e98baff159926061c", + "private": "709098feb2e25c67b4bfd3be0a01af409adb6da52b3fbe3d970642dd2c983856", + "shared": "f1bd12d9d32c6f4c5b2dcb3a5c52d9fd454d52ca704c2c137956ec8ad9aef107", + "result": "acceptable" + }, + { + "tcId": 223, + "comment": "special case for C in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "b7a2f79e0de9b58147691b5546d9ec463da8325e1440e58bb20aa129d1b97327", + "private": "185ac62e729f88528950926c0de7c481c924bf9cf26a122f443b861e8b6af640", + "shared": "e6f1c494c9e4bd2325c17183e82d31ab0bbee6c847d4b0e4a99c7c6891117c3f", + "result": "valid" + }, + { + "tcId": 224, + "comment": "special case for C in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "2dc624e1663f42a7b9336350f277541b50b8ddc7ee0d86133ad53273aed4e62e", + "private": "f03743eead7c2f7719794324f271072817d1a04cbda42b232f3bee43f397cc40", + "shared": "aa2a12edf752d279bdb000fb1405a5df8c5f1d41309b4f2bd41aed7ac1ed0149", + "result": "valid" + }, + { + "tcId": 225, + "comment": "special case for C in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0e5eceee9104a64f82c9093b9bf7b4076ee5bc70815af7ee9f942ef015756176", + "private": "a8fbb4f90da45794981405d59ef310621e3c3b6b7760b5e30308c7822c88ae5f", + "shared": "74d5606ba0b6ad1d8ba36ae6f264d6315f479b3984de573e9b001e0555247c32", + "result": "valid" + }, + { + "tcId": 226, + "comment": "special case for CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "737d45477e2beb77a6c38b98e2a19b05c395df7da998cb91f6dfab5819614f27", + "private": "c887886fd07107c7221f6d9dd36c305ec779ceca132ac933ff77dab2beac6345", + "shared": "8cf4538ae5f445cc6d273df4ad300a45d7bb2f6e373a562440f1b37773904e32", + "result": "acceptable" + }, + { + "tcId": 227, + "comment": "special case for CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "873f8b260ea9d9ddac08b7b030727bf0072315ab54075ecc393a37a975882b7e", + "private": "58096ee29361978f630ad1fb00c1267c5a901f99c502f9569b933ad0dcce0f50", + "shared": "d5766753211d9968de4ac2559998f22ef44e8aa879f3328cbc46aa858dcb433c", + "result": "valid" + }, + { + "tcId": 228, + "comment": "special case for CB in multiplication by 2", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "75e1587c5eefc83715d71020aa6be5347bb9ec9d91ce5b28a9bbb74c92ef407e", + "private": "0829a49046dce2c07ab28440dbad146453e128960e85dd2e6a69a1512873dd44", + "shared": "761d8cecf13f93b379a772e5fac5b9ffe996cad9af06152580afe87ff9651c71", + "result": "valid" + }, + { + "tcId": 229, + "comment": "special case for x_2 in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "f85a06065ea2527238fc5ec1b75ead9262e6b1aed61feff83b91230aeb4b7d01", + "private": "587ac36b9a23594632679adea1a826f2f62d79738220fb487464039f36ca2372", + "shared": "f12acd36f6299a4d192c03aa4efeea7df51e2d15d763172e68accf7bc6f5c230", + "result": "acceptable" + }, + { + "tcId": 230, + "comment": "special case for x_2 in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "6e0f1d00b1099d2a71f7be86655feb8988bba5577b02f964043a49f00c749613", + "private": "a8a442b7c0a99227b4cb5c75fb9e5a72cea25eba8a0bdf07271bb4a93c2b6665", + "shared": "b2bbbd173f41d952d329251da973a9500300628177ad0fb79d01e2e263905b38", + "result": "valid" + }, + { + "tcId": 231, + "comment": "special case for x_2 in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "696757ced3097fa960c8390a09e8bd6d390dbde8d1fa170261f3422edc192929", + "private": "d8f7233e9612c00c9dca2c751ec1d3f5f67bad77c2e714a20e71eb3f220a6671", + "shared": "45ecfa275f1daa25d3fadf33cdf89a152afea25eae37e68e00b30c367789887a", + "result": "acceptable" + }, + { + "tcId": 232, + "comment": "special case for x_2 in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "fd84b3f2fbfa16aebf40c27f46e18d77bafa0c7971bedde4909212e771bd3c35", + "private": "d80c7c7557c9907e1b11e844bf1369cba669bc38e9b7b253e51f239bda322374", + "shared": "595e144e07bbe65b38e0e4163d02ad75a65e422e74067db35c90dfa6e055d456", + "result": "acceptable" + }, + { + "tcId": 233, + "comment": "special case for x_2 in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "805485703ccfc4a221ef281267f52b61cebc879f0f13b1e5f521c17352a0784f", + "private": "8002a85115ad7b41c50f84f35fac750ee8e19734807102830ff6a306beed4464", + "shared": "226e16a279ac81e268437eb3e09e07406324cb72a9d4ee58e4cf009147497201", + "result": "acceptable" + }, + { + "tcId": 234, + "comment": "special case for x_2 in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "80642a3279da6bf5fc13db14a569c7089db014225cfcae7dff5a0d25ecc9235b", + "private": "782db0c8e3e68f106fe0c56415e0bd13d812dea0e94cbd18bdf6761295613a6d", + "shared": "790d09b1726d210957ce8f65869ca1ec8fa0b2b06b6bcf9483b3eb55e49e9272", + "result": "acceptable" + }, + { + "tcId": 235, + "comment": "special case for z_2 in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "84e827f78cae0cf063e4340198f788c284e07430b3a94a3873df38b1f872ce02", + "private": "909fb0bdbf53a69a2fe39c8b2497abd4fa57d2d54e046b5f514595e2c0f33d63", + "shared": "684cc83af806bcd9cd251e1858f3c10f0166e0a0cd2be154339a886b13e7c76f", + "result": "valid" + }, + { + "tcId": 236, + "comment": "special case for z_2 in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d445e1df0083bb6b8e886e6632251807171d4e88c41816fc684373c09d7e5d6e", + "private": "78a67909757248665f79371eb014825ab6bd4af3571f140389c636e004bcf46b", + "shared": "e426e4a3c54d3e77f4f157301e0ac7d9e12337a2b58df16780041cf6d6198c5a", + "result": "valid" + }, + { + "tcId": 237, + "comment": "special case for z_2 in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "f26aa6151a4b22390176f6233e742f40f2ecd5137166fb2e1ec9b2f2454ac277", + "private": "286a302d5b076d2aba7c2a4daf9e7cc9d8539b7c0391307db65a2f4220d30f70", + "shared": "862df92e25277bd94f9af2e1dda51f905a6e2a3f6068a92fabfc6c53da21ec11", + "result": "acceptable" + }, + { + "tcId": 238, + "comment": "special case for DA - CB in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "2b02db3c82477fe21aa7a94d85df379f571c8449b43cbd0605d0acc53c472f05", + "private": "a838b70d17161cb38222f7bc69a3c8576032d580275b3b7d63fba08908cb4879", + "shared": "3f438dbf03947995c99fd4cb366ca7e00e8cfbce64c3039c26d9fad00fa49c70", + "result": "valid" + }, + { + "tcId": 239, + "comment": "special case for DA - CB in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "d71dd7db122330c9bbaab5da6cf1f6e1c25345ee6a66b17512b1804ace287359", + "private": "b0733b4203267ab3c94c506acadb949a76cc600486fcd601478fcdef79c29d6c", + "shared": "95f3f1849b0a070184e6077c92ae36ba3324bf1441168b89bb4b9167edd67308", + "result": "acceptable" + }, + { + "tcId": 240, + "comment": "special case for BB in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "737bc07de0729bbcfbee3a08e696f97f3770577e4b01ec108f59caf46406d205", + "private": "d844a36b58aefdb08b981796029a2766101884b348f70eed947c2541064caf6a", + "shared": "6a969af6d236aba08fa83160f699e9ed76fb6355f0662f03dbc5915a3c23063e", + "result": "acceptable" + }, + { + "tcId": 241, + "comment": "special case for BB in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "9758061a7b3e2c02fb5c20875ae6b55b11fb6795990a0f4fdcd1147be5521607", + "private": "a0b7d312d9b832e124d1bc8cb21db545440e3cf14e7473ee9ccbe9b682f2156c", + "shared": "ab39db4aa29ac4017c7446f1ad0c7daa9a37f1b6b4f2e9d2902ccefb84839d28", + "result": "valid" + }, + { + "tcId": 242, + "comment": "special case for BB in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "37cd65d33036205f3449e8655a50d4b0c86fec02100b4f2db7da92dcf5e3aa0a", + "private": "787f1ddd78cc6473d3e63949409ad3f35bfe0ce0738f255dee682f2bfbc80f7f", + "shared": "13de41659e3e308d6e26c94282fcc3e0364ddf0809ddee6c8e7abb5091b02b00", + "result": "acceptable" + }, + { + "tcId": 243, + "comment": "special case for BB in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "a9b6e8081460383adc587c8f91a02c59a7a35576ca62436ccd1b5fef1b92545d", + "private": "4080ae60a85c1fa95aad9beabd98b405e7f28141bf08f2c9a4fdbde1c5680265", + "shared": "69ed8a0a27812ae6741474bd5c6a4e683a126649f7245aa0f91a3a384bcde25a", + "result": "acceptable" + }, + { + "tcId": 244, + "comment": "special case for E in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "fd1a2cd17a93f850deb8c45a2d34539232dfd8a558304209781c6cb58229870e", + "private": "08f9f4a4fac4db413315f74a59818b2452fc7b7685592e26556775f9b86d907f", + "shared": "010218bd67b1b92fee3e7fa4578c13617d73195de10279747e53ba01a254525a", + "result": "valid" + }, + { + "tcId": 245, + "comment": "special case for E in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "b88119e5ae6d9e6b912d52524739e612ef19ab7e5dd3d946cb9bc003c378f81f", + "private": "1888cfae3085867657b09435c42b74cc762457839451a3659db218d4214fdd63", + "shared": "e6b298de9cb6358fbbb00f11890f5714a3858e8f05a2a8d1cf39fe78cc55dd4e", + "result": "valid" + }, + { + "tcId": 246, + "comment": "special case for E in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "7b70e29dce0479cde4a36c7f9786582f104bc0788f046b48af495e67bdb88f36", + "private": "789ce13ed007818d7a5181e629eed944a20a058cfe39669c9831bfa5215a1269", + "shared": "967bbe298494b4a5f95853cfde9dc85970b2a4b5dd2c92782901e853957f5809", + "result": "valid" + }, + { + "tcId": 247, + "comment": "special case for E in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "2a209e2ace0e3d6973ffbf7403f9857ff97a5fdcd27f2c7098b444fc3c166738", + "private": "00022b43775ab2f4b91bc1cb54c97f78026289eaaf02abeed04ca84f736c686c", + "shared": "9f66848681d534e52b659946ea2c92d2fabed43fe6e69032c11153db43dca75b", + "result": "acceptable" + }, + { + "tcId": 248, + "comment": "special case for E in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f50709aca7f314e8d05b5ff97a427e427bd5e85c4e86712125076a771be21448", + "private": "8097a52fc562e8a516682f5363cc5e7c88e9c78e308df0deef40497b35cc127d", + "shared": "ea7572e27a9120de1f13b85710ba69a3471b7b3f5d12bc430c12c4bbf8aa3957", + "result": "valid" + }, + { + "tcId": 249, + "comment": "special case for E in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0f13955978b93d7b9f9a2e70d96df922850a8ffd8412e236fb074aef99d37d54", + "private": "4028802030d8a8221a7160eebbf1846116c1c253abc467d6e43cb850f1459860", + "shared": "e23d63a46be67c7443c07b9371ff6a06afcd7a5794bf2537926074b88190307a", + "result": "valid" + }, + { + "tcId": 250, + "comment": "special case for E in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "18ffe992a729ce70c3b7cdc55bab55f2210d279134b3082a9f682d3a0b131273", + "private": "d8515d45c7ab2b9529816543150068b8e4bb614cf2b68a8a99363975af503d74", + "shared": "33ccaf24e1e26290ed7e462093e9f77607ef52a0626b2cd2511c41cd24c13849", + "result": "valid" + }, + { + "tcId": 251, + "comment": "special case for AA in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c3ba28057728d0533965ec34979fe7bd93cf6cb644e8da038baa87997b8dc20e", + "private": "d8815bd144518fa526befdd373f5f9cff254d5d3c4660e8a90ef2a22c6876a74", + "shared": "74f95b4700f0185f33c5b5528ed5012a3363f8bbd6f6a840aa1f0f3bdb7c9650", + "result": "acceptable" + }, + { + "tcId": 252, + "comment": "special case for AA in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4eb095a86d1e781bb182233075ebf1db109d57135bf91d54fdb18eb371427640", + "private": "a82d996093eefdaf283f4049bba4f5af6ecc2e64894f325ee1f9ca1e156d0567", + "shared": "e9677b854851c41cc489e03981ae78690be6cbf0054ea9834759de3e27bcf03e", + "result": "valid" + }, + { + "tcId": 253, + "comment": "special case for AA in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "83f67d7c92b11c8fb072484642a01f43deb022b54d94a4015e39849a2e2e9555", + "private": "c02609df3d5436c123dcd7ee11f23f1da321666c09f379d37914203340510861", + "shared": "f148716ebe7269a7076f0cf1f22b6978d3c7e3607b0bcc87a8c7a85b9fd20c2f", + "result": "acceptable" + }, + { + "tcId": 254, + "comment": "special case for AA in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "20cc75d376d8453b9d049c84f58eafcf61126c08a03661e735f0a8be228fd466", + "private": "a0e3b78c0f3be2a760b2c916f244df219624fdda2e9e31b15328f4a77690296a", + "shared": "1d5c123e88e9dc7a3b16ec90b60578dfca7e11eab9b88c6eca7bc33d91fde83b", + "result": "valid" + }, + { + "tcId": 255, + "comment": "special case for AA in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ef31b43d19c0a5434deb56129c16298a394a7032a2e52cb997476bdeca325b73", + "private": "701f130a290584cb28c7d6539506a1a054f926a17ef7c568ae43047c05e10f60", + "shared": "2fc065ba8f5040a0a659f6f7330554bd1b9d7c893b91e316e0af90c37af4f135", + "result": "valid" + }, + { + "tcId": 256, + "comment": "special case for AA in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "d8c8e2c6f33a98525df3767d1d04430dab0bda41f1f904c95bc61cc122caca74", + "private": "d0e67f68183a4c1aed9c56864b36278bb7bb75d57a78321bc7c24ff61636607a", + "shared": "ef7612c156078dae3a81e50ef33951cab661fb07731d8f419bc0105c4d6d6050", + "result": "acceptable" + }, + { + "tcId": 257, + "comment": "special case for AA in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "1833619516b80db0c05b225509e6698df028d83b66ed6bac6f0f6308970d2c7d", + "private": "88eb7775dacc32b045ceb35f261b3616315efa98b780e08c79d544edadb5467d", + "shared": "a3cf3d81ec56896a68fca0da6335171d0c622568738c0db26fe117033726a049", + "result": "acceptable" + }, + { + "tcId": 258, + "comment": "special case for AA in multiplication by 3", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "e2e989aad2397fc34b6cbe2db27d5ab69b28048383c91d9e8226d548253fab7e", + "private": "7055b1c0576e7ab6c89fcc1ce49e79c8c371bf9fc2b22b8f8396a9b64c5ae26d", + "shared": "e7f45823a45b6a46192b37d73e8609b5bda68cd7cfbdccaa49082080993e640f", + "result": "valid" + }, + { + "tcId": 259, + "comment": "special case for D in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "b9bd793624d6a7e808486110058853edb25e136bd4d6a795d6d2ef53b25e3804", + "private": "906a9bfcfd71014d18967680d4509eaa41c666424af98bf9ff7ff49eb1baba41", + "shared": "7c6148134c9e8b2ba5daeca41e6a1f3a82d8f75d0b292b23c40fe7f5ce0a2b7a", + "result": "acceptable" + }, + { + "tcId": 260, + "comment": "special case for D in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "e3f444e208da9043f3f74c20e28d7f404bb687a346709abcd555156f88607820", + "private": "28392b1b035a8465aa22aabb571061c6effeed40cc2530b628e4fd40395ae04a", + "shared": "ea5e772bac4693ce69ea3ac761011fa7674037653a433c7f05456e7291cd3c4e", + "result": "acceptable" + }, + { + "tcId": 261, + "comment": "special case for D in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "87b43f90f76d12fb3a469fa8687c27e369d4a82f95cf95e8dc3970de8f86d92b", + "private": "78cbb35204cc88676c14e0ff18171392e998411b23d905d4c4dceab70511f442", + "shared": "81c395aed5cc5f5e2a206a8a4cacecd501df5b81e49433835ad8a3779edffb30", + "result": "acceptable" + }, + { + "tcId": 262, + "comment": "special case for D in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "86441ea06c5cd2a34c6b51261e93a2f30ea7db0f74e14c42f0fc443c6735973c", + "private": "a8225b49ef7b7330e3de787cbc40479644db7ab126370295c94189673430d745", + "shared": "513eba5870dc5187e2552fe3ba8292b516d2af9ecb9a9bdc51eac2ce2de40112", + "result": "acceptable" + }, + { + "tcId": 263, + "comment": "special case for D in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "4624aa4ae9d12725bf92b85f93e3e8cea16b7bd83fda0eb18fab2dbe0e8bf742", + "private": "0841e1a5c7420b94b6cc6991316ebdd608626339c09d0f67b24088588b9d0d49", + "shared": "983b7e236ffaddb4b759b7353fe87846f59fb6f28a3ed65c256176b6609b7c6e", + "result": "acceptable" + }, + { + "tcId": 264, + "comment": "special case for D in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a625a5b7a04cea462d123b485c39ea44a8079aa223c59e9ca97abcd30b500e4b", + "private": "08ecf76e31a23039ea8a15ee474b6251a9d725bff1a5751eb5ecde9d7d4e2f49", + "shared": "c941369b085c7465d50d23ceaf6717ab06e24638f217a7b8055ce8ebd3ca1225", + "result": "valid" + }, + { + "tcId": 265, + "comment": "special case for D in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8a5f2063f259f3317ae3e0b459f82c4677666e49a2eb9bf0369aee663631265b", + "private": "6038fb0a830d1001ca8ea74a613ea98f6ab8512644e55e8d45a29071bd4bef45", + "shared": "a3f7e169db44d0d179c242e66347364ab92744dc6ad80e4775aef7f4ff9d5f34", + "result": "acceptable" + }, + { + "tcId": 266, + "comment": "special case for D in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "54cfb6ad0d03e3115acafee12606397f2bb46a8c5f326a255c494118aead3b62", + "private": "c04cf129f0b33332e2654f8e45225c042d7fa6cbc793c88bd4c731985289b045", + "shared": "401aabfbb73fe6694c446ecfffb43006427a9d4756e049a1ffc79578d62f1660", + "result": "acceptable" + }, + { + "tcId": 267, + "comment": "special case for E in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0ee3bee8cb3a0afcec22fa2233706e8ec29ccf1af212c0a674745ebba34f9d08", + "private": "3806b036c92d7bc0771998d24dbda2945b601d42449bd3ec4bbf3757d01b894d", + "shared": "20322dd024fb5a40f327cf7c00da203734c2a279b9666a9ff7d8527c927b675e", + "result": "valid" + }, + { + "tcId": 268, + "comment": "special case for E in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "797ec7512afbf0ad918d0e4947903be95234f3abf36750a8f854888d117b774e", + "private": "380d9056b5a2f4b3dffb30e6ceb722ac4684245f1befafb5661bc8c7a9ad4c43", + "shared": "46152d59c2d2f3ecf03ce652d2b6978d401d5ede4570a6c911771bdcfb37cd41", + "result": "valid" + }, + { + "tcId": 269, + "comment": "special case for E in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d570c7810f69e502b355253afa7c667bfa5060d90dc86e358ab445f6381e415d", + "private": "384929a42c8d8df146db9508e2f21a4e8cd4d99c1b1338df17a457e88afb0043", + "shared": "37567f7ec0449c7b823cf7b0e219e9dd880e56a1464d0417a9e67eff42332866", + "result": "valid" + }, + { + "tcId": 270, + "comment": "special case for E in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "2c611cb94448f1c7822425a4cf5356236b90a555b1ed4747820ba7f739c8f57d", + "private": "48a986825b2680e2f2547ba75a9599b04ed57f8ed18d98e7099c544efbdf284b", + "shared": "fbf6587ec181116cf1ace7dcd548029d69c130e50fcf6ad5dfcd25c23ee9f939", + "result": "valid" + }, + { + "tcId": 271, + "comment": "special case for B in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "e559c417da7fd5851352f508b90031d49b5d2d0aac88a9c8b5fb6e80165ac10b", + "private": "98452ad7df4e26bc4b3d403f9ebf72bb2d7b6b7d5860dbf6fb9a4f78dc02704a", + "shared": "c7c6f6d7ce1e4f54c727e5900686c34e6a6953254bd470bbbf0c7c18bbddad73", + "result": "acceptable" + }, + { + "tcId": 272, + "comment": "special case for B in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "746d97e7774292a3d703f604e79d8764c99a6a2fe280eaa9811115f5e038f21a", + "private": "a8dbc9be5034ed7fe7f469264f2135e9c67cd30f525570d2d841e4bdeac52349", + "shared": "cf7d2a66ea4dfed94469b2d343533ff302a576f8402ed2187904437038e54665", + "result": "acceptable" + }, + { + "tcId": 273, + "comment": "special case for B in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "1f354aa8ffc4eae2b40dad2ebf830db3feb07e2a1a2da39e55df87c8c613de1d", + "private": "f8d26878dff25ced02d3b27ce74002695bb879b3c4328930934315ecae842b47", + "shared": "b204d3bbcbdc624f9f1a743fa3daa8f4c8785ed088d37d08cd13c601170a461b", + "result": "valid" + }, + { + "tcId": 274, + "comment": "special case for B in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "9c3f0023e1a4832586af2483bbec64ce9f06f3ea806d4019a5e4abb1b5627029", + "private": "d0f5e9c43c95b1ffc36f832b943601d5e17647f7d78e2e7710ace63ff274d447", + "shared": "b9f21465615f39dddcc37520ce9b956f7de9883ac93a870d74e388b8e1775463", + "result": "acceptable" + }, + { + "tcId": 275, + "comment": "special case for B in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d05656aa014d476022dfc55e8d3b4884ed0bdf85209be8b55351394d52be684b", + "private": "700679e8c24df828f2e5212a3263d5e93ea61679988298bab3b480f46f961a48", + "shared": "20f1fc613874495f20562c10b7a8be47bfc12c168d829d6321aa2de17060e40d", + "result": "valid" + }, + { + "tcId": 276, + "comment": "special case for B in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c4a19b8686e18c29359aa548427f06a368d55a8737483d4893523adac6795a4c", + "private": "d0d077c9461f747e5660be85cc620428b4cefe805de0fd254adaa465ea5e784f", + "shared": "652b18ffd41cfb7d1f0b6dc79baa3b2a392ef1617f5cf6259b5b4ff065916a16", + "result": "acceptable" + }, + { + "tcId": 277, + "comment": "special case for B in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4989de79853ff35be8c9f92fc94674feef38a0e65788471c521f8e259adf015d", + "private": "00711ac08ef88c3d43a3cbda67b6fe5f34f54723dbe6d725c8a3569070ab9a4e", + "shared": "679825c259392d86f8edb15328d4faf52300779d979a503a76e27be3d7a85e03", + "result": "valid" + }, + { + "tcId": 278, + "comment": "special case for B in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a981483cb0ea4385ffbb552826c3dd110d4ae89ff52ed0cd6018f99d3387987b", + "private": "989a75b40451139ec36ca6aa043765c61a18be323a5987fcb025c2dad8d4bd40", + "shared": "9cadc14ac153fa383ef66d1833f589100dff90523272e32b06e2c6f1f4424040", + "result": "valid" + }, + { + "tcId": 279, + "comment": "special case for BB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "1df3dfdab74ff38177dac294b2da2f49a348bc3b3bc6ce9312bea5ef3ecdd30b", + "private": "90c3cfedd919a2ccd51fb455649e3ad2da1ef0ff619b59a7f9c55a68a8219645", + "shared": "bcc95fb4890ed311f3fb4f44c2b60866cdddec97db820a7f79f475337e16284a", + "result": "acceptable" + }, + { + "tcId": 280, + "comment": "special case for BB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "fc6b718ba8b47d24b1cfd6b5d0dd8b20fd920960fabc302dbe4f93bd2a06e933", + "private": "e8fef5c9b60f84984e8836d535acb372096ba8159824a0b49a17eccda843bd41", + "shared": "06f1b495b04a0010845c9d39b13bf2784ade860d9632c8847618c0b34297c249", + "result": "valid" + }, + { + "tcId": 281, + "comment": "special case for BB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "b279b6c065f95c7040f148bcb4a3d310e34bdb005931a879be469573deedd041", + "private": "c0e05bde7727db4e352b5e7f035327b4d86a42d513ca116e22d64a4ede56434a", + "shared": "cce7bb644df94501421db49d15e821c7b0aaabecdf8837ab989b1f23bac08f35", + "result": "acceptable" + }, + { + "tcId": 282, + "comment": "special case for BB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "98e2cd4c10554e41b0a3e41082c8b6b61b55447d26c0aa97f9a06baeeb54b55b", + "private": "d87308bf753573f596ac8330b204014b2152dbdfc9881a0d9975058582bdf646", + "shared": "71fdd3405c30805701ae4dfad98c493aecfcf2e3b563e7068373c1b19137c268", + "result": "valid" + }, + { + "tcId": 283, + "comment": "special case for BB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "872897f1bd1885da08b9d03e46811044fbb04186ba30c806f38b94ebdc27186a", + "private": "d80059a8a387e16f6ded6e7e980e806d1f78b470bb61103d0ca70623ccee8b4f", + "shared": "bf280aeecb74ab34e1310aa6fe8dc972f94dc40c7f88b72137ccfe34ed343c13", + "result": "acceptable" + }, + { + "tcId": 284, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c08f72760d9cb4a542aad6e2af777920c44563bd90356168c3608c6b9af2ef0f", + "private": "b0a4fe63515169bd82639b515ff7e5c4ac85bba0a53bbaca80477eb3b4250d44", + "shared": "72566a91ccd2bcf38cf639e4a5fcb296f0b67de192c6091242a62fae467fb635", + "result": "acceptable" + }, + { + "tcId": 285, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4f03849c24d584534d74302220cfdc90e1bc360bb5e297c0fd0fd5f8d799e416", + "private": "984256b12ef154ff6c2e1d030826164cba3614e3df7688d82b59e16201c9114d", + "shared": "24acb4afa63919621df795206c3929b599ec9d253693895d51a0555072e89a34", + "result": "valid" + }, + { + "tcId": 286, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "4959771a931e242d5713d5cb76f33310c6a283df16645604289553809cda6518", + "private": "6847141d5d4377af96a2a647c642ee81600fe48d3467e3a70f3ee312bb621742", + "shared": "5ba2112a41b5bb381f202446fa9f23c54d2de149f9ad233753417263840ea432", + "result": "acceptable" + }, + { + "tcId": 287, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "f6fe690cf547049635bb3a7785537b4379c9ee06b46120493b8bdb152e09c81d", + "private": "e85f1164e2ab6faf62667c74b03ce529b49a0e2041b1ac0fa242e522d2b7694c", + "shared": "a87c9fdf40c409b9edab481b2cc69687ee1ab92e340c3db0107d40b5de6e7a20", + "result": "acceptable" + }, + { + "tcId": 288, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "b468681a1275850c11d37ec736af939a75a7098514e04cfc1c6ca78239a88426", + "private": "281e1bbfa711de69921a64c5d2183c338db5504606ce2b6b4ce1cdd54b41e14a", + "shared": "3be98798f01e71639f3cb8fd4a17bf273e10c67f8974dd9802eed59d847d4020", + "result": "acceptable" + }, + { + "tcId": 289, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "2d71e8457099e3f445f9e2a14f18b0f5914bb35f482f9c069b64bf63710d4228", + "private": "20aacf1902b3cd609d7ee15cc96453cc22e2899d7d17852680f2a728bac6dc4a", + "shared": "338c9917dbf11a0cabe8ad4a65959229bc00f99c211e752b20b8b49b87756d0b", + "result": "valid" + }, + { + "tcId": 290, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "fa8f24e944de5d003746d4630350c0f4f6175a3269c19184824105398fbdd329", + "private": "009e8e9fa993804dce94cecb96b1de2568245a97059e4d7ae116ecdb1badd141", + "shared": "56e2bfc7f6ab7da8fc734afc515e57d0794d002434f9bc8e18bd0b72c0df3c4a", + "result": "acceptable" + }, + { + "tcId": 291, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "ae4e37ef53c79e25e8275a60f2fc1dfc277ebc5d3b88428c6432c3f98494212c", + "private": "f01574643f231ffac055bd235ee74dd416b94c8e55a2ab2b4d13a8b788d90148", + "shared": "17fa1276d9fd5025172736449a1c0ae33512e5037014a18db5903e47bb3bc950", + "result": "acceptable" + }, + { + "tcId": 292, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "95e56a830792478f7c42504043a9cab8e2eebff5fd90983709e29e03c0a41b64", + "private": "3800a42659954281ca266d7cf1ea9db6d79891a406a70f9e84c3570a6a12d24e", + "shared": "167a3b2fdce9413c89ee892daf9f839a2eea80ea8044924035db1724a5b0217c", + "result": "valid" + }, + { + "tcId": 293, + "comment": "special case for x_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "5f16aa7ccabf4da6b686bd28c7460e106bb1b97a823792527765c29a9ad8fc71", + "private": "70a826b186962218dbafca113319daefb5ddf3cf14e15fe3faadc4c0a2e46648", + "shared": "30a4ba793f2dffe1700c61428b4d84b5fcd0aa99a23b903f84a48eca5cc9fb0a", + "result": "acceptable" + }, + { + "tcId": 294, + "comment": "special case for DA + CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "47fb78111805a11982a3d6c5d83e8e189e7fcc462c9abf805d3625be7a6eac11", + "private": "a85a5eda0a269500b3ab0b58495fc254c2691028ac533494b5f86d44e9dc654c", + "shared": "2bf9ab750bd58ff6f877b783eda45a71a65cc9b7c037fcfef4cb5f4c8842f529", + "result": "valid" + }, + { + "tcId": 295, + "comment": "special case for DA + CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "03b8ca5efd1777d6d625a945db52b81f11214daf015d09fdc9df7d47b9850e31", + "private": "183f28ec867624ef5eca4827ed0714a5525ef21d5e35038b24d307a3391a2846", + "shared": "35e9289234bd5e531da65d161a065a14f785076088d741c9a2d886efd7d17921", + "result": "valid" + }, + { + "tcId": 296, + "comment": "special case for DA + CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "4eca5f8731b0fa0c106acf578b83a350fa8173a290f1eba803956de34eeb7671", + "private": "888c6444ff5eb482b2b10bd4e8a01bdccb65f32934d8026106f16a91349f484c", + "shared": "833afb867054b8b9ac70d6013c163e8b7676fd45ae49a1325f3acb75975d8c13", + "result": "acceptable" + }, + { + "tcId": 297, + "comment": "special case for A in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a5562b4ba86b464dff4c2cfae85b384be211771efe8a9697e51d84de47f1eb14", + "private": "c8a85d140ba150f5c6a8d3cb363bcbcb75365e51c61640e974a0725b5e9d5940", + "shared": "8a914760129575c8ab3270d04b0465fc2f327acaf1676463113803bbb2ec8021", + "result": "valid" + }, + { + "tcId": 298, + "comment": "special case for A in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "88ae1631cd08ab54c24a31e1fec860391fe29bc50db23eb66709362ec4264929", + "private": "90a3aeb1417c3d61c1efef1ac052218fb55d3a59c4fe930b5a33cc5183b48547", + "shared": "c1988b6e1f020151ec913b4fb2695bae2c21cc553d0f91cf0c668623a3e5a43d", + "result": "acceptable" + }, + { + "tcId": 299, + "comment": "special case for A in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "cbc4d55d5bfddd0bc5c5edbe3a04836b2c701d25195b26221cbea19311e55a3d", + "private": "b858d7414bd9ab9a3ebea79064ab87bc050e74407f4d4748f62fa4d9d203b640", + "shared": "bb24817bd9fff423dc0972908e2c03fddf4dbe100016b459f28fe9594adb3714", + "result": "valid" + }, + { + "tcId": 300, + "comment": "special case for A in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "d66a2f9f7577e2df4a56cb51962b3056ff5cc0494c60f39511782e79923edd41", + "private": "f825edf1f79eddd715a72b3ac267d6b2e97e18bb13bcafdac5940370b85ba64b", + "shared": "b3b4513f8a3102e1ae782fbc69888177f2c24c569303a5d01ab1c3c5e285524a", + "result": "acceptable" + }, + { + "tcId": 301, + "comment": "special case for DA - CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "de0fed2fab6e01492675bc75cbe45d7b45b0306cec8dc67611699811c9aaef16", + "private": "b0a710b470e324bb56a7d8ff8788d05eb327616129b84972482425ea4ad4f34b", + "shared": "471ba91a99634f9acf34fd7fd58f72682be97ee1c821486d62ba4e448cbc0417", + "result": "valid" + }, + { + "tcId": 302, + "comment": "special case for DA - CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "6418d49fe440a755c9ff1a3582d35dc9b44c818498f15782c95284fe868a914c", + "private": "b898f0329794747d33269a3989b67e43a7ab5a55fa1210b0e5dba193f4fa094e", + "shared": "cdb3ca02d5fdb536dbc7395bab12bdcfd55b1ae771a4176dedb55eb4d755c752", + "result": "acceptable" + }, + { + "tcId": 303, + "comment": "special case for DA - CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a89bcfa236bbccf07c434b59f8655fb085b6cbe5ed6376281df813afba22b752", + "private": "a0528ed9a8ec22ebe9cc2e32fafc3f467500a9a22f5377382df6604edcdf4f44", + "shared": "cd3245403fd9edfcf91c9581ebb2eb7c77ad6837fca372479e78de9faf60a34a", + "result": "valid" + }, + { + "tcId": 304, + "comment": "special case for DA - CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "cdb1f95f6eacc24b6d029c6ed976666dc51794db8e4aa966ba850fd7f5048965", + "private": "f06888bde75d689d056874f6436000497d22d8ad9b95a1c67de1dda4ada3164d", + "shared": "ab7c47ecb0c0167156f44f66a527264b958fc992c21ce98cef3ae214d66bd82d", + "result": "valid" + }, + { + "tcId": 305, + "comment": "special case for DA - CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "9491a82744f1cb6105b76b0442e54e605ac67f47a1b2b3b552d486f75bd98e6a", + "private": "e034fcaa3ae40603f9b22af159fd67ef009380946de92cb1d83cc489e8b35041", + "shared": "1bfa264a7c7229147a20dd021211891e61f5d8c76cd83f0be24bc70e466a815b", + "result": "valid" + }, + { + "tcId": 306, + "comment": "special case for C in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "4d19e156e084fe582a0eb79b2f12b61d0b03f3f229227e798a933eea5a1b6129", + "private": "702a7448c0ed58e1f4e0e332d096a36360beca2f6955c815bc120b3a691d7742", + "shared": "c46057fcf63088b3a80e0be5ce24c8026dfadd341b5d8215b8afcb2a5a02bb2b", + "result": "acceptable" + }, + { + "tcId": 307, + "comment": "special case for C in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "cc4729c4eae292e431ec3a5cf5020e19f9bea50ef3218d9a790034526c3ee14a", + "private": "50025cb508ad4faa06fafd0f4a33b747ccf1b3573885d3426500d51b56300144", + "shared": "d4361e26127adfbe37c2ed8f42cce4ebab8ab74ed9e74f14c3435d612c1a992a", + "result": "acceptable" + }, + { + "tcId": 308, + "comment": "special case for C in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4a474249af8f771f0cfb1116f24fda4c42f4136d2afb766d1b291c73c6668d5a", + "private": "7082fc53299a4d30e5d0c383c035935b1eeebd9408fe4d04b93eec24be52eb47", + "shared": "80dfae7a28bb13d9e51ff199267cec2a19dfc8b6f4974e3446b2f62fe9b62470", + "result": "valid" + }, + { + "tcId": 309, + "comment": "special case for C in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0f2a5cbbe503139531ac0529183da8e624d25286f6e35d1407ab1f4d76ebc260", + "private": "98ff7e711d65cc7fd9d0ac12dfe8b894e0a93602ca9e75bf0eabbf0bfe670148", + "shared": "7a5c373065e339b26ee537cff1cf4597cfcb4bf2dc7c4bcfec9884443281c273", + "result": "valid" + }, + { + "tcId": 310, + "comment": "special case for z_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "2fe11d723dba63559e1b96147893cb7ec862711806316daa86cd4da769d4b22d", + "private": "b080f4ac1e758bbfbfa888a78cb8d624d97b8688002b2017e35f52f3d7c79649", + "shared": "c5edcc5d447071c08dfa8281414ae6a02de753e2f7bb80af5f6253e56db43422", + "result": "valid" + }, + { + "tcId": 311, + "comment": "special case for z_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "98e1211dcf6651fa9f2d00eb083ae5855869a2a53e835f2e03b30c0a19ba8051", + "private": "e815bf9a967e1208af8e74ce9af6d113dab17c01c90f1ae2bc25e3e2f9e3a44a", + "shared": "263a38fe538b50e8e988bf07ae86f33d49886b14c7143efd1d2025c840e36a25", + "result": "valid" + }, + { + "tcId": 312, + "comment": "special case for z_2 in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "2f1b938b81a4c90e1251135ad7fabe835f6a8bc5e22d4b2ab119f6f677877677", + "private": "4051b01cdf90af38f0a96ffb83f8d4133abe4fb035b6fe6f65276447caa7314f", + "shared": "340acf2801de71c18f4c79cfea372bc354e4c8a5eb5c2cce8b45d885df162f45", + "result": "valid" + }, + { + "tcId": 313, + "comment": "special case for CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "340b9f613550d14e3c6256caf029b31cad3fe6db588294e2d3af37605a68d837", + "private": "98c092363184e58ad6ce510bd32b309c9d5a46f8d9ee6f64a69d8180bbc6cb45", + "shared": "9efe5cd71102d899a333a45ea6d2c089604b926db8c2645ce5ff21492f27a314", + "result": "acceptable" + }, + { + "tcId": 314, + "comment": "special case for CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "edfbd6f09aa32435440b0ca8ba436308319613f8f2d501133c526c3ff55c7b3d", + "private": "686e51c00116d1c191aa9d5823b96e5956102e8fe75f5cf2376d99989f6f4342", + "shared": "196182095bcd2ef46b18f64c63607e0ab162a0869e6265ac8ae35e358c3d8a63", + "result": "acceptable" + }, + { + "tcId": 315, + "comment": "special case for CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "9b0538cd618b0a4de09e45420f84d54d74514fbb1a31c1a4aa1e93306f20723f", + "private": "208af2c9442b36b521fc3a1ecefe342aac308bd6e6296ee091c196dc02e7ae40", + "shared": "a3c6b75168211e8e0a49ca815bfe3f469f29864dc8166152b456e7074afa9b5b", + "result": "acceptable" + }, + { + "tcId": 316, + "comment": "special case for CB in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ae8cf2fcdde710c2c1184524bc32430874dfa08c125f61d6919daf8e66db415a", + "private": "c0d861a6d5ff91f91e3bd05934161ff0ab0f3ce7e4a2b5b4fcb31ae34b46664f", + "shared": "deaae6c9952844a3a1d01688e7105b0bbeadc160763c2002b6d0bcf35c22d123", + "result": "valid" + }, + { + "tcId": 317, + "comment": "special case for AA in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "2a59f478402d2829cd3b62e9f7cc01445e8e73a42cb11af00b6b9a9f0e44cb3b", + "private": "70785cad160972b711318659b47b574f6941ef6da1ea06508b2650f57ec9e54a", + "shared": "c204bd15f01a11a2efdabe2e902b7cd0aa079316f60e911b3ee5d46262e98631", + "result": "valid" + }, + { + "tcId": 318, + "comment": "special case for AA in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "836c8e45dd890e658c33e69b6f578a5a774c48b435bc3b91ac693df94a055857", + "private": "60afc8eb1f87df4b55287f3c4698c5f8b997b28a73c573fc273e9c467fb7e44c", + "shared": "c5457487e90932f57b94af2e8750403e09c9ac727e2bd213590462b6937b0753", + "result": "acceptable" + }, + { + "tcId": 319, + "comment": "special case for AA in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "59519ead7995a6df89bb54c840d61a8481881098b8a4f83c6a2f6ba800338257", + "private": "a83c11b2834136b9aaf0152d90e76e3c27177693a2834e8beda0a3571bce6947", + "shared": "4ed6f8d62932541c6bea16e03835f1f758a5c41722b5c9989c9c7cc08e34e37b", + "result": "valid" + }, + { + "tcId": 320, + "comment": "special case for AA in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "32f34da84ab4bfca369c4b884691becf54be7fbed16449dc86969da7ea9abf62", + "private": "b80d8795735806579e71759894939d758853592127efe84fc82eb7cdee45014f", + "shared": "521a5b8149a132d155e6b4ed113900506cfc2f76d2a3e14196d69eb85db3c952", + "result": "acceptable" + }, + { + "tcId": 321, + "comment": "special case for AA in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "82ae48dcf59bc5e469f9a11b18a32d4753ac818692dfae27d675411a2272b363", + "private": "e08ffa45efbe1f96584c76254554adb9177b58ed09609a6ce499e5bd22d35c45", + "shared": "e831d6cee95ca1b4c96bb89457562fff36cb4d08b81da89b810b425ecdbafd78", + "result": "valid" + }, + { + "tcId": 322, + "comment": "special case for AA in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "b33bd3ad14b66896f971cbdf27785fc3aa3cfb39adc6c29257d22ea4df8cbf63", + "private": "688e1bbb5114f34e8531c278b2d9714ba07c32a7aea6e627135bd1fc65238045", + "shared": "350e3ab9d0dbff78f3f2157428beba189333be274827c10d59673f21c0c48a24", + "result": "valid" + }, + { + "tcId": 323, + "comment": "special case for AA in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "18e58df6bfbe184b0e3c7c4bf2a051ed055b793501c0d4fc47bc8a95c4deec7c", + "private": "8036a4e2e93e9ed82d99d71a522aac9289bd9905fe41d01d08a499376a258442", + "shared": "ade71d6460287fe808e947560e67a9d6ff2f96eaa1355d2e9fbbe549e883381b", + "result": "acceptable" + }, + { + "tcId": 324, + "comment": "special case for DA in multiplication by 4", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "772e31e776e8d4f23b7af2037af28a37e68f61e740b3904f4ec4c90157be1478", + "private": "901b20f0cda74076c3d4bf4e02653cd406ed480c355159e22ca44b984f10764f", + "shared": "91a9bec28cf18c7094e2d80d2764df59ada0cb1946be422864bd7ad0e533b663", + "result": "valid" + }, + { + "tcId": 325, + "comment": "special case for z_2 in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a8d55d5c1137e9bb626557f9d6eea8d3120e9364f8bcd9b67934260b1a091801", + "private": "d83eb7affd1bcc1ec0b4823cee5cf0b15b5f57085aa2708ed437a2925329b550", + "shared": "6c1b8e240edfa5db2abb3dc12bcf9e8ac9ca10dd3507083746f6f36dc035d755", + "result": "valid" + }, + { + "tcId": 326, + "comment": "special case for z_2 in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "33c94be58b0f0e6cf363e1b12a2ebfb93040715be91518f21df2953eeab5fb01", + "private": "989eee317b9c254dc023f9e35eff0224bc2e0bc871996b946a96970e7506a85e", + "shared": "d4c3b3467714f2d105904a84cc7e81d7f291304e908041682d8906a683c12125", + "result": "acceptable" + }, + { + "tcId": 327, + "comment": "special case for z_2 in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "a218ae9624b07ce05178b9d0cc1b71dee21f27852a2ceb18610b4052b244f00f", + "private": "b8355455d358f2dd7c5707b2c6973c9c27b99e7d8ac1650c791e5fdbcbea4957", + "shared": "1ebe6ca711a649ae487b332747e3dc0306340560cab6bc6029e44f6a7e0ee41c", + "result": "acceptable" + }, + { + "tcId": 328, + "comment": "special case for z_2 in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "d7067faeafd3e966e57525f930b3317c9e8b9c9a9ae946e76c1e4602a59a7e33", + "private": "8065567ef082b16c20853487f54893012ba4762224e5c59f250dfbf82581e85a", + "shared": "03e7a777e648bdc612189f3cd42d34e35736d3e52e6edc8ac873a58e244a6073", + "result": "acceptable" + }, + { + "tcId": 329, + "comment": "special case for z_2 in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8df9682cbe8802478a8531377e752cdde54738d528d639bea9eaf47702f8bf3b", + "private": "00b51448139a61fe6c5fbf9395877d53d820ef59da3be856458b5eb90985ba53", + "shared": "308ef99dae1064a444fa90775b5dd5b1952d7224a0e5ae031df432640f416208", + "result": "acceptable" + }, + { + "tcId": 330, + "comment": "special case for z_2 in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "7d92706868aa09538638d633c255f333b9da03bc74b49b35941c57820cd3fd47", + "private": "e8eb9f6f62f93dbc325b833aa763a90f13f0acb2c2c4b8b33decd471ce70c45f", + "shared": "f33e2e86443a2c68823b72a2b59d6a028e0a8e283cfe29fea4f7aa22bd1afe72", + "result": "valid" + }, + { + "tcId": 331, + "comment": "special case for E in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "dfb1ffc176aff84db30182d2378f83728f83dd1b33d79856f3da5459cf9df907", + "private": "68a1a7ccc50bab4b01e55e18cbd464aff43131fb0741e68d53cdebfc54f33051", + "shared": "7b535fc31c6c2a3803d8bd45410a1781bd90a09205da28c9df120df23a9fa32d", + "result": "valid" + }, + { + "tcId": 332, + "comment": "special case for E in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "12e81e838b21eac96dc130432571216d7a9b4a817f1938721d2267dd150ebf20", + "private": "e075bcfc165a471b2f76c3003fb0172c82f707137de2fa7082e43a87a255935c", + "shared": "ca23a781da0911e4115a29a9f56447157c23bee187b0c17369c4f7730d781718", + "result": "valid" + }, + { + "tcId": 333, + "comment": "special case for E in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "832a46aec02240d716fe22dea94ad566a3fafbeedcce35c83e41e58076c99749", + "private": "c0e19634dbf6460e1486930c46e8556b3c16d6de959904600549bb3e08603455", + "shared": "cd0686b32ea4cddb8e13ff20a78d380749a5d4f6a3dc55d72f4813d949a0ea57", + "result": "acceptable" + }, + { + "tcId": 334, + "comment": "special case for E in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "8c8033432bcc12d479f67d6d876b1c8e89f16a234b9b093322effa9dee94554d", + "private": "b84caa18acc3db37225d32cab4f60e6fba4acab1277e20425d30f94cab2e2c55", + "shared": "a950aa57bb2beb9ed5d3228c7ef448dab69552f3d3b1e466accf41bfb6d5b874", + "result": "valid" + }, + { + "tcId": 335, + "comment": "special case for E in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "6df799bba6cdf5f46a57ab227f93fba491dad296a2fdb7e491921d610cce8f5e", + "private": "2896818cddf572521943e9f0c5e845f530b740427588a0f6de2504bd5bf40c53", + "shared": "54f5ae57e676d08c8f8a3cf891e36ddaab751093f92f409060c57e745941700e", + "result": "acceptable" + }, + { + "tcId": 336, + "comment": "special case for AA in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0c8090e1cfe7f761cfdf08d944d4aeb7a509a07a6101645b9a4c7c9e9c3d4609", + "private": "a01f0cad98cf2905b812d3530531bb3ac899391abd1eaf4a3ebed96ac6126f58", + "shared": "2d49b09f81f3f6fab2c67e32f1bcead2ad09ac9e0d642b0873becfb64de2ab23", + "result": "valid" + }, + { + "tcId": 337, + "comment": "special case for AA in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "08352936c8afd8543ac95f24bce9a07e3e3235763ea512a584298967b83c070a", + "private": "106b36344cc4a5a389d8168137786806ff03cd4a00f8636bb7e758d456151d59", + "shared": "a199368e683c3036a48f4c5f32b32a547dd39f3d1007ca0a0bebcad0a8ac6f5c", + "result": "valid" + }, + { + "tcId": 338, + "comment": "special case for AA in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "73bdeef8cc044f5ad8d6a241273e1995e0007dc9e6579046df86aa6cd97f5d2a", + "private": "88f9a0d2354adfcbab2d12a0e09b3c7719c944384edfbaa27fe0731cb9c6fc5a", + "shared": "5aa750de4207869ec7fddab34c639559b1eb27ef244aaf2a702c84963b6d6e7c", + "result": "acceptable" + }, + { + "tcId": 339, + "comment": "special case for AA in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "7fdd399b6ef4a3f5cade62e74113b29c27db15203f9b8e398d2c6f230051cd2b", + "private": "0811f2e560a205e96e28bc312bcad45fe8befefb7f6da5faa035311eed80b251", + "shared": "a6947ee089ff28ce3644ea4c6eb33dbb20c7974fb8d853f4e146e2466177502d", + "result": "valid" + }, + { + "tcId": 340, + "comment": "special case for DA - CB in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f0173a96273c646fb63d13b0c686b89e37676fcc7178faf4a6f4601f3068150d", + "private": "40ad984066a69080fb4a315878e736096cc577dae4c42c40d893d8c2173b785a", + "shared": "230b6aa1f24df90a60839179ba5e9de673cff11cab59e8020b20626c22090b0a", + "result": "valid" + }, + { + "tcId": 341, + "comment": "special case for DA - CB in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "255bbe7230cd2bee90d283f418a474ab30146ce5e801a0f5ed60ee8def3e6558", + "private": "48b10cd45639bbbf83a0b28f0dd3ad0b7b00caf48d05534480556a8278116d59", + "shared": "2299e384958bedd2c3d367759155136d1ff76e4434dc1d9e8212cdca52ea8421", + "result": "valid" + }, + { + "tcId": 342, + "comment": "special case for DA - CB in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "21accf97b7fee173001ccfcab21637c175ef5186ff0002502b3d52fa8c51e766", + "private": "e8fad77946e0de4cf4236798490b838948b82cfb29f8e7686001b11e8d961657", + "shared": "97fca065acd3b943c654997c0f125767f9abc4b7c9d8b7246942f12be65d9231", + "result": "valid" + }, + { + "tcId": 343, + "comment": "special case for BB in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "5b40777e80ff6efe378b5e81959ccdcbb4ca04b9d77edc6b3006deb99926fa22", + "private": "d07babed90b27c4eacafdc871703bd036b720a82b5c094dceb4749eeaeb81052", + "shared": "f482531e523d058d6e3fe3a427fc40dbce6dd6f18defbc097bfd7d0cdd2f710d", + "result": "valid" + }, + { + "tcId": 344, + "comment": "special case for BB in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "48d952a2924ff167f037707469ec715da72bb65f49aaf4dce7ec5a17039ddb42", + "private": "68a3049aef8c069b906cf743286d3952a888bf2b9b93bc8775fb5adde06e9f53", + "shared": "de88af905d37417d8331105345dabaab9fd2d3cb1ee902911c1c8eae2991d911", + "result": "acceptable" + }, + { + "tcId": 345, + "comment": "special case for BB in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a5ef265ccbc5c54021d34f82364a4624030f5b9d5ff7e63d7a379e533de5e742", + "private": "18d8c3d2a4e366185a85c38698d937e13bbbafdbdab1a0a83dbbe89badf70756", + "shared": "075d18ccc984761b70752279e7f6a757208f6c11e29480c32b40aba128a4d52b", + "result": "valid" + }, + { + "tcId": 346, + "comment": "special case for x_2 in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "9051e55a4050ef4dce0b0c40811f16371e8b16932541da37f069406d848ea424", + "private": "18efcd5fe345be4985316695391d2c952eee13b0e1ee7584721fbe8b19d4fc5f", + "shared": "212dbf9bc89b6873a60dfc8731a10be11ab2dca4b172142e6c9f06614cd72852", + "result": "acceptable" + }, + { + "tcId": 347, + "comment": "special case for x_2 in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "419adb8b1f2f87de016b0c78d1029a210492eb8cadd164b12cd65b1d57bf3634", + "private": "28ec7c693e222c72ac0815f1fd36661357e0a8da7bc996daeeeafcd21c013451", + "shared": "379f9221abebf3582681a0e857f3da578a1b0121982b96f14b94de5dc8b24528", + "result": "valid" + }, + { + "tcId": 348, + "comment": "special case for x_2 in multiplication by 5", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "13e00dae3b1ccc97ccd649088c4a7f32ca9976214d645667bd082039bbd9ab7a", + "private": "78b35e7ae549308b6414bb610196c04f2af79d4266c86e8a9ce0c02bbdb88d59", + "shared": "cff2596b7afe36f4cab9c70133d7aa0f9914f9abc6c3b9895472e2a5894a8037", + "result": "valid" + }, + { + "tcId": 349, + "comment": "special case for C in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "441c487a48f0a4989d931cd77a6142a0a13d1aabad82623ba8d94b5c374f4f08", + "private": "f0de9c5f8a9372f30c41ca47a55743ce697d46e32e7a9ae26d32503fd5222767", + "shared": "d47c46b4329bedcbc1986b3c6d2aa9bcd027d6b68925175d35bbb536b3440801", + "result": "valid" + }, + { + "tcId": 350, + "comment": "special case for C in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "0e67ee5c6b65aa802259810b2605f8d7accf9b49bf14cb4a536928e883172915", + "private": "686be5a12b310420f9bfb209381fd459a5ccd55c752b88337ebe89e1921ae765", + "shared": "1d730158da880533dbf1e6c64a8e99f9169611660969b0a84fb42dd8dc2efa3d", + "result": "acceptable" + }, + { + "tcId": 351, + "comment": "special case for C in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "dc9d7ef1cb49c191e258663a94e731b9c066c11a17d8b5fdea1987f5d9a00568", + "private": "a0c0337c5bec5ca24dea2f1d701498ae2bad87b8269ac23be113929fe4eb1963", + "shared": "07732529a628badeb8d74946775ba457c700bf8390f46bc523fb64e471c86a7e", + "result": "valid" + }, + { + "tcId": 352, + "comment": "special case for C in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "556b3ee7cd0d37979056ecc1f56a5677a4935be6e49ce28e394f8bfb73d13b6a", + "private": "b8824cfce5550b5e17b12f74e28459cab34eb49895cc36bf645a0cf00e3d2d67", + "shared": "9e3aae35fa1cc80a359878e212180294ff6608dcb4929e91901abbf976f39c16", + "result": "valid" + }, + { + "tcId": 353, + "comment": "special case for C in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "1211be5809605b54f5727d233c783a2a199a3db24ed4499d7b48c7603e4ad371", + "private": "e02dba7335af8fb9168de2fcd310c2e2df4a3e25263e0ab9ada87bfb8258a66b", + "shared": "880f6dc73220307a597670f3282fc366aa66f04a0a9ca30d895fdde337afe825", + "result": "valid" + }, + { + "tcId": 354, + "comment": "special case for CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "505e7851e2352e311ca9536a1fe6c0d95d648197374ce08e4b8a0fbddf62910b", + "private": "30ce71f856ceb874fe580039ca67e896e6d08207a73cd55db7059127c1342b67", + "shared": "ea62b0eda2d7b249a42417675a2b82b1e6c0d69a4e7cef336448844d2f432251", + "result": "valid" + }, + { + "tcId": 355, + "comment": "special case for CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ddf4e90503dd82610c3a034b925a880b72dbde30c626009202b358c6eb00f418", + "private": "e881f46d4141ea69a671649b93b63e97dc67c12521d445862f087b2626fa2b6f", + "shared": "302c4f83b5c5bf30c1e3afd9f643f65bfe56ca1628ee042b1ab7393bafe36c06", + "result": "valid" + }, + { + "tcId": 356, + "comment": "special case for CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "0e9c4431999ef1ce177e900d37ec6ae665e387e2d4fa27cba8e7baebc65c6520", + "private": "e879752683cd73a834251c65749135e06eb9064d3ae35095d88cde14a02ba366", + "shared": "8ff2ac65c85ee2fe9452fce460f8c87f9570d769cadddc87fe93ef8b7657c726", + "result": "acceptable" + }, + { + "tcId": 357, + "comment": "special case for CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "5761d6c08624104d4117ff17c75e9211a591c9ca9aecca3a665a7ed844195225", + "private": "20576ab456da26c18da5fbf06ec4d16564e111bfae2a92b9f6e1927c15770a62", + "shared": "97c91a23c3e4f3ff727d188a352b67ad490b62381566fb3e111cb67aa9e3435c", + "result": "acceptable" + }, + { + "tcId": 358, + "comment": "special case for CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "e92d45b3ec56531266303c5113c46310c41650001065b4d87b02b382fc82662e", + "private": "a8467418b924c2c003c56e1610a35469356360c29d52aa557a2bb30fb8a9a464", + "shared": "24346bb133dd9ae3ff02d2f50510b3a92d9030834d60e5af08b0eebbf1d4dd6f", + "result": "valid" + }, + { + "tcId": 359, + "comment": "special case for CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f38b63459d05e422ad024c2dcea5029a0a7a6b6c4c1d2093ce556aab331e2540", + "private": "f0f5e162923d7c299388bed781199417ade097475515162d9590976a196fb16f", + "shared": "b3453c9c82a2d1d956156de2399cb70dd4e1ec53aea967e035753c1cdae13c39", + "result": "valid" + }, + { + "tcId": 360, + "comment": "special case for CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a7ded0eea45a400b8f5637154d42974aa98c92962314d822ef88b01383a9da4d", + "private": "608fcf787fe789644a09bcab958f0737aa81a9e29d505f51035c78e374b9e46b", + "shared": "ebeb0c7b7a4165cd02a278f3a222c236eed83266b806d13494c1c3f98a2f3425", + "result": "valid" + }, + { + "tcId": 361, + "comment": "special case for CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "7b0ecb4c72ee147789d74813ced3ebe40f45c3da526ed1272952e453e43b796d", + "private": "58a3396d291eb23571b52d98a31549e514e501e8d0958ad9f25fe5a76c503e69", + "shared": "9213a53f22ff0cb5eca87b27b193c773bfdf4c01a193a11f37c157474e15cb07", + "result": "valid" + }, + { + "tcId": 362, + "comment": "special case for x_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "a244413ddc3a205d038d64266833eea1efba51ba62c9c6cdcdbe943be52bb00c", + "private": "d805a7014755dd656f98d2b331f2d2d4912725ef3d03752f26f74dc1ad61666a", + "shared": "66484a4120e0eb0c7e0505e1d2c5d15de9b52b72e094c9bac88634200c557267", + "result": "acceptable" + }, + { + "tcId": 363, + "comment": "special case for x_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ec3c8b0c10b1fa65dbbd17cf1ba5f86381284765709b07c5f0428e3d5bcd3920", + "private": "40cb1fe06b08f068f7080ba07c695eda91a2bebeadd4db95c97dd7c91af2566d", + "shared": "384f2221618e71d456b1551651efdb708a161d7f89f5604b27eb872d4aa93276", + "result": "valid" + }, + { + "tcId": 364, + "comment": "special case for x_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "6330d3e28a8b6126ace165a9dfccc6e4bd40dbc9768cfb16330cb7f27f906230", + "private": "8021464c64c9d6d3c0c852f6972d11969b04c9e066562fa7f0d5fa0d98ebad62", + "shared": "8daf5f4b84730144ea8a53ce39cc907e39a89ed09f0202e7be0d3bda38da663b", + "result": "acceptable" + }, + { + "tcId": 365, + "comment": "special case for x_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8678aa29cbc06e78b218d22a3e66c38ec0da8fdb0f2570c585c62517c9704f37", + "private": "707a2d710b32f55c6eba34898020a2fb981d61b1e822fca84c47d9321e279268", + "shared": "da8b7eba6f72c3f3ef33d8982093492e06be39bb0db29c465d95a8e52ef64341", + "result": "acceptable" + }, + { + "tcId": 366, + "comment": "special case for x_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "303289c2b1079ea59412faccfeba8c113d2299b9dcfedeabc42697b0829c4658", + "private": "204a43dea79d779577581b8c2a51be66e1effce96425b7422b9ca65bdf1a4867", + "shared": "0419a71a08d3fdd574cbc932e8f1605933ddcdd9774f5614269b7ed850c8650e", + "result": "acceptable" + }, + { + "tcId": 367, + "comment": "special case for x_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "3e6e16e02d44ebd94680832e065aeddcbb74af64fbb7c6d8367e7605be13ff5b", + "private": "58e4741735d2589322151947a1ce2f5829908626886941cb1631d25a8a684169", + "shared": "9f2fcd0c756288c1716ecd1f2a74864b93a7717bfaf5248858dcb6fdbea12864", + "result": "valid" + }, + { + "tcId": 368, + "comment": "special case for x_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a7c1716a41ed23a8870438714ff9745fb0e46f7a5baeb37c9a2d83fe477d146c", + "private": "d0af3428ea5205f6bf8d4f1b4e4903cd76f04236a1c0b3ecfdcaf28b21348e63", + "shared": "261ab6267c35a9755359e957473870522b7f923fe839f2b155408649cc5e8004", + "result": "valid" + }, + { + "tcId": 369, + "comment": "special case for DA - CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "dad981552c57541c57ef395ed770ce5edc48f8015461b2ba7aa831ec593ceb15", + "private": "c0ea97e442e5dc1c8142bfab7089ecb9bb9c5ae372f9907c2825e678defae567", + "shared": "9093bfa3ed3491d0891f02ae466e5e13c980df229db7404c5b9d34e4ed21c653", + "result": "valid" + }, + { + "tcId": 370, + "comment": "special case for DA - CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c588dfe6e733d90581cbe112079749d8eb30ab8631134ec29abfb98b32e76522", + "private": "b0333f09ac1eaacd3cd617eb8832e9de488b458b735cb4b5345f517130c25d6b", + "shared": "6e88bb6bf75596bbe5f1fbe91e365a527a156f4f1b57c13ac1e3e6db93191239", + "result": "acceptable" + }, + { + "tcId": 371, + "comment": "special case for DA - CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0670116a435e8d9b7a12ffc4322fd6b149d0b1dc799b5c0957d9d6e42546e824", + "private": "10719099dc63bcc282ef525845c108897ac9fae9590b593e0d505d1cf167c061", + "shared": "e6de74d2c5cea54094d7a70af03c768afe05d52a038bb72d56dcacf0ba502d74", + "result": "valid" + }, + { + "tcId": 372, + "comment": "special case for DA - CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "8b200dd226c5c0f7e116e5388ba162438caf1dddf4edc3b6ba838c21b5929737", + "private": "10e20e4fda57084ca90f7ad572a78aa8e6575c659cd01f30c43c58040c20e860", + "shared": "78c9c3aff9416a538ce3ea8fa553244528d1fbecbcf91695a33ca464ef76b85a", + "result": "valid" + }, + { + "tcId": 373, + "comment": "special case for DA - CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "419a076b179f79720096eaabaf03477e8f89d61f885c8d7f58f6eaa4fa77df5f", + "private": "a8312df473adfec7171e1635f5bad44f0753a88a6b3174ec5ae762703ae25e60", + "shared": "c1a96ccba08bdd82d0fc12e8cde4cc1f25cfd5276dce7f18e407ed0e4a898466", + "result": "acceptable" + }, + { + "tcId": 374, + "comment": "special case for DA + CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "aa34d772e9ace43c4d92f4f85596ab9ccd8c36c4f4cbddc819afe2a33cb8b216", + "private": "109697f400210f9a92de80a8bed264097199bc240e22767b54d8bb22050b7a61", + "shared": "2533b845bb83e3d48cffa8dbd1edd5d601778662d5da03759152a5e0a84b357d", + "result": "valid" + }, + { + "tcId": 375, + "comment": "special case for DA + CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "1f06cfe464ccc0e27a5ec5f9edd9bc7bc822ad2ff5068ca5c963d20edd1a2d22", + "private": "d036308a53c11bebcb02e83688ad74fec43f8462ef4d806272676637d99b3765", + "shared": "eb40a3974b1b0310b1597d1f1f4101c08dca727455a9d8224cd061a7aa3cb628", + "result": "acceptable" + }, + { + "tcId": 376, + "comment": "special case for DA + CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "9d4b2ed7817132af5830e899627ea97dc39bd3772e82f2d05769a918273dc02e", + "private": "786e5a5ff37405c769d0d3788c3c1b05a62a8442c385570e4438bc5f2eaacd67", + "shared": "9509757e289553cfa2cc71313473c3ff1eebce484ee237eae554fda3d3d22f0e", + "result": "valid" + }, + { + "tcId": 377, + "comment": "special case for DA + CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4e056b317a31dd96f8ec14b48474af587d195efcc2a70f01f052ef882d7b3a45", + "private": "c01f66cb094289d728421dd46c6f9718412e1c546dad70e586851be4da58bf67", + "shared": "bad9f7b27dac64b0fc980a41f1cefa50c5ca40c714296c0c4042095c2db60e11", + "result": "valid" + }, + { + "tcId": 378, + "comment": "special case for DA + CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "72c60535e9c423f302d6a10796d954d778032cd4dbd40ca0f359e204d67b6f4c", + "private": "3877d9ce25cededeb572604f2d123df685690c26e181f777ed33302b82082966", + "shared": "51c359768ab0219003af193e2bdb8e5cc9f8e176b8db49e597afca3e7125e370", + "result": "valid" + }, + { + "tcId": 379, + "comment": "special case for DA + CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "5856358ed420047cd084f17ae696bad79a4d26c6d5bb79bfb82bbc6332442d51", + "private": "50b84618d073c4618f9aa69a3b8518da76dbb2127286214fb43a2b44503b9969", + "shared": "fa9fb0df4cfbacd0fbf3262d3a1bf8d7aacb45f73bf94671775e509c8043df7d", + "result": "valid" + }, + { + "tcId": 380, + "comment": "special case for DA + CB in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c31e37b04332abca8315f317171566aef38111f622d8bffa29c23c0151cdad6e", + "private": "109acfa638e112f6bbec21e352a74e8fc9b7ffe5d9dc28634eeb516e59830a63", + "shared": "91ac72b0ed8d7fc4c8846b8a2530d9fb8f0532064880c00dab100c977697db28", + "result": "acceptable" + }, + { + "tcId": 381, + "comment": "special case for z_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "b775e016b32a97f49971121906763f3a0b41689092b9583b6710cf7dee03a61c", + "private": "685c0784aa6d194c1b859bda44c4e27cd1dfdf34776e498dd03d09f87ae68a65", + "shared": "11393bb548813e04fb54133edbe0626458e80981885e1fe5f3377e8ebe9afa52", + "result": "acceptable" + }, + { + "tcId": 382, + "comment": "special case for z_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "f8bd0e7cf6ec6186f205ab03ab72c8f6b3cde8f6ad9b166916a04d43d1d6d546", + "private": "18e9a05a20436cf0dbc3d5b92dac8d996e62ea11fbb3445f29195fc75a8beb69", + "shared": "0a83a224fbfcbc5d0f07f6dd8ebb2e9bbee8134f0fab268002ce837f5495d833", + "result": "acceptable" + }, + { + "tcId": 383, + "comment": "special case for z_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "8dfee48ad8b367488ea4dafcf7086e305356a80901f87c720149a5f522337453", + "private": "00e099eb23125dab5ec35a419d455d0ba8c01da160f9354e9fb21e6a55d55c64", + "shared": "45dc39831f3471d7466bbe29c8142b1a6d6b00c47fea021be2ffc452d9046806", + "result": "valid" + }, + { + "tcId": 384, + "comment": "special case for z_2 in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "8f68bfc57d792c322ebb27f44a37c1c93e7eb15c5d5fcedffc1de850487b3372", + "private": "b0ca251e0dbae7324a6ca0c2c8d6a888edd12d1447d400a47bcba004b648716e", + "shared": "a29005c6b9dbf1707dc2adce4506b55831e8675b7d2d54b0c1037741e3bc611b", + "result": "valid" + }, + { + "tcId": 385, + "comment": "special case for D in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ff0f15adeab334afeda3916785ddd38d252dce9876c2357b643b5dc2c06a3b1d", + "private": "a8b64b8ed397773b8290425ca5c2f7c3e50fac7a4781bd4a54c133781c9a1360", + "shared": "9f04e42c1b2f311d87e1470a4708bba25ac6ffd3f7b486f9b6b502ecbb2c004e", + "result": "valid" + }, + { + "tcId": 386, + "comment": "special case for D in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "1076fdc827f2550ee95ff9a15d044aedfac65b5e9ba809f62438ccea54637a29", + "private": "d0cd0db51ff232afa0919d3106fcb3a8ae581ef12d09c877aa6f31ef74eed068", + "shared": "688000bd60af375b4eeac4a7d0e0782c0e6188eabdc608b732f49b4d6ccab44f", + "result": "valid" + }, + { + "tcId": 387, + "comment": "special case for D in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "ed1c82082b74cc2aaebf3dc772ba09557c0fc14139a8814fc5f9370bb8e98858", + "private": "204a3b5652854ff48e25cd385cabe6360f64ce44fea5621db1fa2f6e219f3063", + "shared": "e0a82f313046024b3cea93b98e2f8ecf228cbfab8ae10b10292c32feccff1603", + "result": "acceptable" + }, + { + "tcId": 388, + "comment": "special case for D in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "12e1589a34094af5f121c9bd3c1119f2b1f05264c573f667a748683c5633a47e", + "private": "88109b1d0e7bace44d41a15d5bcbcd36968c5b8b47c0a2c606b57c4a68cc5f66", + "shared": "1fcc50333eb90706935f25b02f437bfd22b6b16cc375afff8a1aa7432fb86251", + "result": "acceptable" + }, + { + "tcId": 389, + "comment": "special case for DA in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "151f54a8a899711757b3b118fc5501779d621d25227af53d0af00b7583ba8824", + "private": "5082e497c42979cdbfdd1b3b0653cfea6f2ceb7d07639ebf3541866bb60edb62", + "shared": "fac30a74f4ca99f6cf233065e9acd826690cab364bf69320b58095783ed76e11", + "result": "valid" + }, + { + "tcId": 390, + "comment": "special case for DA in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "a819c667ed466bd9a69ea0b38642ee8e53f40a50377b051eb590142dd27e3431", + "private": "f85a8db44f9e56b11729f51682a9769fc504f93597cbe39444616b224532106e", + "shared": "17f6543c4727e7f129ee82477655577635c125a20c3dc8ba206ca3cc4854ca6c", + "result": "acceptable" + }, + { + "tcId": 391, + "comment": "special case for DA in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "40b053d056668982a1f550be95e16348e303945f53a3ac64491a9a56d4095b71", + "private": "505a076641fac398fc7d8c629937f42db559db5e12052ad366d46d7b20e95769", + "shared": "889a8d611e0a7da71475e7c93a2d7f6f7228c787a00ee5cf55474adc376ff762", + "result": "valid" + }, + { + "tcId": 392, + "comment": "special case for DA in multiplication by 6", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "e7dd0549a765bbef34be2e8da18a1bc1b989a8b0614d358ebf38c12a9ca64079", + "private": "e8db2bf1af5b8907420789c56e71414706aef0d9f6ffaed0c249c3b7ab14bf65", + "shared": "37232fb397af27f5fb5ca493284ff1c5d25786b0d716c73b33aca8d42265f318", + "result": "acceptable" + }, + { + "tcId": 393, + "comment": "special case for z_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "1ee1b9a74604ac31c3db83280170e3811504fcc78c7626b5b2c07a99d80daa0a", + "private": "c006ab1762720882017d106b9a4675fdd47005657155c90ca61d4cbf7cc4f973", + "shared": "a1b30418436ba1908804ffcce1be2cdcf50c61a8e3938d95c790abdb786b8022", + "result": "valid" + }, + { + "tcId": 394, + "comment": "special case for z_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "f226c2d6bd7831eda1b51ee5aec29443a507ef9f7a04e2340f349dbf14933844", + "private": "d071807d607953da432d8574d5f3f420676dafdbc6a285a36e1d737624d77c75", + "shared": "a5976fda89954a81e442107f9e416a2b4b481bbd4654ebc0c7b57a78b45b4979", + "result": "acceptable" + }, + { + "tcId": 395, + "comment": "special case for z_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c5197312de3a7a3ee11b29873bae3fc8c85109c66784804f89435db210fcc24b", + "private": "304b526f6fe994731980c0975529bca4d061017fbec56f6070d42678d3e11177", + "shared": "55b5b5eb38b127617ffe00056d84d35a5071d18783e3a82b5f4e131b1538b150", + "result": "acceptable" + }, + { + "tcId": 396, + "comment": "special case for z_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "590ed0b879319c38a19962a5d216ff2bfaf33555518877969c20c054cbe43e56", + "private": "982ddf2c035789379b8a58917d5c3c6c061b503b19a0028e01894c2eb371d079", + "shared": "0080e5b9985a960a832133812a7ab9951c6b2c75894deb3e35509190a6bdf457", + "result": "acceptable" + }, + { + "tcId": 397, + "comment": "special case for z_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "7c5f0143a6682f60ccad16f21150c7bb5bc6f807254d08b353fc96ce07bceb6f", + "private": "78cc3ec0687e3e53d9cec56b79d11bf049d173f127f5b40fae122a6d0016cd76", + "shared": "5241222226638c4bbbc98792cdbd74882ca2e08aa2edf313070425031009e925", + "result": "valid" + }, + { + "tcId": 398, + "comment": "special case for BB in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "010850a0974d3e89c029d252b46f739548294c0f9a23183863f9455b9559c211", + "private": "c86fc76650cf3b58837aa0f0633560415241c6c4f8f293ba0222b7d6a3875773", + "shared": "63788190b10d7451f5fc2b82c421151db4f3e22782e392da6d8d3aba2c344306", + "result": "valid" + }, + { + "tcId": 399, + "comment": "special case for BB in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ad1dd82c23d6a0d5fe0f2a4561d1c16733a3e1e6afa6d902dd077dc43a961628", + "private": "888d51c0a2230369e5b65a814b3213dde2e62f2eb95d0971486b733e4f90c174", + "shared": "e4b40974a166ac49ed831715c071c751752744b891465e6c45001855aacdc362", + "result": "valid" + }, + { + "tcId": 400, + "comment": "special case for BB in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d0c0d6393c41f4d7e0d5e850b7716f401eda1e028a4ed4a05bea8bf81acfd930", + "private": "68bed425d534315584d80f79da6eab9b7e6036b51fe62e1ad933e266640b4673", + "shared": "514a4cd0676f1c3101c8c45c17ad416bd33e20a405544fc1a60449abb22fa104", + "result": "valid" + }, + { + "tcId": 401, + "comment": "special case for E in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "0f460100d88a1d316dff02d1b22ffb2e42d99d0b92474fc3ec7d62567d0cf112", + "private": "98ff2856ef44b4fa14d86782ea793828bdf6f1ef9b669cac1aae338a7bb69376", + "shared": "ed83e810ce5ff0868f8589623bb13478dec1c22326c92765ae5e48c84bbabb24", + "result": "acceptable" + }, + { + "tcId": 402, + "comment": "special case for E in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "13756a411ff3ae0c39222dde0810f08c432463162d81ef061071249a48439e15", + "private": "b0cdbfdd98bd988d7c6a530455c51c57dd33fd2c7aee3961971bd3a31388fc71", + "shared": "ff94862117d3c6edc9dd5f4852fa8a589452b924ca8a75cb23b3d68dfed88c4b", + "result": "valid" + }, + { + "tcId": 403, + "comment": "special case for E in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "8fc1fae969a6185404db22749ef6d225de86773a4d1bf3857eb8fbbd829a1b47", + "private": "e0677644ed4935f01e052e9967302d0fb78ff22bb92fbae0605f3ee54e2f6878", + "shared": "1c94868bc8acb3137498209b2812feb53501389f5aa37fecbfd5cb54e1358e0e", + "result": "valid" + }, + { + "tcId": 404, + "comment": "special case for E in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "7bab0891ecb9e72a15771f0a4fff90547024206339c340b1a2fdb53bcfb86b59", + "private": "887b61553843ca99ad1ca92253a6fe082b82494752513fd53ff6530f54c40572", + "shared": "adbf3b439b16dbc653578f53374ed3a86f9c0bf1f736573349773bc3b8d60734", + "result": "valid" + }, + { + "tcId": 405, + "comment": "special case for AA in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "102e95eadca7c3c28e5d52336c857bad99ea246f299b06334f401276f49ca814", + "private": "00615e4697014fc12484ef53a1440206410a8df78caa0bfff82161db83fea574", + "shared": "3952efb93573ae9ce2162d10e4b8c46435859f3f2778db89f72bc579e695cb51", + "result": "acceptable" + }, + { + "tcId": 406, + "comment": "special case for AA in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "3548c16bf31afdcd445ad9bef0e60d7bd6195aa591ca8c82813cd7d446226720", + "private": "58175113550faad56458fb375a6cb3f05df2f6ff3c4ee09d4a6ba643e022d17a", + "shared": "96128f929fc03c1269d429f609a1a8acac7a758e3446a125ecf4a359a0e37b73", + "result": "acceptable" + }, + { + "tcId": 407, + "comment": "special case for AA in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ba74e766d44855ec93bd441aa41058a4c4ad2be63c639a3f9a87bde51eeaba20", + "private": "009738e1e6efef9e2cad8b416fe90a098eb5cb0199f2df5218166c7b181ea079", + "shared": "fec3e94cb5f316625b090c2c820828ce0f3ee431e8d6e12abccc7ef2bd0be81a", + "result": "valid" + }, + { + "tcId": 408, + "comment": "special case for AA in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "9a5a1d37e5010c356aa80afb347c3d613542ddfa0be7abb8e8cdcd6674411449", + "private": "c82019159be792747a39f388ea48a8c568594e3383273e51100721b376e8ba73", + "shared": "96903bac9dc60b6178d734890c25db4bed9ea4dbcf6fcbcdc90e6f5694c8b21c", + "result": "valid" + }, + { + "tcId": 409, + "comment": "special case for AA in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "630847e28274dbae5491210303c85a359074ee742957b0fc3c9ff55d9e019a50", + "private": "10ac9f8383262ef280faac1e4da15a7de4f2cb74af33b50e0d82dcb85d8bcb70", + "shared": "50050d0ab1ddd2dd90c460ab8f09e1f80e37cae57d4231adae10c10a4a2b003e", + "result": "valid" + }, + { + "tcId": 410, + "comment": "special case for AA in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "11749b00a45067af2c7e7d50f8d178d5a9fedb8f1b69b239763885bc611b136c", + "private": "b84c098382f6e37d510cc33e62ddc664e02c8bb6ed9ed0e5fa78cc099a26fe73", + "shared": "9170c4c628d5fcfd0ec719cf6e1796dab0a69e46d6379fffa247d444a0056041", + "result": "valid" + }, + { + "tcId": 411, + "comment": "special case for AA in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "df1021d8f95950afde77c86ba5ee2f5876ef778376a7fdc7efb8dff0e4836e7b", + "private": "78cde8930a1d81aef6601f71409728854987578b0f8349588c04adbe2c1f6e74", + "shared": "d7d2a82953f680cee0c81c4d00fe628ac530ce682eb7fb3b0af24f804a58ef5c", + "result": "valid" + }, + { + "tcId": 412, + "comment": "special case for x_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "2743ba408d5f68c65324a485086a004b6bbf784cc9e8b1a7dbeb8c4b9414b018", + "private": "b0fe7b06b9950600b3a7ce1d7bb2a1d984194cc9d6c8964504c364dd5c875b74", + "shared": "a6b97da989dccf730f122d455152328051c8ed9abc1815c19eec6501d6cfc77c", + "result": "acceptable" + }, + { + "tcId": 413, + "comment": "special case for x_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "cc275a2cdd9125e52f20ce2abad41f920afa5a643fb7f276ef416f761d689f1e", + "private": "f0c9c3984854d5bd599d3819738a023eb795e93586dc0e5e29b1c870c612d178", + "shared": "b210e368729501d9f9b6ebefbebae38f195f91eaf2a5a3a49288bb615ff2216c", + "result": "valid" + }, + { + "tcId": 414, + "comment": "special case for x_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "4929543101ee7ae239059cd134c35d400e50d0821441351d0fa6c3d54efb342e", + "private": "906c2f12be89702db26fa7ee905ce36525d2dee4e96a879ca07da097a6aa5075", + "shared": "b9e3796c58701ded4237c52994501cee14e18f2fb02b781a8400923484bd4a6c", + "result": "valid" + }, + { + "tcId": 415, + "comment": "special case for x_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "1324e0368597b3181555bb5b2cc7b7ebba46931aeabb6f05ababd4240f0fb933", + "private": "f026031ea373e1d16e6e7e0357bc96bc093f4b6bb76a738cbb54fe6cfd2ea271", + "shared": "6dcdf8e86903b0caded124d8a7da18e623430ca869aaf267d31029d93de99e66", + "result": "acceptable" + }, + { + "tcId": 416, + "comment": "special case for x_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c7f3842297d6941cac63d6f1bdaea0709437c82dbc9161fc1bae6c79d668eb44", + "private": "703f4ac8667d77f9536045cf748f18d42345e39ccab10c18dde0f5170d307f73", + "shared": "385ddbf2505ebf537bf5e976b61a4b69d190ae965b7e4a81ae4e1c16b7148748", + "result": "acceptable" + }, + { + "tcId": 417, + "comment": "special case for x_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "1e4660ba865fb8085afd4692885d74237fa3bca5af4b84ba3de400f16a5ac45c", + "private": "c8a96ae4e77271a0680dd24fcb09f9c5d3ee8316536eec7cc2276597e50fe37f", + "shared": "0fbaea73f9518795e026c1fc1079c3738aeb9ee9c8dc9761d65bbf8f94e30154", + "result": "valid" + }, + { + "tcId": 418, + "comment": "special case for x_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "2488bb6fadb79d46585ff01c160c5b4172799d92bd168edceb65cededc492762", + "private": "d0dde8eda38c3783442864c0cb46a0e9832dcf784c21268a21bed2cace87cd70", + "shared": "510c64151e5d0737fc324bd15fb5d3966908751cd1a06954b556196655ee5540", + "result": "acceptable" + }, + { + "tcId": 419, + "comment": "special case for x_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "a0c1087811af1491171bc51691b8ca84716af36c4baa764ec536280cc1983d6d", + "private": "c09cd47e1ce53604f14e4e13426c8f08962f556bcd81f8d75375b1507c6fda78", + "shared": "23ef825e1c8e6e64428001a7463e32a9701c81cf78203e6ae753740c91570e6b", + "result": "acceptable" + }, + { + "tcId": 420, + "comment": "special case for x_2 in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "cc5c97934607d8b981bce1d6a232bb3aecc3001f698ae1ae84938fbf2861077b", + "private": "e09a5f74f318f02303857aa0208d76913d9e240a80549d12013118bad620597f", + "shared": "0e55a7ec1a2ddbea1ac5981200812232f7f4c3a60ee3c9ab09f2163bd13da329", + "result": "acceptable" + }, + { + "tcId": 421, + "comment": "special case for DA - CB in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "238de7fcc8a3f194c3554c328efb1215d0640ac674b61a98ef934ec004cfd73b", + "private": "706cee5f9b357c03b2f1913294f6e4f0ca5a190a87d30268327d0cb6bdd5bc79", + "shared": "0681036a0d27583ba6f2be7630613171a33fb8a6c8991c53b379999f0f15923b", + "result": "acceptable" + }, + { + "tcId": 422, + "comment": "special case for DA - CB in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ac9fd80a45da109fa2329390e5a951cfc03065d7bb4a7855826ccb22c3bfeb3d", + "private": "40e300cb1ff260574f85b3f04aac478464a86e6203b3d4656418f4305157877b", + "shared": "67b88774f19bd1081d6f23656a135803e34ae1cdcae10818124a78569c299f42", + "result": "valid" + }, + { + "tcId": 423, + "comment": "special case for DA - CB in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a45ab1dc2fa2c50718fb4985d9791401e8d2d34ffe3cd93cffb4e870cce5e855", + "private": "882f78b4558b7faa835904c9235e32f300fc8b5ef0a718406a5c8520ca54d071", + "shared": "a512e864bd898a5ba6551adcebd836c6a78e7871728e1b8ee528d483af276104", + "result": "valid" + }, + { + "tcId": 424, + "comment": "special case for DA - CB in multiplication by 7", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "1761d3d50ba46b446655aa6a8d9b8b75aa5bb24a7953208d5b69fcc38f18ec7a", + "private": "d8649b735590a17d0fc4c378fbf4c2f7d6600569b2e84cbe0ff7bcdbac0b5f71", + "shared": "518b778cf5e976c60235abcf6211a18bad2a8e693ab261074c7fab43dbb5da27", + "result": "valid" + }, + { + "tcId": 425, + "comment": "special case for D in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "dc99ad0031463e4537c01e16629966d1b962c0b4e4872f067ca3c26ccc957001", + "private": "a8edec59ae6ba23813ec54d66df152e0626762b97d4b0c20e0dd8a5695d86e47", + "shared": "6cfa935f24b031ff261a7cd3526660fd6b396c5c30e299575f6a322281191e03", + "result": "acceptable" + }, + { + "tcId": 426, + "comment": "special case for D in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "b32750fd80d2d7c62c6b8e39670654baea5719a3e072e99507fd5bcb23898264", + "private": "1098723ffe567ea6dcc8d04ecc01efafeea0aee44e1c733be8b1e5d97c8b8041", + "shared": "c623e2d2083f18110a525f2b66d89ed82d313b6a2dd082f6b7a6e733134f5a06", + "result": "valid" + }, + { + "tcId": 427, + "comment": "special case for D in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "e7b3205777b375f1b1515a50a16a6067953ff221e12b4f416d74fb28c1c85865", + "private": "a0f20df98b49218ac832f26fa8c218a0d6872eb7aea07c1d43c9ff699b465b47", + "shared": "388ea421650a8d837bad8904018195e99ef494c2d170b93ee721a67d2c108729", + "result": "acceptable" + }, + { + "tcId": 428, + "comment": "special case for DA + CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "21cc338d7869e5863349cc739c8a6946cfc797cb82fbf62dcd2154844b106003", + "private": "30473a77a98374f67d5bd43df231ce142916aea0d271e72333fa47dc441a0247", + "shared": "b9e5728b37435b1d339988f93267d59f3bd1c517851c5a258e74cb64aea73d2d", + "result": "valid" + }, + { + "tcId": 429, + "comment": "special case for DA + CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "c34217c02072d7e2bca0454525030780cfb60215d7ca82dbec8f4a59034c5f43", + "private": "d8657be3a30fc85fb2f3a68e92ace1b31b26e76e6bdb6727aea507cb7c10dc45", + "shared": "20b67b205e22ce87fd44a8e8fd10a6d8890b9270b60e1c6a68b4aa78e6e37961", + "result": "valid" + }, + { + "tcId": 430, + "comment": "special case for DA + CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8abb8cfd60c6f8a4d84d0750d3b40a4f846b30edf2052fef7df84142cd0d9e47", + "private": "882f5578ae4a13d8f5af473bdde1709bf2e059df809ee05b505f34de857c3447", + "shared": "5faba645fc21f9421ebd35c69bdb1d85b46f95e3746ff7f4886bc280a9ab2522", + "result": "acceptable" + }, + { + "tcId": 431, + "comment": "special case for DA + CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "9fd7b49a08f206688d72db737df8e517aa7b764f5de7c9a2b1c3fcbaa985f64c", + "private": "98294db7cbf4958bfb3ed21d5d5c91e13cc8dc27b3c716c86f7167a4819f8741", + "shared": "9cb8a0f4ad86a27b96ca61242eab198db2767d3862dd323e41368fcdcc5fab68", + "result": "acceptable" + }, + { + "tcId": 432, + "comment": "special case for DA + CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c4fefac7acd448e8fd4d6ac4f5dd1bc21f2c67d638444060918fb344aa77e757", + "private": "789bc4047ad81b9b6656eef298b766e8763a2f8ea64e374a603dc1fdf2eee146", + "shared": "4b42fcf84b51b2b82f1f70b3cf49bd9dc6ab2672920a8de37e81ba7e99acf734", + "result": "acceptable" + }, + { + "tcId": 433, + "comment": "special case for DA + CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a8341deecc0be6db11401ef7f884ac3ade35650cc21f14b5cdb0a5cf0ee6b15a", + "private": "801ffe4e0f6eeb8a50c8fe79663ff585f9d6aebcfbf4b7edc676c693900cb141", + "shared": "e55fc931669bd02d1c64689eda62648212b1078c43b5caf97cf9763ff87a3455", + "result": "valid" + }, + { + "tcId": 434, + "comment": "special case for DA + CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "55a0e6631a52f29fb90a1777ccbc69ff94547459d541f72e8316e4d616535a67", + "private": "e04e412383a63b338b70e1be5fd75995350321dee428aa4f3ba62a50a3b0de44", + "shared": "87f7976a17f3e03a7f1eb74e6db950b8c0994f40b7903495599d227725809e01", + "result": "valid" + }, + { + "tcId": 435, + "comment": "special case for DA + CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "7976d520f1a2512d564af41c68313f5351b0156d5118be4817f192798ae9777d", + "private": "382dbe9f10158bfbb7d1d79a35a7809214899a6b8572b35b55875d79bd2f1640", + "shared": "3bb3e30105a71901b115065e39bdb3e053d387b39027b12c92cdf4c638adf00d", + "result": "acceptable" + }, + { + "tcId": 436, + "comment": "special case for AA in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "a26a722f7ba71ccfc96ed8e108d7c9f842d17f92051ee7d429ea7fa7908ab907", + "private": "60c9af7f4d03136a6034ae52deadfd9d4f274ad8122812eb92a53169c8354141", + "shared": "f5cb3a1b76185a29a6360b2142feebb11f3d08f4fd8d73df3a5228624a521c02", + "result": "valid" + }, + { + "tcId": 437, + "comment": "special case for AA in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ca3a2d96f5dda482b002324cbbdcf1dacc9815eab797c7151c3a88c75cded621", + "private": "283fae8bd8b294de2848056449751965abb5c7fa86ba4c2c5cdc3bb524dad140", + "shared": "b0b47868e70465ee2dd737f1ba5a6399e09cd813d72da7585ab45c946cc28d4d", + "result": "valid" + }, + { + "tcId": 438, + "comment": "special case for AA in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "eebd858850b56febb707f27a7aad5ff5ab4b0e0c73b9c86ec4ca0f42e7f38e75", + "private": "401539703ca4980db4ba42c59fc29e83b4189f2ddea53ba54ca966c06898a640", + "shared": "581e4b12b0f39a7cc42dee4513ecfdd20b595f905f17ad8c1fbf1b5cb2068b31", + "result": "acceptable" + }, + { + "tcId": 439, + "comment": "special case for z_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "c800bf799783275eb93312b43dc032ccdfb00a4b77c8b3772cd2fec8db7e4a09", + "private": "c8eb056286e098e6b2c79e42f007ebc6ab3705346cdbdace949b5de1e8c36743", + "shared": "6bf264532fc70a6a7e459f4579eca6b84f8f76ab85c3264b20bca725a6eb6c40", + "result": "valid" + }, + { + "tcId": 440, + "comment": "special case for z_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "7bbc504e04d134eedc13f06dfdfc69c518257a3f374040a49a8d21dac109110c", + "private": "487882956c49c69fd0e2d7277a24fb1dbe4b0365b36a13f63440248bca2fbb42", + "shared": "690305c9e192cd8a513f705b3f101ecdf3db1ea15a09c4a1bce3a8cdc3a1a93f", + "result": "valid" + }, + { + "tcId": 441, + "comment": "special case for z_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "132533db62aff4fa06e96314383bf58ebdec5183a19f2e4cb17552ae19a3366e", + "private": "9876010f4d64c77ffc4d7dccd72b9ac82078deb883609650b8cff8a686719d46", + "shared": "c58591b33e490e4766ff7addff570ce4e89a98338015a55df3d2f232aea3fc4f", + "result": "valid" + }, + { + "tcId": 442, + "comment": "special case for B in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ceb90c56508cf330c7f25bab42b05b5612a8310690107ac63a404c0ade788009", + "private": "a8a5d4f7894a519537babfac736de36054f508dae434b4fe63cd5633846a2647", + "shared": "3d145851b6ff2b92b5807ed1df21eb50c9f24c4474d4721db3abb7356df7b764", + "result": "valid" + }, + { + "tcId": 443, + "comment": "special case for B in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "66a09767a0d83bb18d404e1200375a745d1f1f749d5dc6f84a205efa6a11bc65", + "private": "f83e4647e82c560aa082c59641e13bf366be8f24dc01d14801e67841160bed47", + "shared": "1401829aac4e64bcfa297a7effc60477090d3627a64a35b872ae055d2091785f", + "result": "acceptable" + }, + { + "tcId": 444, + "comment": "special case for B in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "39d431316307c85747bd2bcf4f9e0f8892ee45df15f7806ce65147d97f503478", + "private": "58c6b94bce9b15f64946c2aa6a4e383b0b2d4365b7997eb2310ac4eef1803145", + "shared": "a0ebe6908c5472f937769b9aeb313224437fc5d73f4f866fe7ef41f30e359e09", + "result": "valid" + }, + { + "tcId": 445, + "comment": "special case for C in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "84c92d8ecf3d0cb22dde7d721f04140c2d9c179cc813ce6cf8db2dce6168880d", + "private": "786a97207adbd4b0d6bfc9f49b18660ad3606c12e325044b8690b4fa07874641", + "shared": "07538f1b6583041c4949fafae3349d62f9dd302d3d86857af0dedc0d5ad6741f", + "result": "acceptable" + }, + { + "tcId": 446, + "comment": "special case for C in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "a9cedb9e942a47221e4296953220d10007db327d2acb68da6ef3a4f877b8ef1e", + "private": "282310210e575a59393cf19bbe6e24752dc247706f1e0031e5d39b2de4fff745", + "shared": "1223505fbb534c1bc6108e6b98b4f0af29e11158c02d333d6559beecd6d3e558", + "result": "acceptable" + }, + { + "tcId": 447, + "comment": "special case for C in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "64e1c0c5f59405bbc6c7db41a3485cc9f91c183b0f2b7e1894a7abd8fbbeeb23", + "private": "c8bf2fd4c40d00f1465aada682b12fa92dec10343484ab62b8871337de1d3345", + "shared": "ee031868165f456f75907bf39742b820e0f8e6df9f9768d757d408e1cc92ff7b", + "result": "acceptable" + }, + { + "tcId": 448, + "comment": "special case for C in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "a68d2f55e60eac7983926310f4fae13f95b2bbf140be5ea91751884d900ab44d", + "private": "c06a4a4b70f613136f18c0f88e2245086c3d1a52717210a21ac9d63682f2e740", + "shared": "c954fa7b042c32943e03191e367d54be0085fa8950ef2bec99620df79ecbea4b", + "result": "acceptable" + }, + { + "tcId": 449, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "6d3cd623f26a7453fa05a01ae758ba84d3c58d93d60ce32735a15e0d053d5b12", + "private": "20596e1dc56596823d37698dfa699c79874aaefde797f863ef92135980fb2043", + "shared": "7c3219b3c1fae1f95590ac843efd2084a1f4bd3efa2f592f022032db64ebcd77", + "result": "valid" + }, + { + "tcId": 450, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8f195547346b3d53b7ea4f742b22f1ef7b3cc01a7d3dcd19aa7c5b03f31bd214", + "private": "38141518e8e5efa1d031c6c4d95480239f6c30b8ccd8c751a9e04bd3aec17342", + "shared": "a31f6b249d64a87c4aed329c6c05c3f2240b3ca938ccdc920ba8016c1aeaeb45", + "result": "acceptable" + }, + { + "tcId": 451, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "ffc4fe2c2127a309c739565651e9812f834a86dbadbb78776977f786ecdb0217", + "private": "207147f2b68fef1efc10a04f988f0eb18b273b0b5ed17aa7af32c90480e19b43", + "shared": "4cff9f53ce82064882329a18ea4e4d0bc6d80a631c87c9e6fdc918f9c1bda34a", + "result": "acceptable" + }, + { + "tcId": 452, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "8475babeeab9980d426abd5323dfb335b219e129bddae4d6cebcda50754a6825", + "private": "488084537b840f9c93ca57b3ee80491418d44221113e03f56355302604d03547", + "shared": "248d3d1a49b7d173eb080ab716ac8fde6bd1c3ed8e7fd5b448af21bcdc2c1616", + "result": "acceptable" + }, + { + "tcId": 453, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "81f90a2f6633d30c2b72a25795d2a49463a80b6b0edc5aa68bae4bf738185539", + "private": "28cfc1d03f5c7428ff3e20b137268b33ccc74db03582d2127c566df4ac99f441", + "shared": "66c6e70cf630be90a2c88fcde7f58cff3868660fa96406e8df4ac677dbd85f50", + "result": "valid" + }, + { + "tcId": 454, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "41626e33b3c8f48bd19e49ded307f2b63bde705c4f3cdf9d4f92bf37c48cba42", + "private": "c8e37d10f3d03db3f43e467bddf98f595cb529ad253c20d491282d1400b9e740", + "shared": "06283fcf69dc83e99d92e5336f499a1d8fa75ed2c819b5ae6ea8094454324b27", + "result": "valid" + }, + { + "tcId": 455, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ebb32f781c0e89b252e611f9d8f79f8567874c966598314b2f16aa44cfc07843", + "private": "00237e91406a7b4db61e780c5976fbb926cdace2fbdfdbcfce65e6dbe7782a42", + "shared": "7d2affb43355f5db1294daff55f59b1f17e7d25bca20746f12484d78e5015517", + "result": "valid" + }, + { + "tcId": 456, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "fa75e6f08ca815b4e42af24a8e057c9e00e828e33d12c0e94d1012a758336744", + "private": "489c4184a23a8f5eec68a31b41aa2c0392cd6fb123f10acdb4de75292b4b9a43", + "shared": "ef8e78cab091d667888489fd3a2ec93fb633427d02eb77b328d556f2b2b0e266", + "result": "valid" + }, + { + "tcId": 457, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "4d96320cdb0ca52655e91118c33f93afe4ae69e9e513ff4506750b8ea784ce46", + "private": "c05957fbc3a0e2c22a2aef627651ca1e99307b82a0c6170f7950a334f3004941", + "shared": "c8d85bfa74b4b26461297b350c975183fea9d33ba29c3a4934509c2ecda58a79", + "result": "acceptable" + }, + { + "tcId": 458, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "c0ef1b7c20237db370501f24274e4eba91998ae4545f937007e1c4a2eab63365", + "private": "60111c6629f73635985be964b845f87a88ae5652d45bb1451ce8cfd2ea45fe41", + "shared": "22557e0d8741ed2a63afd5e313aa1579fc0c88c7772e23a676c94b60c89df577", + "result": "acceptable" + }, + { + "tcId": 459, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d534d8ff4d56a73ef7615e94523b17e35edb3d0fb87e98c68536f63f114a8d6c", + "private": "58785889a216d15456582d4e1e3de9e9ca4a432954416d81caf52b2b434c1746", + "shared": "54d7fc17bad00296ba50b0f3d5bf8fb83f82d571952a5fdb5a494120cc61446b", + "result": "valid" + }, + { + "tcId": 460, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "733a711ba01b6e9b64a0be4cdca8c7cf3c66df2435d5248fb4413fec6ee03f70", + "private": "60bef38a3890ec1ed05c299fceb77db5ead4b88d9e931b0f21d664f77df9b544", + "shared": "db6851b12585bc11be9362c96a545c6f2ba55f04009792463b96a38cb9b3f07c", + "result": "valid" + }, + { + "tcId": 461, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "35738dd539d60f69cd1a1cffc8a42b6af68fe7de45392d02831e2a77500ea278", + "private": "5854ee566878ef8b7ebaf5a058306f250edf0c84fd52af2d74b7ce3c1edda746", + "shared": "f6d1a664257fa5de3d4d57f04eda2976bf1e35cc3ac513e1ee84d57d2135ed13", + "result": "acceptable" + }, + { + "tcId": 462, + "comment": "special case for x_2 in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "ce932b5af4be4721f96f7b79ba1c43b20687d4af49c37b58dc894279e04bb578", + "private": "985b551261fce38ddc8ff3add32f5c26811d271b9a1794e249dd76a38df28446", + "shared": "f8f7625ac5bde63f753a9bb4aefbfb9c4647207708af9d774ef08ff1b1e5a354", + "result": "acceptable" + }, + { + "tcId": 463, + "comment": "special case for E in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "e3655448339e4850806eb58abba0c89185511ea72c37c49e9583ee6dd235d213", + "private": "8815052344dcad97efd1341e9072a808cf999e46e52cf04e0cfbcd9901e18d43", + "shared": "5e10dfbff4443efcae2ccc78c289a41460d5a82f79df726b8824ccbef7146d40", + "result": "acceptable" + }, + { + "tcId": 464, + "comment": "special case for E in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "4d16965b1637e9d7ae8feb499ed0553962a9aa0022d1620c928072f6501bc41b", + "private": "b8e032e9e5ffbaa004390f3a0b900bc7cf5d11238b7ec964afc4bda2aa6c3444", + "shared": "19d7b44c1847c44e8f37a22ab69c180fd9d787f204123013e1b16800b9cd0f57", + "result": "acceptable" + }, + { + "tcId": 465, + "comment": "special case for E in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "c6b9e6288737ad40452cec1022871d90af1642d10bd0a97792b1a9c8998e2220", + "private": "7012852211f6536fca79937e7e316c9149b0e20ea03f951e1bb072895ca0e044", + "shared": "db990d979f4f22f766e7826d93554e771b361de461274d6c37baadeb8ef7be4e", + "result": "valid" + }, + { + "tcId": 466, + "comment": "special case for E in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "d566fab505ac4c7a3dc3b9403ef121392cbbe21216e5bcb8eab2dc9408986e34", + "private": "d039c1b9ec4763e0ad8a0ef2b0870297d0f8b487e660595a484105d180e14a47", + "shared": "6d7fc5d4a8f534b1bc0fa5e078104234675c02664736957abdb27df6faf07c00", + "result": "acceptable" + }, + { + "tcId": 467, + "comment": "special case for E in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "468d35ecfb6d9b7272523276cc5e13760519667f0e1e3888da4c56955fe91151", + "private": "58efcbc8777c1b54f09c61a216efd427292eb12312dbb3b32bd45254a6683e47", + "shared": "539c8d629ab51c2f3ea7278fd5f1c31b6c150a82fe3f786b93ffa159fd6d9316", + "result": "valid" + }, + { + "tcId": 468, + "comment": "special case for E in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "1929538743977dfea20bf4927ddabb2f3bb15cac2461054508849718854b5568", + "private": "c8d73446026cd0ea795773c2eb7b16348cd5f228e352dbc77328c2d8b9cde240", + "shared": "dee3fd19c8f296415448b21af44385ec46727bbe67d4839b93efe2f680e76d34", + "result": "valid" + }, + { + "tcId": 469, + "comment": "special case for E in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "2d7ab4c6f59865355ee8e9de57db19aadf7708b7c1d1a818487c340623badc6d", + "private": "98b559523bc778b0418af53c0c32f6ff5cf771ff5df8ae7cbf7c3b72aedb5b43", + "shared": "2a0340aaafa05d00529c09057ed0145f34d2de66a3e149cf084ea97168914f39", + "result": "acceptable" + }, + { + "tcId": 470, + "comment": "special case for E in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "43839f4a6aa206c82c5a73f49d8c9e573826b3ba7235d312987c17aebee62776", + "private": "589815027caf82714e96c9f91bace66ec4ba3e92df3fa14b9b8fe503556e4543", + "shared": "00313717d33e3b41a0865986157582e053502a172b88d01bb7b10831a9fc4e6c", + "result": "valid" + }, + { + "tcId": 471, + "comment": "special case for E in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "3c321e7f0b9e555bc264a2cea617e6b2b562ebab21fe0c226c3e487b7df9a27d", + "private": "80715f67270c99789855ceaea99b9957ccda33326f76bb4474ab52ab1ec37041", + "shared": "9b6be9e6f2fdb5d3321842225d3e91d14828cc53ba6654dabe190b0c3edeb309", + "result": "valid" + }, + { + "tcId": 472, + "comment": "special case for DA - CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "42e5a6b8e9654bb4ad624af3f491877977513cc8775c8fb312ad19dbf3903a28", + "private": "101b990bd83d684126ff047d930c27d086a588dd19683d2629f0e34f4374ab41", + "shared": "223f1eb552308373026d11c954684ce6db870b638b190b9443e50aae219f4e3e", + "result": "acceptable" + }, + { + "tcId": 473, + "comment": "special case for DA - CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "0a51dd90ab985f6deaf72f16c45014da26df848697f6582d75688f5223342b51", + "private": "200089b712d9a2050597779d463712fcd223e3d67879c0fb7606f8f5f0efee40", + "shared": "fb95ce4a3c1f325638b7d47f4216d39a7c6c5da9a01caa297c37b62816555b2a", + "result": "acceptable" + }, + { + "tcId": 474, + "comment": "special case for DA - CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "8842317357bde825ef438a1c53906fb8b04ea360f7ef338c78e668586047936a", + "private": "f04f87f4e623af4c31ceca0bb87fac2d5b12517b5a7284902ad75838e65f1e41", + "shared": "488b8341c9cb1bbf124510b9f8dae4faf2e0dca9b84e00e952a63b5aa328a860", + "result": "valid" + }, + { + "tcId": 475, + "comment": "special case for DA - CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "c71d92d3c92dbfaed755fb32797b667cc86b0e79362498e2aca38c689713b16e", + "private": "383cbd5a3dd0901d09a3cac3d3a77a979cecf15e206a553e4ca3f24b90783945", + "shared": "1129eae97bf75f7314f2e1b403b18737ad830c80429e2ba0d4866b362399855f", + "result": "valid" + }, + { + "tcId": 476, + "comment": "special case for DA - CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "3a21d1cf7b3744d1ad26197335844982c2a0c6a5aa835492bd03c401a4fe6778", + "private": "701df09e57b98aec375745df147b72949a6b2bb2ca3a34881512ee31e790ad42", + "shared": "072f51d94727f392d59dc7caff1f4460452352ec39c32a1c9f071e388833da56", + "result": "valid" + }, + { + "tcId": 477, + "comment": "special case for CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "d128ea3e13325ed6ebd6533a9fd3045a55f25ad8b67def30912843504c1aab29", + "private": "b0ffa5f4922bb117ad75ff43acac62331efaa45536fe88306e4a4cb58db73a47", + "shared": "30512142d3e3a4cad6726d9d35f2e043fca9dfb750884ae22b2547c840f3587b", + "result": "acceptable" + }, + { + "tcId": 478, + "comment": "special case for CB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "e079c8f8423165c7e0a2c48b4abe90aece4e6d903d7a5a1625fad0410cd55b32", + "private": "685e3271d2015741756612a930e858b930acf2018145f382c83d8cced2e22044", + "shared": "5b81b3761a66d199e8ef99d2494bd57a0229d4564a7f6d6055f22aa48681bd3a", + "result": "acceptable" + }, + { + "tcId": 479, + "comment": "special case for BB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "65922a06e9be4e8a5e8aceb1a4e08fe90f01e10ef2dd27315427cedfcf95ec32", + "private": "f8e161d69297e017d7c51b1b1ff3ba703d4c4cf8fc2b8ff47f74c3ff8c7d3541", + "shared": "038de7fdb9cc0030f5c11dda00589f0a95f65658815b06ed013553a02b6c5017", + "result": "valid" + }, + { + "tcId": 480, + "comment": "special case for BB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d36a240e972dc16e9b97a997ada337f02760d05c46d7f8d7b4e9ea9a635c7c64", + "private": "105d7589f8abef0acf0940da84a69e8f2f306fa73c9afd27342287c1dba80044", + "shared": "22b0dea3b3b7ca55eceeaae6443426548c7c15cc7ddf31780318d1c23879c16a", + "result": "valid" + }, + { + "tcId": 481, + "comment": "special case for BB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "4f5b8b9892b8a46df08d76a4745b1c58d4e7a394905435875688ca11f1e9d86a", + "private": "1893d4388b0e90f0b50208aa8f0cc24f576d03641baf1c3eddb2a3efa69c9d40", + "shared": "a25e1306684ad7870a31f0404566e8d28f2d83d4b9497822c57f8781b18fec20", + "result": "acceptable" + }, + { + "tcId": 482, + "comment": "special case for BB in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "aa2f02628269139a7a8a16fde95c9bad7da7ffbd5439c396a7d77b6c3213e67f", + "private": "0065171301bf6b90fb16efa35509161f1bd6b3b93130d490af9fe224dd155f45", + "shared": "bb4431bea7a5871c1be27a2674094627eaaa4425c99cd3fa41bd7e13cbd7bf7e", + "result": "acceptable" + }, + { + "tcId": 483, + "comment": "special case for A in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d995cb287e9a9c5791f3cae3d494a5b516a1e26cbc930f43e73c8b70b69d783b", + "private": "10c81a4e78d82145b266e1d74b3869bf1c27427803ebb11c92ff8073d1e4cc46", + "shared": "330f5d0b5bccc90f7694dfdd9c6449a62d93af8840eaf571e3e0610e0198b03f", + "result": "valid" + }, + { + "tcId": 484, + "comment": "special case for A in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "479afb1e73dc77c3743e51e9ec0bcc61ce66ed084dc10bfa2794b4c3e4953769", + "private": "48b98b4a99eadd73012c07fe5c4a0b9590ac55e821353b41d5f665e17188bc41", + "shared": "bdef00caa514b2f8ab1fb2241e83787a02601ecdff6cf166c4210f8c1ade4211", + "result": "acceptable" + }, + { + "tcId": 485, + "comment": "special case for DA in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "378eda41470b0f238a200f80809ad562ca41e62411a61feb7f7e9b752b554642", + "private": "1897678e38222a61fe105dc6643c1eb5940e8dbc73ed6c00f25a34328f43a641", + "shared": "bfd5b5acd2d89f213a26caf54062f9a24e6f6fd8ddd0cd2e5e47b7fea4a9c537", + "result": "acceptable" + }, + { + "tcId": 486, + "comment": "special case for DA in multiplication by 8", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "0cad7545ade2fd93fcae007c97648348f26d85829bdb7223a63eccb84e56d475", + "private": "a898af8138e11ae45bbcefa737182a571885f92d515c32056c7cb0d7deac4741", + "shared": "c8085877800c175e949cdd88e196eb9c4841da2ac446dfed9085bda5bbec265d", + "result": "valid" + }, + { + "tcId": 487, + "comment": "special case for AA in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "60f27ed0a27804ced237cf3c1cc776650fb320bae6d5acb564e97b56cba25210", + "private": "b0bfef6ec095b5a1f93917d32f16a21d0462c1fde17446f5a590232d9c895f4a", + "shared": "4c300895827382a9d1079028bd6f694a7a12ddac9c76abac6fdf5d29457a3310", + "result": "valid" + }, + { + "tcId": 488, + "comment": "special case for AA in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "f93a73270ac19194b8e4ffd02be4b1438525f84a76224688ea89a9dd6a1bd623", + "private": "60497d4464ed8823c50fbc6b68620826c4f629c1d9193058df6bf857c6aecc4b", + "shared": "7285fbb3f76340a979ab6e288727a2113332cf933809b018b8739a796a09d00b", + "result": "acceptable" + }, + { + "tcId": 489, + "comment": "special case for AA in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "cf80c30fcbfd535666ca1da499e2e99cc537063e2de19458fcf92f5ee34acf47", + "private": "08c6cbe03792a3829f06e8ad54c55db113236ac0dcc9ab6a9a6b10eed1041b48", + "shared": "dabc3bd49f19cf7071802e43c863ed0b1d93a841588098b98a0c581bf4fe0a11", + "result": "acceptable" + }, + { + "tcId": 490, + "comment": "special case for AA in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "698effe0ad42e15ee1f46fde6fc5074ffda183bcf1b2db8647f561ddd191dd60", + "private": "50044da3315dd082e9dfb6a1994aabb331f53e0d1c12633383b2a3c8678cfe4c", + "shared": "a61a3b150b4770532373676298c9a5da28adcc4365b06fe07c959ca80e477a57", + "result": "valid" + }, + { + "tcId": 491, + "comment": "special case for AA in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "bd1565b4a3f8515dff577be6dcb414511d3d4ec2de15e0bd45b28e9cc4caef60", + "private": "285640da7a48252e35ddce60c14addb73097fbc9ac2f87c8d2772ce89aa6be4d", + "shared": "916ab4f3bfc8321e1087d9c5444f8f7a43e9ca6d29e7ba98a19dc05fff34ed4c", + "result": "valid" + }, + { + "tcId": 492, + "comment": "special case for AA in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "b8649e13843f80cf5702398e4a9a8c378f29da96dfd6579f1eb4f7ea34df6765", + "private": "783271c21199ba2e94ead92cd9dd79f70aab378b59497455d327a5907dafcb4a", + "shared": "844a5dd5139554ca7b41cbe6a4796193912e7aa4e201cc68944ce2a55774a10f", + "result": "acceptable" + }, + { + "tcId": 493, + "comment": "special case for AA in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "c396938737abdf791e09a97eba577c437d9b67c2dae94e13eab7296ec0fc737e", + "private": "d0676a0b9a046c62d5b2e740d9cc43fa37965dea93c23254f7bf569f2bebaa4a", + "shared": "10780333b2a6170136265bb5ebc6c818817f2e48ae372528c8f34433fdd6215a", + "result": "valid" + }, + { + "tcId": 494, + "comment": "special case for DA - CB in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "557b825012d98f065bb95a2ab9b2d2d8b83fd2037912508c263f86d7e36c4f24", + "private": "608c84d2b76fccda579e974db3d3b2ce39a6bc0dad440599db22411b60467849", + "shared": "5ce84842dbae8b795b3d545343558045508f271383bfb3dd3943f4101398c864", + "result": "acceptable" + }, + { + "tcId": 495, + "comment": "special case for z_2 in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ae98296d4a2fbcbb40b472f4063231608bb1465c226c8a4a2dff29afd915882a", + "private": "80f233936a8821936d39114c84d929e79760b27680779e5009e1709410dd8e4f", + "shared": "4f11aa0c313195f96f25cadcbf49f06a932d8b051879ea537d1c6dfee7f36d35", + "result": "valid" + }, + { + "tcId": 496, + "comment": "special case for z_2 in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "8b9d249829fbe81333d85050da88998f63fac665679e27dbbe21b745dd14e145", + "private": "c8d80b1a34f21194f047a6f0328bb947e2e7aff6a043553aa07f2abf99aaf048", + "shared": "1d619070bf5626064be10025e74e336c81ef3166b743f99c751fb90587c31d7e", + "result": "valid" + }, + { + "tcId": 497, + "comment": "special case for z_2 in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "61896093e2697c78230afdda12639cbe4342827b8d2b093281f148eb60b9034b", + "private": "9021477b452361580059364c6f94f4981ee94ea3f9b7d37439bc82ae45816f4d", + "shared": "532e797861db56b9d5db8825fb72f8629c2422f8abea721ad2d7b9e77a95b576", + "result": "valid" + }, + { + "tcId": 498, + "comment": "special case for z_2 in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "ccc1dc186229dba9a9360a0f7ff00247a3732625acaacd18ea13a9a8b40fac4f", + "private": "6079dae04c40a59ea4e0c8c17092e4c85ea9133d143307363487836df4e30349", + "shared": "4f678b64fd1f85cbbd5f7e7f3c8ac95ec7500e102e9006d6d42f48fb2473ab02", + "result": "acceptable" + }, + { + "tcId": 499, + "comment": "special case for z_2 in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "69e368c0b7e78eb9f3a53bf458f6e79dc4883bf9458f04a8c12c4ddd94d62151", + "private": "281db6a5ac9a47d4a7b2b91a87f6536ce62d4e5129b8d647b97f9c504014894c", + "shared": "e069fd06702f10f33adb8cf0766880634865b510e2da409241fb5f178050514a", + "result": "valid" + }, + { + "tcId": 500, + "comment": "special case for z_2 in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "f21f9badd98dd8a103cc2ab5484fac6c2bfdd2671ee6e674134a86b89cee9160", + "private": "d830f3c4785829a0f945857e0e85e0ae723702b57783b933cd2a2ad05484fe49", + "shared": "fee218eb1f92864486e83c1731f04bb8c7e6d7143e3915bcbf80fe03ff69dc77", + "result": "valid" + }, + { + "tcId": 501, + "comment": "special case for E in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "e853062b2d6f38d021d645163ea208d0e193a479f11f99971b98e21188fd0b2c", + "private": "10230bd0721f4c8c4b921881dd88c603af501ee80e2102f8acc30cf8b2acd349", + "shared": "64bdfa0207a174ca17eeba8df74d79b25f54510e6174923034a4d6ee0c167e7b", + "result": "acceptable" + }, + { + "tcId": 502, + "comment": "special case for E in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "362eb92dab9fb29f7ed0e03843dcc15797928c2b4e51ec260204179c1c12945f", + "private": "f0a34d6d76896e17cb8f66feda23115ffb96f246b823bb63dec08335787de74c", + "shared": "d7f4583ee4fe86af3a3f1dfcb295ba3a3e37bced7b9c6f000a95336530318902", + "result": "valid" + }, + { + "tcId": 503, + "comment": "special case for E in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "ff543f1e81996e88631f030ceba7e603b13033efd205e68bd36b28468134aa73", + "private": "9073c1d0a173c7ff02dc966a165993d9c4c9357514f7a6bb7aaa4b0827718948", + "shared": "c1b5e5f4401c98fa14eba8aafae30a641bfd8fb132be03413f3bf29290d49e0b", + "result": "acceptable" + }, + { + "tcId": 504, + "comment": "special case for x_2 in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "90ef70844ead1613f69df7d78c057813f866c0d95e6d22caee4a012b9c1c4b33", + "private": "b0c1822566e016c12ae35ec035edd09af3cb7a48f55c9028e05e1178a8c3824e", + "shared": "9369ebb3d2b744341cba77302719a4b2d63aff612872f86d9877a76bc919ca1c", + "result": "valid" + }, + { + "tcId": 505, + "comment": "special case for x_2 in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "88c1ae575ad073dda66c6eacb7b7f436e1f8ad72a0db5c04e5660b7b719e4c4b", + "private": "e06fe64e2117796f997bbcd3bcad3067cf1291640a3a643fb359809a4016834d", + "shared": "335394be9c154901c0b4063300001804b1cd01b27fa562e44f3302168837166e", + "result": "acceptable" + }, + { + "tcId": 506, + "comment": "special case for x_2 in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication", + "Twist" + ], + "public": "dcffc4c1e1fba5fda9d5c98421d99c257afa90921bc212a046d90f6683e8a467", + "private": "707ee81f113a244c9d87608b12158c50f9ac1f2c8948d170ad16ab0ad866d74b", + "shared": "7ecdd54c5e15f7b4061be2c30b5a4884a0256581f87df60d579a3345653eb641", + "result": "acceptable" + }, + { + "tcId": 507, + "comment": "special case for BB in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "6c0044cd10578c5aff1ff4917b041b76c9a9ae23664eb8cf978bd7aa192cf249", + "private": "7089654baacbb65bd00cd8cb9de4680e748075e8842ca69d448fb50fea85e74e", + "shared": "0d8c21fa800ee63ce5e473d4c2975495062d8afa655091122cb41799d374594f", + "result": "valid" + }, + { + "tcId": 508, + "comment": "special case for BB in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "d9089de902e143dcd9107e5a3393a3f7fe05d926c357b47e307a236cb590fd64", + "private": "8089784c52cd67e4536e568218c7b7033b28413f942fca24ed69e43496efa14b", + "shared": "db6fec44bf118316a6bdfbae9af447baede4d82daa16bed596ea6f05d4a51400", + "result": "valid" + }, + { + "tcId": 509, + "comment": "special case for BB in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "8c4a26aa319c2cc4a4158c2bc69a0d5b340b60628a14cf31bb0ae5ddc38ae866", + "private": "00e73e4e013148b9f05273bad626bb126a40ec4558f5425096b48947e0a9de4a", + "shared": "ecc1204bc753c4cec4c9059fd7b504944ebf995ab1b1d49f0b3b325353be3a15", + "result": "valid" + }, + { + "tcId": 510, + "comment": "special case for BB in multiplication by 9", + "flags": [ + "EdgeCaseMultiplication" + ], + "public": "ce7295d1227c9062aab9cf02fc5671fb81632e725367f131d4122824a6132d68", + "private": "78ed4c9bf9f44db8d93388985191ecf59226b9c1205fe7e762c327581c75884e", + "shared": "3740de297ff0122067951e8985247123440e0f27171da99e263d5b4450f59f3d", + "result": "valid" + }, + { + "tcId": 511, + "comment": "private key == -1 (mod order)", + "flags": [ + "EdgeCasePrivateKey" + ], + "public": "6c05871352a451dbe182ed5e6ba554f2034456ffe041a054ff9cc56b8e946376", + "private": "a023cdd083ef5bb82f10d62e59e15a6800000000000000000000000000000050", + "shared": "6c05871352a451dbe182ed5e6ba554f2034456ffe041a054ff9cc56b8e946376", + "result": "valid" + }, + { + "tcId": 512, + "comment": "private key == 1 (mod order) on twist", + "flags": [ + "Twist" + ], + "public": "2eae5ec3dd494e9f2d37d258f873a8e6e9d0dbd1e383ef64d98bb91b3e0be035", + "private": "58083dd261ad91eff952322ec824c682ffffffffffffffffffffffffffffff5f", + "shared": "2eae5ec3dd494e9f2d37d258f873a8e6e9d0dbd1e383ef64d98bb91b3e0be035", + "result": "acceptable" + }, + { + "tcId": 513, + "comment": "special case private key", + "flags": [ + "EdgeCasePrivateKey" + ], + "public": "3e3e7708ef72a6dd78d858025089765b1c30a19715ac19e8d917067d208e0666", + "private": "4855555555555555555555555555555555555555555555555555555555555555", + "shared": "63ef7d1c586476ec78bb7f747e321e01102166bf967a9ea9ba9741f49d439510", + "result": "valid" + }, + { + "tcId": 514, + "comment": "special case private key", + "flags": [ + "EdgeCasePrivateKey" + ], + "public": "9f40bb30f68ab67b1c4b8b664982fdab04ff385cd850deac732f7fb705e6013a", + "private": "4855555555555555555555555555555555555555555555555555555555555555", + "shared": "8b98ef4d6bf30df7f88e58d51505d37ed6845a969fe598747c033dcd08014065", + "result": "valid" + }, + { + "tcId": 515, + "comment": "special case private key", + "flags": [ + "EdgeCasePrivateKey" + ], + "public": "be3b3edeffaf83c54ae526379b23dd79f1cb41446e3687fef347eb9b5f0dc308", + "private": "4855555555555555555555555555555555555555555555555555555555555555", + "shared": "cfa83e098829fe82fd4c14355f70829015219942c01e2b85bdd9ac4889ec2921", + "result": "valid" + }, + { + "tcId": 516, + "comment": "special case private key", + "flags": [ + "EdgeCasePrivateKey" + ], + "public": "3e3e7708ef72a6dd78d858025089765b1c30a19715ac19e8d917067d208e0666", + "private": "b8aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6a", + "shared": "4782036d6b136ca44a2fd7674d8afb0169943230ac8eab5160a212376c06d778", + "result": "valid" + }, + { + "tcId": 517, + "comment": "special case private key", + "flags": [ + "EdgeCasePrivateKey" + ], + "public": "9f40bb30f68ab67b1c4b8b664982fdab04ff385cd850deac732f7fb705e6013a", + "private": "b8aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6a", + "shared": "65fc1e7453a3f8c7ebcd577ade4b8efe1035efc181ab3bdb2fcc7484cbcf1e4e", + "result": "valid" + }, + { + "tcId": 518, + "comment": "special case private key", + "flags": [ + "EdgeCasePrivateKey" + ], + "public": "be3b3edeffaf83c54ae526379b23dd79f1cb41446e3687fef347eb9b5f0dc308", + "private": "b8aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6a", + "shared": "e3c649beae7cc4a0698d519a0a61932ee5493cbb590dbe14db0274cc8611f914", + "result": "valid" + } + ] + } + ] +} diff --git a/packages/backend/src/nest/storage/channels/channel.store.spec.ts b/packages/backend/src/nest/storage/channels/channel.store.spec.ts index 8bc15d51d1..d4259ee573 100644 --- a/packages/backend/src/nest/storage/channels/channel.store.spec.ts +++ b/packages/backend/src/nest/storage/channels/channel.store.spec.ts @@ -1,7 +1,11 @@ +import { createFirstUseDevice, createUser, createTeam, deriveUserId } from '@localfirst/auth' +import { CryptoService } from '../../auth/services/crypto/crypto.service' +import { PublicChannelMessagesService } from './messages/public-channel-messages.service' import EventEmitter from 'node:events' import { jest } from '@jest/globals' import { ChannelStore } from './channel.store' +import { SigchainEvents } from '../../auth/types' import { StorageEvents } from '../storage.types' describe('ChannelStore', () => { @@ -74,3 +78,282 @@ describe('ChannelStore', () => { expect(messageIdsListener).not.toHaveBeenCalled() }) }) + +describe('ChannelStore incremental message IDs', () => { + const createStore = () => { + const entries: { hash: string; value: any }[] = [] + const events = new EventEmitter() + const entriesByHash = new Map() + const reads = { iterator: 0, get: 0 } + const auth = Object.assign(new EventEmitter(), { team: { id: 'team' } }) + const onConsume = jest.fn<(message: any) => Promise>(async message => ({ ...message, verified: true })) + const store = new ChannelStore( + {} as any, + { + getCurrentCommunity: async () => ({ id: 'community' }), + } as any, + { onConsume } as any, + {} as any, + {} as any, + auth as any, + {} as any, + {} as any + ) + Object.assign(store, { + channelData: { id: 'general', name: 'general', public: true, teamId: 'team' }, + logger: Object.fromEntries(['info', 'debug', 'trace', 'warn', 'error'].map(key => [key, () => {}])), + _messagesService: { onConsume }, + store: { + events, + iterator: async function* () { + for (const entry of entries) { + reads.iterator++ + yield entry + } + }, + get: async (hash: string) => { + reads.get++ + return entriesByHash.get(hash) + }, + sync: { start: async () => {}, stop: async () => {} }, + close: async () => {}, + }, + }) + const ids = jest.fn<(event: any) => void>() + store.on(StorageEvents.MESSAGE_IDS_STORED, ids) + const append = async (id: string, hash = id, value: any = { id, channelId: 'general', teamId: 'team' }) => { + entries.push({ hash, value }) + entriesByHash.set(hash, value) + await (events.listeners('update')[0] as (...args: any[]) => Promise)({ hash, payload: { value } }) + } + return { store, auth, entries, onConsume, ids, append, reads } + } + + it('consumes 1,000 serial arrivals exactly once each, instead of 501,500 times', async () => { + const { store, onConsume, ids, append } = createStore() + await store.subscribe() + for (let n = 0; n < 1_000; n++) await append(`message-${n}`) + expect(onConsume).toHaveBeenCalledTimes(1_000) + expect(ids.mock.calls.flatMap(([event]) => event.ids)).toHaveLength(1_000) + expect(ids.mock.calls.slice(1).every(([event]) => event.ids.length === 1)).toBe(true) + }) + + it('fetches each announced message directly without rescanning growing history', async () => { + const { store, onConsume, append, reads } = createStore() + await store.subscribe() + for (let n = 0; n < 1000; n++) { + const id = `message-${n}` + await append(id) + expect((await store.getEntries([id])).map(message => message.id)).toEqual([id]) + } + expect(reads).toEqual({ iterator: 0, get: 1000 }) + expect(onConsume).toHaveBeenCalledTimes(2000) // Arrival plus explicit frontend fetch. + expect(await store.getEntries(['unknown'])).toEqual([]) + expect(await store.getEntries([])).toEqual([]) + expect(reads.iterator).toBe(0) + }) + + it('preserves iterator order and duplicate-ID entries for ambiguous/batch reads', async () => { + const { store, append, reads } = createStore() + await store.subscribe() + await append('same', 'first') + await append('middle') + await append('same', 'second') + expect((await store.getEntries(['same'])).map(message => message.id)).toEqual(['same', 'same']) + expect((await store.getEntries(['same', 'middle'])).map(message => message.id)).toEqual(['same', 'middle', 'same']) + expect(reads.get).toBe(0) + expect(reads.iterator).toBe(6) + }) + + it('processes authentic encrypted and signed arrivals and excludes tampered entries', async () => { + const device = createFirstUseDevice({ deviceName: 'test phone' }) + const user = createUser('sender', deriveUserId(device.deviceId)) + const context = { user, device: { ...device, userId: user.userId } } + const team = createTeam('incremental message test', context) + team.addRole('member') + team.addMemberRole(user.userId, 'member') + const chain: any = { + team, + context, + user, + roles: { amIMemberOfRole: (role: string) => team.memberHasRole(user.userId, role) }, + } + chain.crypto = new CryptoService(chain) + const service = new PublicChannelMessagesService({ + getChain: (id: string) => (id === team.id ? chain : undefined), + getActiveChain: () => chain, + } as any) + const channel = { + id: 'general', + name: 'general', + public: true, + teamId: team.id, + description: 'Signed message fixture', + owner: user.userId, + timestamp: 1700000000000, + } + const { store, onConsume, ids, append } = createStore() + onConsume.mockImplementation(message => service.onConsume(message, channel)) + await store.subscribe() + let encrypted: any + for (let n = 0; n < 1_000; n++) { + encrypted = await service.onSend( + { + id: `signed-${n}`, + channelId: 'general', + userId: user.userId, + message: `message ${n}`, + type: 1, + createdAt: 1700000000000 + n, + } as any, + channel + ) + await append(encrypted.id, encrypted.id, encrypted) + } + await append('wrong-id', 'tampered-id', { ...encrypted, id: 'wrong-id' }) + const cipher = Uint8Array.from(encrypted.contents.contents) + cipher[cipher.length - 1] ^= 1 + await append('wrong-cipher', 'tampered-cipher', { + ...encrypted, + contents: { ...encrypted.contents, contents: cipher }, + }) + expect(onConsume).toHaveBeenCalledTimes(1_002) + expect(ids.mock.calls.flatMap(([event]) => event.ids)).toEqual( + Array.from({ length: 1_000 }, (_, n) => `signed-${n}`) + ) + }) + + it('coalesces a concurrent backlog without losing arrivals or trusting rejected IDs', async () => { + const { store, onConsume, ids, append } = createStore() + onConsume.mockImplementation(async message => + message.id === 'invalid' ? undefined : { ...message, verified: true } + ) + await store.subscribe() + await Promise.all(Array.from({ length: 100 }, (_, n) => append(`message-${n}`))) + await append('invalid') + expect(onConsume).toHaveBeenCalledTimes(101) + expect(new Set(ids.mock.calls.flatMap(([event]) => event.ids))).toEqual( + new Set(Array.from({ length: 100 }, (_, n) => `message-${n}`)) + ) + }) + + it('retries unreadable history and removes old IDs when authorization changes', async () => { + const { store, auth, entries, onConsume, ids } = createStore() + entries.push({ hash: 'cipher', value: { id: 'message', channelId: 'general' } }) + let allowed = false + onConsume.mockImplementation(async message => (allowed ? { ...message, verified: true } : undefined)) + await store.subscribe() + expect(ids.mock.lastCall?.[0].ids).toEqual([]) + allowed = true + auth.emit(SigchainEvents.UPDATED) + await new Promise(resolve => setImmediate(resolve)) + expect(ids.mock.lastCall?.[0].ids).toEqual(['message']) + allowed = false + auth.emit(SigchainEvents.UPDATED) + await new Promise(resolve => setImmediate(resolve)) + expect(ids.mock.lastCall?.[0].ids).toEqual([]) + }) + + it('discards an old rebuild across close/reopen and retries the replacement store', async () => { + const { store, entries, onConsume, ids } = createStore() + entries.push({ hash: 'old', value: { id: 'old', channelId: 'general' } }) + let resume!: () => void + const paused = new Promise(resolve => { + resume = resolve + }) + onConsume.mockImplementationOnce(async message => { + await paused + return { ...message, verified: true } + }) + const subscribing = store.subscribe() + await new Promise(resolve => setImmediate(resolve)) + await store.close() + const replacement = createStore() + replacement.entries.push({ hash: 'replacement', value: { id: 'replacement', channelId: 'general' } }) + // Recreate the state transition performed by init, retaining the original in-flight builder. + Object.assign(store, { store: (replacement.store as any).store, closing: false }) + resume() + await subscribing + expect(ids.mock.calls.flatMap(([event]) => event.ids)).not.toContain('old') + expect(ids.mock.lastCall?.[0].ids).toEqual(['replacement']) + }) + + it('retries the replacement store when an old pending rebuild rejects after reopen', async () => { + const { store, entries, onConsume, ids } = createStore() + entries.push({ hash: 'old', value: { id: 'old', channelId: 'general' } }) + let reject!: (error: Error) => void + const paused = new Promise((_resolve, rejectPromise) => { + reject = rejectPromise + }) + onConsume.mockImplementationOnce(async message => { + await paused + return message + }) + const subscribing = store.subscribe() + await new Promise(resolve => setImmediate(resolve)) + await store.close() + const replacement = createStore() + replacement.entries.push({ hash: 'replacement', value: { id: 'replacement', channelId: 'general' } }) + Object.assign(store, { store: (replacement.store as any).store, closing: false }) + reject(new Error('Old store is closed')) + await subscribing + expect(ids.mock.calls.flatMap(([event]) => event.ids)).not.toContain('old') + expect(ids.mock.lastCall?.[0].ids).toEqual(['replacement']) + }) + + it('does not publish a consume completed after authorization was invalidated', async () => { + const { store, auth, onConsume, ids, append } = createStore() + await store.subscribe() + let resume!: () => void + const paused = new Promise(resolve => { + resume = resolve + }) + onConsume.mockImplementationOnce(async message => { + await paused + return { ...message, verified: true } + }) + onConsume.mockImplementation(async () => undefined) + const arrival = append('revoked') + await new Promise(resolve => setImmediate(resolve)) + auth.emit(SigchainEvents.UPDATED) + resume() + await arrival + await new Promise(resolve => setImmediate(resolve)) + expect(ids.mock.calls.every(([event]) => !event.ids.includes('revoked'))).toBe(true) + }) + + it('does not return a direct fetch authorized before an auth epoch change', async () => { + const { store, auth, onConsume, append } = createStore() + await store.subscribe() + await append('revoked-during-fetch') + + let resume!: () => void + const paused = new Promise(resolve => { + resume = resolve + }) + onConsume.mockReset() + onConsume.mockImplementationOnce(async message => { + await paused + return { ...message, verified: true } + }) + onConsume.mockImplementation(async () => undefined) + + const fetching = store.getEntries(['revoked-during-fetch']) + await new Promise(resolve => setImmediate(resolve)) + auth.emit(SigchainEvents.UPDATED) + resume() + + await expect(fetching).resolves.toEqual([]) + }) + + it('reconsumes a direct hash fetch instead of treating its indexed ID as authorization', async () => { + const { store, onConsume, append } = createStore() + await store.subscribe() + await append('indexed-but-not-authorized') + onConsume.mockReset() + onConsume.mockResolvedValue(undefined) + + await expect(store.getEntries(['indexed-but-not-authorized'])).resolves.toEqual([]) + expect(onConsume).toHaveBeenCalledTimes(1) + }) +}) diff --git a/packages/backend/src/nest/storage/channels/channel.store.ts b/packages/backend/src/nest/storage/channels/channel.store.ts index 5cbd248584..55871859e6 100644 --- a/packages/backend/src/nest/storage/channels/channel.store.ts +++ b/packages/backend/src/nest/storage/channels/channel.store.ts @@ -43,7 +43,33 @@ export class ChannelStore extends EventStoreBase() + private readonly messageHashes = new Map>() + + private indexMessage(hash: string, id: string): void { + this.messageIds.set(hash, id) + const hashes = this.messageHashes.get(id) ?? new Set() + hashes.add(hash) + this.messageHashes.set(id, hashes) + } + private messageIndexReady = false + private closing = false + private messageIndexEpoch = 0 + private messageIndexRefresh: Promise | undefined + + private invalidateMessageIndex(): void { + this.messageIndexEpoch += 1 + this.messageIndexReady = false + this.messageIds.clear() + this.messageHashes.clear() + } private readonly handleAuthUpdated = (): void => { + if (this.closing) return + // Previously unreadable entries may now have keys, and previously readable entries may no + // longer be authorized. Never reuse successful or failed consumes across an auth update. + this.invalidateMessageIndex() void this.refreshMessageIds() } @@ -133,6 +159,7 @@ export class ChannelStore extends EventStoreBase) => { + if (this.closing) return const entryChannelId = entry.payload.value?.channelId // TODO: seperate event bus for each channel so we don't have to check this on every update if (entryChannelId !== this.channelData.id) { @@ -175,6 +203,7 @@ export class ChannelStore extends EventStoreBase { + private async refreshMessageIds(addedIds?: string[]): Promise { try { - const ids = (await this.getEntries()).map(msg => msg.id) + const wasReady = this.messageIndexReady + await this.ensureMessageIndex() + if (this.closing) return + const epoch = this.messageIndexEpoch + // The frontend treats IDs as candidates to fetch, not an authoritative replacement list. + // Ordinary arrivals need only announce the delta; reconciliation still sends a snapshot. + const ids = wasReady && addedIds !== undefined ? addedIds : [...this.messageIds.values()] + if (addedIds !== undefined && ids.length === 0) return const community = await this.localDbService.getCurrentCommunity() + if (epoch !== this.messageIndexEpoch) return if (community) { this.emit(StorageEvents.MESSAGE_IDS_STORED, { @@ -311,6 +350,42 @@ export class ChannelStore extends EventStoreBase { + if (this.messageIndexReady || this.closing) return + if (this.messageIndexRefresh != null) { + await this.messageIndexRefresh + // An auth event can invalidate the index after the builder's final await has settled. + if (!this.messageIndexReady) await this.ensureMessageIndex() + return + } + + this.messageIndexRefresh = (async () => { + while (!this.messageIndexReady && !this.closing) { + const epoch = this.messageIndexEpoch + try { + for await (const entry of this.getStore().iterator()) { + if (epoch !== this.messageIndexEpoch) break + if (entry.value == null || this.messageIds.has(entry.hash)) continue + const message = await this.messagesService.onConsume(entry.value, this.channelData) + if (epoch !== this.messageIndexEpoch) break + if (message != null && message !== false) this.indexMessage(entry.hash, message.id) + } + } catch (error) { + // A closed/replaced store may reject pending reads. Discard only stale work, then + // rebuild the current store; an error in the current epoch must remain observable. + if (epoch === this.messageIndexEpoch) throw error + } + if (epoch === this.messageIndexEpoch) this.messageIndexReady = true + } + })() + try { + await this.messageIndexRefresh + } finally { + this.messageIndexRefresh = undefined + } + } + // Base Store Logic /** @@ -340,6 +415,28 @@ export class ChannelStore extends EventStoreBase { this.logger.info(`Getting all messages for channel`, this.channelData.id, this.channelData.name) const messages: ConsumedChannelMessage[] = [] + if (this.closing) return messages + const requestedIds = ids === undefined ? undefined : new Set(ids) + if (requestedIds?.size === 0) return messages + + // Ordinary update notifications contain one ID. Fetch its immutable log entry directly, + // then run the normal consumer under the current auth epoch. Keep iterator ordering for + // batches or duplicate IDs backed by multiple log entries. + if (requestedIds?.size === 1 && this.messageIndexReady) { + const id = requestedIds.values().next().value! + const hashes = this.messageHashes.get(id) + if (hashes === undefined) return messages + if (hashes.size === 1) { + const epoch = this.messageIndexEpoch + const value = await this.getStore().get(hashes.values().next().value!) + if (epoch !== this.messageIndexEpoch) return this.getEntries(ids) + if (value == null) return messages + const message = await this.messagesService.onConsume(value, this.channelData) + if (epoch !== this.messageIndexEpoch) return this.getEntries(ids) + if (message != null && message !== false && message.id === id) messages.push(message) + return messages + } + } for await (const x of this.getStore().iterator()) { if (x.value == null) { @@ -347,7 +444,7 @@ export class ChannelStore extends EventStoreBase { this.logger.info(`Cleaning channel store`, this.channelData.id, this.channelData.name) const store = this.store + this.closing = true + this.invalidateMessageIndex() try { await this.stopSync() } catch (e) { @@ -449,6 +551,7 @@ export class ChannelStore extends EventStoreBase { const stored: MessagesLoadedPayload[] = [] const notified: PushNotificationPayload[] = [] - let ids: string[] = [] + const ids: string[] = [] channelStore.on(StorageEvents.MESSAGES_STORED, payload => stored.push(payload)) channelStore.on(StorageEvents.SEND_PUSH_NOTIFICATION, payload => notified.push(payload)) channelStore.on(StorageEvents.MESSAGE_IDS_STORED, payload => { - ids = payload.ids + ids.push(...payload.ids) }) await channelStore.subscribe() @@ -424,9 +424,10 @@ describe('Message author impersonation (#125, CLIENT-002)', () => { // The access controller has already run by the time OrbitDB reports an update, so an entry // reaching here is one the log accepted. replicated.push(entry) - const settled = new Promise(resolve => channelStore.once(StorageEvents.MESSAGE_IDS_STORED, () => resolve())) - storeEvents.emit('update', { hash: entry.id, payload: { value: entry } }) - await settled + // Rejected entries emit no new-ID notification. Await the actual handler so the + // assertions also cover rejection without relying on an empty notification. + const update = storeEvents.listeners('update')[0] as (entry: unknown) => Promise + await update({ hash: entry.id, payload: { value: entry } }) } return { stored, notified, ids } diff --git a/packages/backend/webpack.config.js b/packages/backend/webpack.config.js index 9733119573..2d78fa14d4 100644 --- a/packages/backend/webpack.config.js +++ b/packages/backend/webpack.config.js @@ -29,6 +29,10 @@ const webpackConfig = env => { }, module: { rules: [ + { + test: /libsodium-wrappers-sumo[\\/]dist[\\/]modules-sumo[\\/]libsodium-wrappers\.js$/, + loader: root('platform/sodium-loader.cjs'), + }, { test: /\.ts?$/, use: { diff --git a/packages/state-manager/src/sagas/messages/messages.missing.selectors.test.ts b/packages/state-manager/src/sagas/messages/messages.missing.selectors.test.ts new file mode 100644 index 0000000000..10c09e6e39 --- /dev/null +++ b/packages/state-manager/src/sagas/messages/messages.missing.selectors.test.ts @@ -0,0 +1,96 @@ +import { type ChannelMessage, MessageType } from '@quiet/types' +import { channelMessagesAdapter } from '../publicChannels/publicChannels.adapter' +import { StoreKeys } from '../store.keys' +import { type StoreState } from '../store.types' +import { publicChannelsMessagesBaseAdapter } from './messages.adapter.ts' +import { missingChannelMessages } from './messages.selectors' + +const channelId = 'history-scaling-test' +const message = (id: string): ChannelMessage => ({ + id, + channelId, + userId: 'test-author', + message: `Message ${id}`, + type: MessageType.Basic, + createdAt: 1700000000000, +}) + +const stateWithMessages = (messages: ReturnType): StoreState => + ({ + [StoreKeys.Messages]: { + publicChannelsMessagesBase: publicChannelsMessagesBaseAdapter.addOne( + publicChannelsMessagesBaseAdapter.getInitialState(), + { channelId, messages, display: 0 } + ), + }, + }) as StoreState + +describe('missingChannelMessages incremental lookup', () => { + it('keeps missing-ID order and duplicates while matching the correct channel', () => { + const messages = channelMessagesAdapter.setAll(channelMessagesAdapter.getInitialState(), [message('present')]) + const state = stateWithMessages(messages) + expect(missingChannelMessages(['absent', 'present', 'absent', 'another'], channelId)(state)).toEqual([ + 'absent', + 'absent', + 'another', + ]) + expect(missingChannelMessages(['present'], 'different-channel')(state)).toEqual([]) + expect(missingChannelMessages([], channelId)(state)).toEqual([]) + }) + + it('observes additions and removals without treating object prototype properties as cached messages', () => { + const select = missingChannelMessages(['present', 'new', 'constructor', '__proto__'], channelId) + let messages = channelMessagesAdapter.setAll(channelMessagesAdapter.getInitialState(), [message('present')]) + expect(select(stateWithMessages(messages))).toEqual(['new', 'constructor', '__proto__']) + messages = channelMessagesAdapter.addOne(messages, message('new')) + messages = channelMessagesAdapter.removeOne(messages, 'present') + expect(select(stateWithMessages(messages))).toEqual(['present', 'constructor', '__proto__']) + }) + + it.each([1, 10, 100, 1000])('does not rescan %i cached messages for announcements', count => { + const entries = Array.from({ length: count }, (_, n) => message(`cached-${n}`)) + const messages = channelMessagesAdapter.setAll(channelMessagesAdapter.getInitialState(), entries) + let historyReads = 0 + let enumerations = 0 + let entityReads = 0 + const measured = { + ids: new Proxy([...messages.ids], { + get(target, key, receiver) { + if (typeof key === 'string' && /^\d+$/.test(key)) historyReads++ + return Reflect.get(target, key, receiver) + }, + }), + entities: new Proxy( + { ...messages.entities }, + { + get(target, key, receiver) { + entityReads++ + return Reflect.get(target, key, receiver) + }, + ownKeys(target) { + enumerations++ + return Reflect.ownKeys(target) + }, + } + ), + } + // Build normal adapter state first, then instrument only the selector's reads; + // Redux/Immer construction itself legitimately inspects the entity collection. + const base = stateWithMessages(messages) + const state = { + ...base, + [StoreKeys.Messages]: { + ...base[StoreKeys.Messages], + publicChannelsMessagesBase: { + ...base[StoreKeys.Messages].publicChannelsMessagesBase, + entities: { [channelId]: { channelId, messages: measured, display: 0 } }, + }, + }, + } + const announced = [...entries.map(entry => entry.id), 'new-message'] + expect(missingChannelMessages(announced, channelId)(state)).toEqual(['new-message']) + expect(historyReads).toBe(0) + expect(enumerations).toBe(0) + expect(entityReads).toBeLessThanOrEqual(2 * announced.length) + }) +}) diff --git a/packages/state-manager/src/sagas/messages/messages.selectors.ts b/packages/state-manager/src/sagas/messages/messages.selectors.ts index 80003b6a99..4e9365d327 100644 --- a/packages/state-manager/src/sagas/messages/messages.selectors.ts +++ b/packages/state-manager/src/sagas/messages/messages.selectors.ts @@ -114,8 +114,10 @@ export const missingChannelMessages = (ids: string[], channelId: string) => createSelector(publicChannelsMessagesBase, base => { const channelMessagesBase = base[channelId] if (!channelMessagesBase) return [] - const channelMessages = channelMessagesAdapter.getSelectors().selectIds(channelMessagesBase.messages) - return ids.filter(id => !channelMessages.includes(id)) + const entities = channelMessagesAdapter.getSelectors().selectEntities(channelMessagesBase.messages) + // The normalized entity index avoids scanning the entire history for each + // announced ID. An inherited property is not a locally stored message. + return ids.filter(id => !Object.prototype.hasOwnProperty.call(entities, id) || entities[id] === undefined) }) export const missingChannelFiles = (channelId: string) => From 4864764937cdb100f2a08547e619caa5ef8783f2 Mon Sep 17 00:00:00 2001 From: holmesworcester Date: Tue, 15 Sep 2026 05:09:03 -0700 Subject: [PATCH 2/9] refactor: trim native crypto setup and test harness cruft --- packages/backend/platform/README.md | 21 +++++-------------- packages/backend/platform/sodium-native.cjs | 8 +++---- .../backend/platform/sodium-native.test.cjs | 10 ++------- .../backend/platform/sodium-webpack.test.cjs | 2 +- 4 files changed, 11 insertions(+), 30 deletions(-) diff --git a/packages/backend/platform/README.md b/packages/backend/platform/README.md index 51edd4f85c..4b6274489d 100644 --- a/packages/backend/platform/README.md +++ b/packages/backend/platform/README.md @@ -50,10 +50,7 @@ sodium verification and retain sodium's rejection policy. No input buffers are mutated or retained. Temporary DER secret-key buffers and shared secrets are cleared after use; returned byte arrays are independent. -The original sodium output encodings are retained, including their errors. For -example, this Node Mobile build lacks ICU support needed by sodium's base64/text -conversion; the adapter does not introduce a separate codec. LFA uses binary -outputs and its existing base58 codec. +The original sodium output encodings and their errors are retained. ## Validation @@ -63,18 +60,10 @@ After the normal repository bootstrap, run: npm run test:native-crypto --prefix packages/backend ``` -The command is included in backend `pretest` and `pretest-ci`. Tests cover: - -- byte-identical keys, signatures and box ciphertext, bidirectional decryption; -- altered messages, ciphertext, nonce, key and inconsistent secret/public halves; -- input offsets, mutation/reuse, unsupported lengths/types/formats; -- 151 Ed25519 and 518 X25519 Wycheproof cases against LFA's resolved sodium; -- small-order and noncanonical Ed25519 inputs, including identity-point forgery; -- platform selection, atomic capability/version fallback and repeated installation; -- a real webpack build using the production loader, proving activation before - consumers await `ready`, on iOS only. +The command is included in backend `pretest` and `pretest-ci`. Tests compare against +LFA's resolved sodium, including 151 Ed25519 and 518 X25519 Wycheproof cases, +tampered inputs, atomic initialization/fallback, and a real webpack build proving +activation before consumers await `ready`, on iOS only. The shared checks can also execute inside the physical iPhone's embedded Node. Vector provenance and checksums are in [test-vectors/README.md](test-vectors/README.md). -The diagnostic report lives in `scripts/connection-regression/reports/`; the -runtime change does not depend on that profiling harness. diff --git a/packages/backend/platform/sodium-native.cjs b/packages/backend/platform/sodium-native.cjs index 4c59b7c9b1..4f5385ef87 100644 --- a/packages/backend/platform/sodium-native.cjs +++ b/packages/backend/platform/sodium-native.cjs @@ -56,13 +56,13 @@ function ordinaryPoint(value) { return lessThanLE(y, PRIME) && !SMALL_ORDER.has(y.toString('hex')) } -const installed = new WeakMap() +const installed = new WeakSet() function supportedReceiver(sodium) { return sodium !== null && typeof sodium === 'object' && !types.isProxy(sodium) && !types.isModuleNamespaceObject(sodium) } function install(sodium) { - if (installed.has(sodium)) return installed.get(sodium) + if (installed.has(sodium)) return // Proxy traps and module namespaces do not have ordinary assignment semantics. if (!supportedReceiver(sodium)) throw new Error('unsupported sodium export object') // Verification policy is reviewed against this sodium implementation. A new @@ -144,9 +144,7 @@ function install(sodium) { } } Object.assign(sodium, overrides) - const result = Object.freeze({enabled: true, backend: 'node-openssl', functions: Object.keys(overrides)}) - installed.set(sodium, result) - return result + installed.add(sodium) } function enable(sodium, {platform = process.platform, warn = console.warn} = {}) { diff --git a/packages/backend/platform/sodium-native.test.cjs b/packages/backend/platform/sodium-native.test.cjs index 581a2e8f17..6b79e4499e 100644 --- a/packages/backend/platform/sodium-native.test.cjs +++ b/packages/backend/platform/sodium-native.test.cjs @@ -3,12 +3,6 @@ const test = require('node:test') const path = require('node:path') const {createRequire} = require('node:module') require('./sodium-native.checks.cjs').register(test, async () => { - if (process.env.QUIET_NATIVE_TEST_BUNDLE) { - const {webpack} = require(path.resolve(process.env.QUIET_NATIVE_TEST_BUNDLE)) - await webpack('../../3rd-party/auth/packages/crypto/dist/index.js') - return webpack('../../3rd-party/auth/node_modules/.pnpm/libsodium-wrappers-sumo@0.7.13/node_modules/libsodium-wrappers-sumo/dist/modules-sumo/libsodium-wrappers.js') - } else { - const fromLfa = createRequire(path.resolve(__dirname, '../../..', '3rd-party/auth/packages/crypto/package.json')) - return fromLfa('libsodium-wrappers-sumo') - } + const fromLfa = createRequire(path.resolve(__dirname, '../../..', '3rd-party/auth/packages/crypto/package.json')) + return fromLfa('libsodium-wrappers-sumo') }) diff --git a/packages/backend/platform/sodium-webpack.test.cjs b/packages/backend/platform/sodium-webpack.test.cjs index 7fd9f41b6e..553650df74 100644 --- a/packages/backend/platform/sodium-webpack.test.cjs +++ b/packages/backend/platform/sodium-webpack.test.cjs @@ -13,7 +13,7 @@ test('production webpack rule initializes native sodium before consumers await r const rule = factory({mode: 'development'}).module.rules.find(rule => String(rule.loader).endsWith('sodium-loader.cjs')) assert.ok(rule, 'production build must include the sodium loader') const requireLfa = createRequire(path.resolve(__dirname, '../../..', '3rd-party/auth/packages/crypto/package.json')) - const sodiumPath = process.env.QUIET_NATIVE_TEST_SODIUM || requireLfa.resolve('libsodium-wrappers-sumo') + const sodiumPath = requireLfa.resolve('libsodium-wrappers-sumo') const directory = fs.mkdtempSync(path.join(os.tmpdir(), 'quiet-sodium-webpack-')) try { const entry = path.join(directory, 'entry.cjs') From e4b98cade4f54b4cfab09f4beda0d642b14c31b8 Mon Sep 17 00:00:00 2001 From: holmesworcester Date: Tue, 15 Sep 2026 05:10:59 -0700 Subject: [PATCH 3/9] test: reproduce missed messages from replicated OrbitDB heads --- .../channel.store.replication.spec.ts | 210 ++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 packages/backend/src/nest/storage/channels/channel.store.replication.spec.ts diff --git a/packages/backend/src/nest/storage/channels/channel.store.replication.spec.ts b/packages/backend/src/nest/storage/channels/channel.store.replication.spec.ts new file mode 100644 index 0000000000..1e59f7233b --- /dev/null +++ b/packages/backend/src/nest/storage/channels/channel.store.replication.spec.ts @@ -0,0 +1,210 @@ +import EventEmitter from 'node:events' +import { jest } from '@jest/globals' +import { Events, MemoryStorage, type EventsType } from '@orbitdb/core' +import { MessageType, type PublicChannel } from '@quiet/types' +import { SigChain } from '../../auth/sigchain' +import { SigChainService } from '../../auth/sigchain.service' +import { InviteService } from '../../auth/services/invites/invite.service' +import { UserService } from '../../auth/services/members/user.service' +import { Serializer } from '../../common/serializer.service' +import { LFAIdentityProvider } from '../orbitDb/identity/lfa/lfa-identity.provider' +import { LFAIdentities } from '../orbitDb/identity/lfa/lfa-identity.service' +import { StorageEvents } from '../storage.types' +import { ChannelStore } from './channel.store' +import { EncryptedMessage } from './messages/messages.types' +import { MessagesAccessController } from './messages/orbitdb/MessagesAccessController' +import { PrivateMessagesAccessController } from './messages/orbitdb/PrivateMessagesAccessController' +import { PublicChannelMessagesService } from './messages/public-channel-messages.service' +import { PrivateChannelMessagesService } from './messages/private-channel-messages.service' + +// Real OrbitDB logs, LFA identities, access controllers and message consumers. Only block +// transport and unrelated profile/community storage are replaced with in-memory fixtures. +const serviceFor = (chain: SigChain): SigChainService => { + const service = Object.assign(new EventEmitter(), { + user: chain.user, + team: chain.team!, + activeChain: chain, + activeTeamId: chain.team!.id, + getActiveChain: () => chain, + getChain: (id: string) => (id === chain.team!.id ? chain : undefined), + }) + return service as unknown as SigChainService +} + +const createTransport = () => { + const blocks = new Map() + const noop = () => {} + return { + blockstore: { + put: async (cid: any, bytes: Uint8Array) => { + blocks.set(cid.toString(), bytes) + }, + get: async (cid: any) => blocks.get(cid.toString()), + }, + pins: { isPinned: async () => false, add: async function* () {} }, + libp2p: { + handle: noop, + unhandle: noop, + addEventListener: noop, + removeEventListener: noop, + services: { + pubsub: { + publish: noop, + subscribe: noop, + unsubscribe: noop, + addEventListener: noop, + removeEventListener: noop, + }, + }, + }, + } +} + +describe.each([true, false])('ChannelStore replicated %s-public channel history', isPublic => { + it.each([false, true])('discovers a whole imported backlog; invalid ancestor = %s', async invalidAncestor => { + const owner = SigChain.create() + const invitation = owner.invites.createUserInvite() + const context = UserService.createFromInviteSeed({ seed: invitation.seed }) + owner.invites.admitMemberFromInvite(InviteService.createMemberAdmission({ seed: invitation.seed, context })) + const roleName = isPublic ? undefined : owner.channels.createWithMembers([context.user.userId]) + const member = SigChain.joinForTesting(context, owner.team!.save(), owner.team!.teamKeyring()) + const channel: PublicChannel = { + id: 'replicated-channel', + name: 'history', + description: '', + timestamp: 1, + owner: owner.user.userId, + teamId: owner.team!.id, + public: isPublic, + roleName, + } + const entryStorage = await MemoryStorage() + const ipfs = createTransport() + const createParty = async (chain: SigChain) => { + const auth = serviceFor(chain) + const serializer = new Serializer() + const identities = new LFAIdentities(auth, new LFAIdentityProvider(serializer, auth), serializer) + const identity = await identities.createIdentity({ id: chain.user.userId } as never) + const publicAccess = new MessagesAccessController(auth) + const privateAccess = new PrivateMessagesAccessController(auth) + const factory = isPublic + ? publicAccess.createAccessControllerFunc({ + write: ['*'], + sigchainService: auth, + channelId: channel.id, + teamId: channel.teamId!, + }) + : privateAccess.createAccessControllerFunc({ + write: ['*'], + sigchainService: auth, + channelId: channel.id, + teamId: channel.teamId!, + roleName: roleName!, + }) + const access = await factory({ orbitdb: { ipfs, identity }, identities } as any) + const db = (await Events()({ + ipfs, + identity, + address: 'replicated-channel-log', + access, + entryStorage, + headsStorage: await MemoryStorage(), + indexStorage: await MemoryStorage(), + syncAutomatically: false, + } as any)) as EventsType + const publicMessages = new PublicChannelMessagesService(auth) + const privateMessages = new PrivateChannelMessagesService(auth) + const store = new ChannelStore( + { open: async () => db } as any, + { getCurrentCommunity: async () => ({ id: 'community' }) } as any, + publicMessages, + privateMessages, + { getUsername: async () => 'owner' } as any, + auth, + publicAccess, + privateAccess + ) + await store.init(channel, { sync: false }) + return { db, store } + } + const sender = await createParty(owner) + const receiver = await createParty(member) + const append = async (id: string, invalid = false) => { + const encrypted = await sender.store.messagesService.onSend( + { + id, + message: id, + type: MessageType.Basic, + channelId: channel.id, + userId: owner.user.userId, + createdAt: 1, + }, + channel + ) + // The entry is signed by its real writer and passes log admission, but the encrypted + // plaintext lies about authorship. The actual message consumer must still reject it. + if (invalid) { + const plaintext = { + id, + message: id, + type: MessageType.Basic, + channelId: channel.id, + userId: member.user.userId, + createdAt: 1, + teamId: owner.team!.id, + } + const forged = owner.crypto.encryptAndSign(plaintext, encrypted.contents.scope) + encrypted.contents = forged.encrypted + encrypted.encSignature = forged.signature + } + const hash = await sender.db.add(encrypted) + expect(hash).toBeDefined() + } + const importHead = async () => { + const heads = await sender.db.log.heads() + expect(heads).toHaveLength(1) + await receiver.db.applyOperation(heads[0].bytes) + } + try { + await append('already-seen') + await importHead() + await receiver.store.subscribe() + + const announced: string[] = [] + receiver.store.on(StorageEvents.MESSAGE_IDS_STORED, ({ ids }) => announced.push(...ids)) + // EventEmitter doesn't await async consumers. Wrap the real subscription so assertions + // wait for processing instead of depending on a timer or a detached background promise. + const pending: Promise[] = [] + const handler = receiver.db.events.listeners('update')[0] as (...args: any[]) => Promise + receiver.db.events.removeListener('update', handler) + receiver.db.events.on('update', entry => { + pending.push(Promise.resolve(handler(entry))) + }) + const updates = jest.fn() + receiver.db.events.on('update', updates) + + await append('oldest-offline') + await append('middle-offline', invalidAncestor) + await append('newest-offline') + await importHead() + await Promise.all(pending) + + // This is the production QSS/head-exchange behavior the old mock missed: one update + // imports three entries. A ready index must discover ancestors without a restart. + expect(updates).toHaveBeenCalledTimes(1) + expect(await receiver.db.all()).toHaveLength(4) + const expected = ['oldest-offline', 'newest-offline'] + if (!invalidAncestor) expected.push('middle-offline') + expect(new Set(announced)).toEqual(new Set(expected)) + for (const id of expected) { + const result = await receiver.store.getMessages([id]) + expect(result?.isVerified).toBe(true) + expect(result?.messages).toEqual([expect.objectContaining({ id, message: id, userId: owner.user.userId })]) + } + if (invalidAncestor) expect((await receiver.store.getMessages(['middle-offline']))?.messages).toEqual([]) + } finally { + await receiver.store.close() + await sender.store.close() + } + }) +}) From 9de92cfc59c3f0604d687259301e70b5a1e8be06 Mon Sep 17 00:00:00 2001 From: holmesworcester Date: Tue, 15 Sep 2026 05:13:54 -0700 Subject: [PATCH 4/9] fix: index missing channel ancestry imported with replicated heads --- .../storage/channels/channel.store.spec.ts | 233 ++++++++++++++++-- .../nest/storage/channels/channel.store.ts | 110 +++++++-- .../messages/author-impersonation.spec.ts | 10 +- 3 files changed, 313 insertions(+), 40 deletions(-) diff --git a/packages/backend/src/nest/storage/channels/channel.store.spec.ts b/packages/backend/src/nest/storage/channels/channel.store.spec.ts index d4259ee573..9a7eb480cf 100644 --- a/packages/backend/src/nest/storage/channels/channel.store.spec.ts +++ b/packages/backend/src/nest/storage/channels/channel.store.spec.ts @@ -52,6 +52,7 @@ describe('ChannelStore', () => { ;(channelStore as any).store = { events: storeEvents, iterator: emptyIterator, + log: { heads: async () => [] }, sync: { start: jest.fn(async () => {}), }, @@ -81,9 +82,22 @@ describe('ChannelStore', () => { describe('ChannelStore incremental message IDs', () => { const createStore = () => { - const entries: { hash: string; value: any }[] = [] + type Entry = { hash: string; value: any; next?: string[]; refs?: string[] } + const entries: Entry[] = [] const events = new EventEmitter() const entriesByHash = new Map() + const logEntries = new Map() + const logReads = { has: 0, get: 0 } + const save = (entry: Entry) => { + entries.push(entry) + entriesByHash.set(entry.hash, entry.value) + logEntries.set(entry.hash, { + hash: entry.hash, + payload: { value: entry.value }, + next: entry.next ?? [], + refs: entry.refs ?? [], + }) + } const reads = { iterator: 0, get: 0 } const auth = Object.assign(new EventEmitter(), { team: { id: 'team' } }) const onConsume = jest.fn<(message: any) => Promise>(async message => ({ ...message, verified: true })) @@ -105,6 +119,32 @@ describe('ChannelStore incremental message IDs', () => { _messagesService: { onConsume }, store: { events, + log: { + heads: async () => { + // Existing-history tests seed entries before subscribe; index those fixtures here. + for (const entry of entries) { + if (!logEntries.has(entry.hash)) { + logEntries.set(entry.hash, { + hash: entry.hash, + payload: { value: entry.value }, + next: entry.next ?? [], + refs: entry.refs ?? [], + }) + entriesByHash.set(entry.hash, entry.value) + } + } + const parents = new Set(entries.flatMap(entry => entry.next ?? [])) + return [...logEntries.values()].filter(entry => !parents.has(entry.hash)) + }, + has: async (hash: string) => { + logReads.has++ + return logEntries.has(hash) + }, + get: async (hash: string) => { + logReads.get++ + return logEntries.get(hash) + }, + }, iterator: async function* () { for (const entry of entries) { reads.iterator++ @@ -121,12 +161,15 @@ describe('ChannelStore incremental message IDs', () => { }) const ids = jest.fn<(event: any) => void>() store.on(StorageEvents.MESSAGE_IDS_STORED, ids) + const announce = async (hash: string) => { + await (events.listeners('update')[0] as (...args: any[]) => Promise)(logEntries.get(hash)) + } const append = async (id: string, hash = id, value: any = { id, channelId: 'general', teamId: 'team' }) => { - entries.push({ hash, value }) - entriesByHash.set(hash, value) - await (events.listeners('update')[0] as (...args: any[]) => Promise)({ hash, payload: { value } }) + const previous = entries.at(-1)?.hash + save({ hash, value, next: previous === undefined ? [] : [previous] }) + await announce(hash) } - return { store, auth, entries, onConsume, ids, append, reads } + return { store, auth, entries, onConsume, ids, append, reads, logReads, save, announce, logEntries } } it('consumes 1,000 serial arrivals exactly once each, instead of 501,500 times', async () => { @@ -192,7 +235,7 @@ describe('ChannelStore incremental message IDs', () => { owner: user.userId, timestamp: 1700000000000, } - const { store, onConsume, ids, append } = createStore() + const { store, onConsume, ids, append, save, announce } = createStore() onConsume.mockImplementation(message => service.onConsume(message, channel)) await store.subscribe() let encrypted: any @@ -210,17 +253,24 @@ describe('ChannelStore incremental message IDs', () => { ) await append(encrypted.id, encrypted.id, encrypted) } - await append('wrong-id', 'tampered-id', { ...encrypted, id: 'wrong-id' }) + save({ hash: 'tampered-id', value: { ...encrypted, id: 'wrong-id' }, next: [encrypted.id] }) const cipher = Uint8Array.from(encrypted.contents.contents) cipher[cipher.length - 1] ^= 1 - await append('wrong-cipher', 'tampered-cipher', { - ...encrypted, - contents: { ...encrypted.contents, contents: cipher }, + save({ + hash: 'tampered-cipher', + value: { + ...encrypted, + contents: { ...encrypted.contents, contents: cipher }, + }, + next: ['tampered-id'], }) - expect(onConsume).toHaveBeenCalledTimes(1_002) - expect(ids.mock.calls.flatMap(([event]) => event.ids)).toEqual( - Array.from({ length: 1_000 }, (_, n) => `signed-${n}`) - ) + save({ hash: 'backlog-head', value: encrypted, next: ['tampered-cipher'] }) + await announce('backlog-head') + expect(onConsume).toHaveBeenCalledTimes(1_003) + expect(ids.mock.calls.flatMap(([event]) => event.ids)).toEqual([ + ...Array.from({ length: 1_000 }, (_, n) => `signed-${n}`), + 'signed-999', + ]) }) it('coalesces a concurrent backlog without losing arrivals or trusting rejected IDs', async () => { @@ -237,6 +287,161 @@ describe('ChannelStore incremental message IDs', () => { ) }) + const value = (id: string) => ({ id, channelId: 'general', teamId: 'team' }) + + it('indexes every missed message when only the joined head emits an update', async () => { + const { store, save, announce, onConsume, ids, reads, logReads } = createStore() + const delivered = jest.fn<(payload: { messages: { id: string }[] }) => void>() + store.on(StorageEvents.MESSAGES_STORED, delivered) + await store.subscribe() + save({ hash: 'oldest', value: value('oldest') }) + save({ hash: 'middle', value: value('middle'), next: ['oldest'] }) + save({ hash: 'head', value: value('head'), next: ['middle'] }) + await announce('head') + expect(onConsume.mock.calls.map(([message]) => message.id)).toEqual(['oldest', 'middle', 'head']) + expect(ids.mock.lastCall?.[0].ids).toEqual(['oldest', 'middle', 'head']) + expect(delivered.mock.calls.flatMap(([payload]) => payload.messages.map((message: any) => message.id))).toEqual([ + 'head', + ]) + expect(logReads).toEqual({ has: 3, get: 2 }) + expect((await store.getEntries(['oldest'])).map(message => message.id)).toEqual(['oldest']) + expect(reads).toEqual({ iterator: 0, get: 1 }) + }) + + it('shares one ancestry walk across 100 concurrent heads on a 1,000-entry backlog', async () => { + const { store, save, announce, onConsume, ids, reads, logReads } = createStore() + await store.subscribe() + for (let n = 0; n < 1000; n++) { + save({ hash: `old-${n}`, value: value(`old-${n}`), next: n === 0 ? [] : [`old-${n - 1}`] }) + } + for (let n = 0; n < 100; n++) save({ hash: `head-${n}`, value: value(`head-${n}`), next: ['old-999'] }) + await Promise.all(Array.from({ length: 100 }, (_, n) => announce(`head-${n}`))) + expect(onConsume).toHaveBeenCalledTimes(1100) + expect(new Set(ids.mock.calls.flatMap(([event]) => event.ids))).toHaveProperty('size', 1100) + expect(logReads).toEqual({ has: 1100, get: 1000 }) + expect(reads.iterator).toBe(0) + await announce('head-0') + expect(onConsume).toHaveBeenCalledTimes(1100) + expect(logReads).toEqual({ has: 1100, get: 1000 }) + }) + + it('walks branching next ancestry once and does not expose a refs-only branch', async () => { + const { store, save, announce, onConsume, ids } = createStore() + await store.subscribe() + save({ hash: 'base', value: value('base') }) + save({ hash: 'left', value: value('left'), next: ['base'] }) + save({ hash: 'right', value: value('right'), next: ['base'] }) + save({ hash: 'refs-only', value: value('refs-only') }) + save({ hash: 'head', value: value('head'), next: ['left', 'right'], refs: ['refs-only'] }) + await announce('head') + expect(onConsume).toHaveBeenCalledTimes(4) + expect(new Set(ids.mock.lastCall?.[0].ids)).toEqual(new Set(['base', 'left', 'right', 'head'])) + expect(await store.getEntries(['refs-only'])).toEqual([]) + }) + + it('remembers rejected ancestors within an epoch but retries them after an auth update', async () => { + const { store, auth, save, announce, onConsume, ids, append } = createStore() + let allowed = false + onConsume.mockImplementation(async message => + message.id === 'pending' && !allowed ? false : { ...message, verified: true } + ) + await store.subscribe() + save({ hash: 'pending', value: value('pending') }) + save({ hash: 'head', value: value('head'), next: ['pending'] }) + await announce('head') + for (let n = 0; n < 10; n++) await append(`later-${n}`) + expect(onConsume.mock.calls.filter(([message]) => message.id === 'pending')).toHaveLength(1) + expect(ids.mock.calls.flatMap(([event]) => event.ids)).not.toContain('pending') + allowed = true + auth.emit(SigchainEvents.UPDATED) + await new Promise(resolve => setImmediate(resolve)) + expect(onConsume.mock.calls.filter(([message]) => message.id === 'pending')).toHaveLength(2) + expect(ids.mock.lastCall?.[0].ids).toContain('pending') + }) + + it('discards old-epoch ancestry consumes and rechecks the current graph', async () => { + const { store, auth, save, announce, onConsume, ids } = createStore() + await store.subscribe() + save({ hash: 'ancestor', value: value('ancestor') }) + save({ hash: 'head', value: value('head'), next: ['ancestor'] }) + let resume!: () => void + const paused = new Promise(resolve => { + resume = resolve + }) + onConsume.mockImplementationOnce(async message => { + await paused + return { ...message, verified: true } + }) + onConsume.mockImplementation(async () => false) + const arrival = announce('head') + await new Promise(resolve => setImmediate(resolve)) + auth.emit(SigchainEvents.UPDATED) + await new Promise(resolve => setImmediate(resolve)) + resume() + await arrival + expect(ids.mock.calls.flatMap(([event]) => event.ids)).toEqual([]) + onConsume.mockImplementation(async message => ({ ...message, verified: true })) + auth.emit(SigchainEvents.UPDATED) + await new Promise(resolve => setImmediate(resolve)) + expect(new Set(ids.mock.lastCall?.[0].ids)).toEqual(new Set(['ancestor', 'head'])) + }) + + it('does not announce an old delta when auth changes during ID reconciliation', async () => { + const { store, auth, onConsume, ids, append } = createStore() + let allowed = true + onConsume.mockImplementation(async message => (allowed ? { ...message, verified: true } : false)) + await store.subscribe() + const ensure = jest.spyOn(store as any, 'ensureMessageIndex') + ensure.mockImplementationOnce(async () => { + allowed = false + auth.emit(SigchainEvents.UPDATED) + await new Promise(resolve => setImmediate(resolve)) + }) + try { + await append('revoked-before-announcement') + expect(ids.mock.calls.flatMap(([event]) => event.ids)).toEqual([]) + } finally { + ensure.mockRestore() + } + }) + + it('ignores a stale ancestor read rejection after the store closes and reopens', async () => { + const { store, save, announce, ids } = createStore() + await store.subscribe() + save({ hash: 'ancestor', value: value('ancestor') }) + save({ hash: 'head', value: value('head'), next: ['ancestor'] }) + let reject!: (error: Error) => void + const paused = new Promise((_resolve, rejectPromise) => { + reject = rejectPromise + }) + ;(store as any).store.log.get = async () => paused + const arrival = announce('head') + await new Promise(resolve => setImmediate(resolve)) + await store.close() + const replacement = createStore() + replacement.save({ hash: 'replacement', value: value('replacement') }) + Object.assign(store, { store: (replacement.store as any).store, closing: false }) + await store.subscribe() + reject(new Error('Old log is closed')) + await arrival + expect(ids.mock.calls.flatMap(([event]) => event.ids)).toEqual(['replacement']) + }) + + it('does not treat an unavailable or unjoined ancestor as completed ancestry', async () => { + const { store, save, announce, onConsume, ids, logReads } = createStore() + await store.subscribe() + save({ hash: 'good', value: value('good') }) + save({ hash: 'head', value: value('head'), next: ['missing', 'good'] }) + await expect(announce('head')).rejects.toThrow('not joined') + expect(onConsume).toHaveBeenCalledTimes(1) + expect(logReads.get).toBe(1) // Never fetch an unjoined block, even if it is available. + expect(ids.mock.calls.flatMap(([event]) => event.ids)).toEqual([]) + save({ hash: 'missing', value: value('missing') }) + await announce('head') + expect(onConsume).toHaveBeenCalledTimes(4) + expect(new Set(ids.mock.lastCall?.[0].ids)).toEqual(new Set(['good', 'missing', 'head'])) + }) + it('retries unreadable history and removes old IDs when authorization changes', async () => { const { store, auth, entries, onConsume, ids } = createStore() entries.push({ hash: 'cipher', value: { id: 'message', channelId: 'general' } }) diff --git a/packages/backend/src/nest/storage/channels/channel.store.ts b/packages/backend/src/nest/storage/channels/channel.store.ts index 55871859e6..340c6e5ffe 100644 --- a/packages/backend/src/nest/storage/channels/channel.store.ts +++ b/packages/backend/src/nest/storage/channels/channel.store.ts @@ -58,12 +58,24 @@ export class ChannelStore extends EventStoreBase | undefined + // A completed hash includes all of its next ancestry, even entries rejected by onConsume. + // Completion is valid only in this auth epoch. Serialize walks so concurrent heads share work. + private readonly indexedAncestry = new Set() + private messageIndexWork: Promise = Promise.resolve() + + private queueMessageIndex(work: () => Promise): Promise { + const task = this.messageIndexWork.then(work) + this.messageIndexWork = task.catch(() => {}) + return task + } private invalidateMessageIndex(): void { this.messageIndexEpoch += 1 this.messageIndexReady = false this.messageIds.clear() this.messageHashes.clear() + this.indexedAncestry.clear() + this.messageIndexWork = Promise.resolve() } private readonly handleAuthUpdated = (): void => { if (this.closing) return @@ -204,22 +216,9 @@ export class ChannelStore extends EventStoreBase this.indexJoinedAncestry([entry], epoch, entry.hash)) + if (epoch !== this.messageIndexEpoch || this.closing) return + await this.refreshMessageIds(ids, epoch) }) if (!this.authListenerAttached) { @@ -321,7 +320,7 @@ export class ChannelStore extends EventStoreBase { + private async refreshMessageIds(addedIds?: string[], addedEpoch = this.messageIndexEpoch): Promise { try { const wasReady = this.messageIndexReady await this.ensureMessageIndex() @@ -329,7 +328,7 @@ export class ChannelStore extends EventStoreBase { + if (epoch !== this.messageIndexEpoch || this.closing) return + const heads = await this.getStore().log.heads() + await this.indexJoinedAncestry(heads as LogEntry[], epoch) + }) } catch (error) { // A closed/replaced store may reject pending reads. Discard only stale work, then // rebuild the current store; an error in the current epoch must remain observable. @@ -386,6 +383,69 @@ export class ChannelStore extends EventStoreBase[], + epoch: number, + notifyHash?: string + ): Promise { + const ids: string[] = [] + if (epoch !== this.messageIndexEpoch || this.closing) return ids + const log = this.getStore().log + type Frame = { hash: string; entry?: LogEntry; finish?: boolean } + const stack: Frame[] = heads.map(entry => ({ hash: entry.hash, entry })) + const active = new Set() + const completed = new Set() + try { + while (stack.length > 0 && epoch === this.messageIndexEpoch && !this.closing) { + const frame = stack.pop()! + if (this.indexedAncestry.has(frame.hash) || completed.has(frame.hash)) continue + if (frame.finish) { + const entry = frame.entry! + const value = entry.payload.value + if (value?.channelId === this.channelData.id) { + const message = await this.messagesService.onConsume(value, this.channelData) + if (epoch !== this.messageIndexEpoch || this.closing) return [] + if (message != null && message !== false) { + this.indexMessage(entry.hash, message.id) + ids.push(message.id) + if (entry.hash === notifyHash) await this._handleMessageOnUpdate(message) + } + } + if (epoch !== this.messageIndexEpoch || this.closing) return [] + completed.add(entry.hash) + active.delete(entry.hash) + continue + } + + if (active.has(frame.hash)) throw new Error('Cycle in channel message ancestry') + const joined = await log.has(frame.hash) + if (epoch !== this.messageIndexEpoch || this.closing) return [] + if (!joined) throw new Error(`Message ancestry is not joined to the channel log: ${frame.hash}`) + const entry = frame.entry ?? ((await log.get(frame.hash)) as LogEntry | undefined) + if (epoch !== this.messageIndexEpoch || this.closing) return [] + if (entry == null || entry.hash !== frame.hash) throw new Error(`Missing channel log entry: ${frame.hash}`) + active.add(entry.hash) + stack.push({ hash: entry.hash, entry, finish: true }) + // Match OrbitDB's visible-log iterator: refs are fetch shortcuts, not visible ancestry. + for (const hash of new Set(entry.next ?? [])) { + if (!this.indexedAncestry.has(hash)) stack.push({ hash }) + } + } + } catch (error) { + if (epoch === this.messageIndexEpoch && !this.closing) throw error + return [] + } + // Commit completion only after the entire delta succeeds, so a read failure cannot hide + // already consumed but not yet announced IDs from the next attempt. + for (const hash of completed) this.indexedAncestry.add(hash) + return ids + } + // Base Store Logic /** diff --git a/packages/backend/src/nest/storage/channels/messages/author-impersonation.spec.ts b/packages/backend/src/nest/storage/channels/messages/author-impersonation.spec.ts index db271252bd..d52e71ebe5 100644 --- a/packages/backend/src/nest/storage/channels/messages/author-impersonation.spec.ts +++ b/packages/backend/src/nest/storage/channels/messages/author-impersonation.spec.ts @@ -400,6 +400,14 @@ describe('Message author impersonation (#125, CLIENT-002)', () => { ;(channelStore as any).store = { events: storeEvents, sync: { start: async () => {} }, + log: { + heads: async () => replicated.map(value => ({ hash: value.id, payload: { value }, next: [] })), + has: async (hash: string) => replicated.some(value => value.id === hash), + get: async (hash: string) => { + const value = replicated.find(value => value.id === hash) + return value === undefined ? undefined : { hash, payload: { value }, next: [] } + }, + }, iterator: async function* () { for (const value of replicated) { yield { hash: value.id, value } @@ -427,7 +435,7 @@ describe('Message author impersonation (#125, CLIENT-002)', () => { // Rejected entries emit no new-ID notification. Await the actual handler so the // assertions also cover rejection without relying on an empty notification. const update = storeEvents.listeners('update')[0] as (entry: unknown) => Promise - await update({ hash: entry.id, payload: { value: entry } }) + await update({ hash: entry.id, payload: { value: entry }, next: [] }) } return { stored, notified, ids } From 588559acd7024c51ceea4692dc8c3b12c123393e Mon Sep 17 00:00:00 2001 From: holmesworcester Date: Tue, 15 Sep 2026 05:18:16 -0700 Subject: [PATCH 5/9] test: exercise shared OrbitDB events before local acceptance --- .../channels/channel.store.replication.spec.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/backend/src/nest/storage/channels/channel.store.replication.spec.ts b/packages/backend/src/nest/storage/channels/channel.store.replication.spec.ts index 1e59f7233b..8fbfadaa07 100644 --- a/packages/backend/src/nest/storage/channels/channel.store.replication.spec.ts +++ b/packages/backend/src/nest/storage/channels/channel.store.replication.spec.ts @@ -79,6 +79,8 @@ describe.each([true, false])('ChannelStore replicated %s-public channel history' roleName, } const entryStorage = await MemoryStorage() + // EventsWithStorage uses one process-wide emitter, including for separate local peers. + const events = new EventEmitter() const ipfs = createTransport() const createParty = async (chain: SigChain) => { const auth = serviceFor(chain) @@ -111,6 +113,7 @@ describe.each([true, false])('ChannelStore replicated %s-public channel history' headsStorage: await MemoryStorage(), indexStorage: await MemoryStorage(), syncAutomatically: false, + events, } as any)) as EventsType const publicMessages = new PublicChannelMessagesService(auth) const privateMessages = new PrivateChannelMessagesService(auth) @@ -186,6 +189,14 @@ describe.each([true, false])('ChannelStore replicated %s-public channel history' await append('oldest-offline') await append('middle-offline', invalidAncestor) await append('newest-offline') + await Promise.all(pending) + // Sender updates arrive on the shared bus before this receiver has admitted the entries. + // Block availability and a matching channel ID must not authorize early delivery. + expect(announced).toEqual([]) + expect(await receiver.db.all()).toHaveLength(1) + expect((await receiver.store.getMessages(['oldest-offline']))?.messages).toEqual([]) + pending.length = 0 + updates.mockClear() await importHead() await Promise.all(pending) From 0accbc11e3ee9aaaa165500e9ef1c74de802eacb Mon Sep 17 00:00:00 2001 From: holmesworcester Date: Tue, 15 Sep 2026 05:20:19 -0700 Subject: [PATCH 6/9] fix: ignore channel heads from peers before the local log joins them --- .../storage/channels/channel.store.spec.ts | 33 +++++++++++++++++-- .../nest/storage/channels/channel.store.ts | 11 +++++-- 2 files changed, 39 insertions(+), 5 deletions(-) diff --git a/packages/backend/src/nest/storage/channels/channel.store.spec.ts b/packages/backend/src/nest/storage/channels/channel.store.spec.ts index 9a7eb480cf..c49ba69b65 100644 --- a/packages/backend/src/nest/storage/channels/channel.store.spec.ts +++ b/packages/backend/src/nest/storage/channels/channel.store.spec.ts @@ -81,10 +81,9 @@ describe('ChannelStore', () => { }) describe('ChannelStore incremental message IDs', () => { - const createStore = () => { + const createStore = (events = new EventEmitter()) => { type Entry = { hash: string; value: any; next?: string[]; refs?: string[] } const entries: Entry[] = [] - const events = new EventEmitter() const entriesByHash = new Map() const logEntries = new Map() const logReads = { has: 0, get: 0 } @@ -289,6 +288,36 @@ describe('ChannelStore incremental message IDs', () => { const value = (id: string) => ({ id, channelId: 'general', teamId: 'team' }) + it('ignores a shared-bus head until this peer actually joins it', async () => { + const events = new EventEmitter() + const sender = createStore(events) + const receiver = createStore(events) + await sender.store.subscribe() + await receiver.store.subscribe() + sender.ids.mockClear() + receiver.ids.mockClear() + sender.save({ hash: 'remote-head', value: value('remote-head') }) + const entry = sender.logEntries.get('remote-head') + const broadcast = async () => { + await Promise.all( + events.listeners('update').map(listener => (listener as (entry: unknown) => Promise)(entry)) + ) + } + await broadcast() + expect(sender.onConsume).toHaveBeenCalledTimes(1) + expect(receiver.onConsume).not.toHaveBeenCalled() + expect(receiver.ids).not.toHaveBeenCalled() + expect(receiver.logReads).toEqual({ has: 1, get: 0 }) + expect(await receiver.store.getEntries(['remote-head'])).toEqual([]) + + receiver.save({ hash: 'remote-head', value: value('remote-head') }) + await broadcast() + expect(sender.onConsume).toHaveBeenCalledTimes(1) + expect(receiver.onConsume).toHaveBeenCalledTimes(1) + expect(receiver.ids.mock.lastCall?.[0].ids).toEqual(['remote-head']) + expect(receiver.logReads).toEqual({ has: 2, get: 0 }) + }) + it('indexes every missed message when only the joined head emits an update', async () => { const { store, save, announce, onConsume, ids, reads, logReads } = createStore() const delivered = jest.fn<(payload: { messages: { id: string }[] }) => void>() diff --git a/packages/backend/src/nest/storage/channels/channel.store.ts b/packages/backend/src/nest/storage/channels/channel.store.ts index 340c6e5ffe..12367705a2 100644 --- a/packages/backend/src/nest/storage/channels/channel.store.ts +++ b/packages/backend/src/nest/storage/channels/channel.store.ts @@ -217,7 +217,7 @@ export class ChannelStore extends EventStoreBase this.indexJoinedAncestry([entry], epoch, entry.hash)) - if (epoch !== this.messageIndexEpoch || this.closing) return + if (ids === undefined || epoch !== this.messageIndexEpoch || this.closing) return await this.refreshMessageIds(ids, epoch) }) @@ -392,7 +392,7 @@ export class ChannelStore extends EventStoreBase[], epoch: number, notifyHash?: string - ): Promise { + ): Promise { const ids: string[] = [] if (epoch !== this.messageIndexEpoch || this.closing) return ids const log = this.getStore().log @@ -425,7 +425,12 @@ export class ChannelStore extends EventStoreBase | undefined) if (epoch !== this.messageIndexEpoch || this.closing) return [] if (entry == null || entry.hash !== frame.hash) throw new Error(`Missing channel log entry: ${frame.hash}`) From 11c5ea688b9af2f2c8e8fa16b98f75dfc3a857ef Mon Sep 17 00:00:00 2001 From: holmesworcester Date: Tue, 15 Sep 2026 05:33:37 -0700 Subject: [PATCH 7/9] fix: bind channel updates and delayed notifications to current local state --- .../storage/channels/channel.store.spec.ts | 128 ++++++++++++++++-- .../nest/storage/channels/channel.store.ts | 38 ++++-- 2 files changed, 143 insertions(+), 23 deletions(-) diff --git a/packages/backend/src/nest/storage/channels/channel.store.spec.ts b/packages/backend/src/nest/storage/channels/channel.store.spec.ts index c49ba69b65..dc911cc349 100644 --- a/packages/backend/src/nest/storage/channels/channel.store.spec.ts +++ b/packages/backend/src/nest/storage/channels/channel.store.spec.ts @@ -3,6 +3,7 @@ import { CryptoService } from '../../auth/services/crypto/crypto.service' import { PublicChannelMessagesService } from './messages/public-channel-messages.service' import EventEmitter from 'node:events' import { jest } from '@jest/globals' +import { type PushNotificationPayload } from '@quiet/types' import { ChannelStore } from './channel.store' import { SigchainEvents } from '../../auth/types' @@ -100,6 +101,7 @@ describe('ChannelStore incremental message IDs', () => { const reads = { iterator: 0, get: 0 } const auth = Object.assign(new EventEmitter(), { team: { id: 'team' } }) const onConsume = jest.fn<(message: any) => Promise>(async message => ({ ...message, verified: true })) + const getUsername = jest.fn<(userId: string) => Promise>(async () => undefined) const store = new ChannelStore( {} as any, { @@ -107,7 +109,7 @@ describe('ChannelStore incremental message IDs', () => { } as any, { onConsume } as any, {} as any, - {} as any, + { getUsername } as any, auth as any, {} as any, {} as any @@ -168,9 +170,67 @@ describe('ChannelStore incremental message IDs', () => { save({ hash, value, next: previous === undefined ? [] : [previous] }) await announce(hash) } - return { store, auth, entries, onConsume, ids, append, reads, logReads, save, announce, logEntries } + return { store, auth, entries, onConsume, getUsername, ids, append, reads, logReads, save, announce, logEntries } } + it.each(['unchanged', 'auth invalidated', 'closed'] as const)( + 'emits a deferred mobile notification only while its originating context is current: %s', + async change => { + const previousBackend = process.env.BACKEND + const previousConnectionTime = process.env.CONNECTION_TIME + process.env.BACKEND = 'mobile' + process.env.CONNECTION_TIME = '0' + try { + const { store, auth, append, onConsume, getUsername } = createStore() + const notifications: PushNotificationPayload[] = [] + store.on(StorageEvents.SEND_PUSH_NOTIFICATION, payload => notifications.push(payload)) + let resume!: (username: string) => void + const lookup = new Promise(resolve => { + resume = resolve + }) + getUsername.mockImplementationOnce(async () => lookup) + await store.subscribe() + const arrival = append('push-message', 'push-message', { + id: 'push-message', + channelId: 'general', + teamId: 'team', + userId: 'sender', + message: 'Notification body', + createdAt: Date.now(), + }) + await new Promise(resolve => setImmediate(resolve)) + expect(getUsername).toHaveBeenCalledWith('sender') + expect(notifications).toEqual([]) + if (change === 'auth invalidated') { + onConsume.mockImplementation(async () => false) + auth.emit(SigchainEvents.UPDATED) + await new Promise(resolve => setImmediate(resolve)) + } else if (change === 'closed') { + await store.close() + } + resume('Alice') + await arrival + if (change === 'unchanged') { + expect(notifications).toHaveLength(1) + expect(notifications[0].username).toBe('Alice') + expect(JSON.parse(notifications[0].message)).toMatchObject({ + id: 'push-message', + userId: 'sender', + message: 'Notification body', + verified: true, + }) + } else { + expect(notifications).toEqual([]) + } + } finally { + if (previousBackend === undefined) delete process.env.BACKEND + else process.env.BACKEND = previousBackend + if (previousConnectionTime === undefined) delete process.env.CONNECTION_TIME + else process.env.CONNECTION_TIME = previousConnectionTime + } + } + ) + it('consumes 1,000 serial arrivals exactly once each, instead of 501,500 times', async () => { const { store, onConsume, ids, append } = createStore() await store.subscribe() @@ -315,7 +375,57 @@ describe('ChannelStore incremental message IDs', () => { expect(sender.onConsume).toHaveBeenCalledTimes(1) expect(receiver.onConsume).toHaveBeenCalledTimes(1) expect(receiver.ids.mock.lastCall?.[0].ids).toEqual(['remote-head']) - expect(receiver.logReads).toEqual({ has: 2, get: 0 }) + expect(receiver.logReads).toEqual({ has: 2, get: 1 }) + }) + + it('consumes canonical accepted entries instead of payload or ancestry supplied by an update', async () => { + const events = new EventEmitter() + const { store, save, onConsume, ids, logReads } = createStore(events) + await store.subscribe() + save({ hash: 'canonical-ancestor', value: value('canonical-ancestor') }) + save({ hash: 'canonical-head', value: value('canonical-head'), next: ['canonical-ancestor'] }) + const supplied = { + hash: 'canonical-head', + payload: { value: value('forged-event-message') }, + next: ['nonexistent-event-ancestor'], + } + await (events.listeners('update')[0] as (entry: unknown) => Promise)(supplied) + expect(onConsume.mock.calls.map(([message]) => message.id)).toEqual(['canonical-ancestor', 'canonical-head']) + expect(ids.mock.lastCall?.[0].ids).toEqual(['canonical-ancestor', 'canonical-head']) + expect(logReads).toEqual({ has: 2, get: 2 }) + expect(await store.getEntries(['forged-event-message'])).toEqual([]) + }) + + it('defers a snapshot head published before its local append enters the log index', async () => { + const { store, auth, save, announce, onConsume, ids, logEntries, logReads } = createStore() + await store.subscribe() + save({ hash: 'previous', value: value('previous') }) + await announce('previous') + onConsume.mockClear() + ids.mockClear() + logReads.has = 0 + logReads.get = 0 + const pendingHead = { + hash: 'pending-append', + payload: { value: value('pending-append') }, + next: ['previous'], + } + // Log.append sets heads before awaiting entry/index.put. Hold that write pending while + // auth reconciliation reads the new head, then finish it before the local update event. + const log = (store as any).store.log + log.heads = async () => [pendingHead] + auth.emit(SigchainEvents.UPDATED) + await (store as any).messageIndexRefresh + await new Promise(resolve => setImmediate(resolve)) + expect(onConsume).not.toHaveBeenCalled() + expect(logReads).toEqual({ has: 1, get: 0 }) + expect(ids.mock.lastCall?.[0].ids).toEqual([]) + save({ hash: pendingHead.hash, value: pendingHead.payload.value, next: pendingHead.next }) + expect(logEntries.has(pendingHead.hash)).toBe(true) + await announce(pendingHead.hash) + expect(onConsume.mock.calls.map(([message]) => message.id)).toEqual(['previous', 'pending-append']) + expect(ids.mock.lastCall?.[0].ids).toEqual(['previous', 'pending-append']) + expect(logReads).toEqual({ has: 3, get: 2 }) }) it('indexes every missed message when only the joined head emits an update', async () => { @@ -332,7 +442,7 @@ describe('ChannelStore incremental message IDs', () => { expect(delivered.mock.calls.flatMap(([payload]) => payload.messages.map((message: any) => message.id))).toEqual([ 'head', ]) - expect(logReads).toEqual({ has: 3, get: 2 }) + expect(logReads).toEqual({ has: 3, get: 3 }) expect((await store.getEntries(['oldest'])).map(message => message.id)).toEqual(['oldest']) expect(reads).toEqual({ iterator: 0, get: 1 }) }) @@ -347,11 +457,11 @@ describe('ChannelStore incremental message IDs', () => { await Promise.all(Array.from({ length: 100 }, (_, n) => announce(`head-${n}`))) expect(onConsume).toHaveBeenCalledTimes(1100) expect(new Set(ids.mock.calls.flatMap(([event]) => event.ids))).toHaveProperty('size', 1100) - expect(logReads).toEqual({ has: 1100, get: 1000 }) + expect(logReads).toEqual({ has: 1100, get: 1100 }) expect(reads.iterator).toBe(0) await announce('head-0') expect(onConsume).toHaveBeenCalledTimes(1100) - expect(logReads).toEqual({ has: 1100, get: 1000 }) + expect(logReads).toEqual({ has: 1100, get: 1100 }) }) it('walks branching next ancestry once and does not expose a refs-only branch', async () => { @@ -443,7 +553,9 @@ describe('ChannelStore incremental message IDs', () => { const paused = new Promise((_resolve, rejectPromise) => { reject = rejectPromise }) - ;(store as any).store.log.get = async () => paused + const log = (store as any).store.log + const get = log.get + log.get = async (hash: string) => (hash === 'ancestor' ? paused : get(hash)) const arrival = announce('head') await new Promise(resolve => setImmediate(resolve)) await store.close() @@ -463,7 +575,7 @@ describe('ChannelStore incremental message IDs', () => { save({ hash: 'head', value: value('head'), next: ['missing', 'good'] }) await expect(announce('head')).rejects.toThrow('not joined') expect(onConsume).toHaveBeenCalledTimes(1) - expect(logReads.get).toBe(1) // Never fetch an unjoined block, even if it is available. + expect(logReads.get).toBe(2) // Never fetch an unjoined block, even if it is available. expect(ids.mock.calls.flatMap(([event]) => event.ids)).toEqual([]) save({ hash: 'missing', value: value('missing') }) await announce('head') diff --git a/packages/backend/src/nest/storage/channels/channel.store.ts b/packages/backend/src/nest/storage/channels/channel.store.ts index 12367705a2..f6d636aa9c 100644 --- a/packages/backend/src/nest/storage/channels/channel.store.ts +++ b/packages/backend/src/nest/storage/channels/channel.store.ts @@ -216,7 +216,7 @@ export class ChannelStore extends EventStoreBase this.indexJoinedAncestry([entry], epoch, entry.hash)) + const ids = await this.queueMessageIndex(() => this.indexJoinedAncestry([entry.hash], epoch, entry.hash)) if (ids === undefined || epoch !== this.messageIndexEpoch || this.closing) return await this.refreshMessageIds(ids, epoch) }) @@ -241,7 +241,7 @@ export class ChannelStore extends EventStoreBase { + private async _handleMessageOnUpdate(message: ConsumedChannelMessage, epoch: number): Promise { this.emit(StorageEvents.MESSAGES_STORED, { messages: [message], isVerified: message.verified, @@ -259,6 +259,8 @@ export class ChannelStore extends EventStoreBase { if (epoch !== this.messageIndexEpoch || this.closing) return - const heads = await this.getStore().log.heads() - await this.indexJoinedAncestry(heads as LogEntry[], epoch) + const heads: LogEntry[] = await this.getStore().log.heads() + await this.indexJoinedAncestry( + heads.map(entry => entry.hash), + epoch + ) }) } catch (error) { // A closed/replaced store may reject pending reads. Discard only stale work, then @@ -389,23 +394,23 @@ export class ChannelStore extends EventStoreBase[], + heads: string[], epoch: number, notifyHash?: string ): Promise { const ids: string[] = [] if (epoch !== this.messageIndexEpoch || this.closing) return ids const log = this.getStore().log - type Frame = { hash: string; entry?: LogEntry; finish?: boolean } - const stack: Frame[] = heads.map(entry => ({ hash: entry.hash, entry })) + type Frame = { hash: string; entry?: LogEntry; root?: boolean } + const stack: Frame[] = heads.map(hash => ({ hash, root: true })) const active = new Set() const completed = new Set() try { while (stack.length > 0 && epoch === this.messageIndexEpoch && !this.closing) { const frame = stack.pop()! if (this.indexedAncestry.has(frame.hash) || completed.has(frame.hash)) continue - if (frame.finish) { - const entry = frame.entry! + if (frame.entry !== undefined) { + const entry = frame.entry const value = entry.payload.value if (value?.channelId === this.channelData.id) { const message = await this.messagesService.onConsume(value, this.channelData) @@ -413,7 +418,7 @@ export class ChannelStore extends EventStoreBase | undefined) + const entry = (await log.get(frame.hash)) as LogEntry | undefined if (epoch !== this.messageIndexEpoch || this.closing) return [] if (entry == null || entry.hash !== frame.hash) throw new Error(`Missing channel log entry: ${frame.hash}`) active.add(entry.hash) - stack.push({ hash: entry.hash, entry, finish: true }) + stack.push({ hash: entry.hash, entry }) // Match OrbitDB's visible-log iterator: refs are fetch shortcuts, not visible ancestry. for (const hash of new Set(entry.next ?? [])) { if (!this.indexedAncestry.has(hash)) stack.push({ hash }) From c887c379f377cb1bc3f2fa1041796665dfb9a855 Mon Sep 17 00:00:00 2001 From: holmesworcester Date: Tue, 15 Sep 2026 05:40:01 -0700 Subject: [PATCH 8/9] test: assert QSS roster visibility without unused Tor presence waits --- packages/e2e-tests/src/selectors.test.ts | 105 +++++++++++++++++- packages/e2e-tests/src/selectors.ts | 21 +++- ...ultipleClients.privateChannels.qss.test.ts | 6 +- .../src/tests/multipleClients.qss.test.ts | 20 ++-- 4 files changed, 137 insertions(+), 15 deletions(-) diff --git a/packages/e2e-tests/src/selectors.test.ts b/packages/e2e-tests/src/selectors.test.ts index 8426da0504..32ea3f5ff5 100644 --- a/packages/e2e-tests/src/selectors.test.ts +++ b/packages/e2e-tests/src/selectors.test.ts @@ -1,6 +1,6 @@ import { error, Session, WebDriver, WebElement, type ThenableWebDriver } from 'selenium-webdriver' import { Command, Name } from 'selenium-webdriver/lib/command' -import { Channel, UserProfileContextMenu } from './selectors' +import { Channel, UserProfileContextMenu, UsersList } from './selectors' import { PhotoExt } from './enums' const advanceTime = async (milliseconds: number) => { @@ -81,6 +81,109 @@ describe('Channel message polling', () => { }) }) +describe('QSS roster polling', () => { + let rowPresent: boolean + let rowVisible: boolean + let staleNextVisibility: boolean + let users: UsersList + let execute: jest.Mock + + beforeEach(() => { + jest.useFakeTimers({ doNotFake: ['setImmediate'] }) + rowPresent = false + rowVisible = false + staleNextVisibility = false + // Exercise Selenium's real polling and WebElement visibility commands. + // The transport exposes only the named member row, never a presence badge. + execute = jest.fn(async (command: Command) => { + switch (command.getName()) { + case Name.FIND_ELEMENTS: + expect(command.getParameter('value')).toBe('//div[@data-testid="owner-user-link"]') + return rowPresent ? [WebElement.buildId('owner-row')] : [] + case Name.IS_ELEMENT_DISPLAYED: + if (staleNextVisibility) { + staleNextVisibility = false + throw new error.StaleElementReferenceError('Member row was replaced') + } + return rowVisible + default: + throw new Error(`Unexpected WebDriver command: ${command.getName()}`) + } + }) + const driver = new WebDriver(new Session('qss-roster-polling', {}), { execute }) + users = new UsersList(driver as ThenableWebDriver) + }) + + afterEach(() => { + jest.useRealTimers() + }) + + it('accepts a visible member without querying a Tor presence badge', async () => { + rowPresent = true + rowVisible = true + await expect(users.waitForVisibleUser('owner')).resolves.toBeUndefined() + expect(execute.mock.calls.map(([command]: [Command]) => command.getName())).toEqual([ + Name.FIND_ELEMENTS, + Name.IS_ELEMENT_DISPLAYED, + ]) + }) + + it('waits for a delayed member row to become visible', async () => { + let settled = false + const result = users.waitForVisibleUser('owner') + void result.then(() => { + settled = true + }) + await advanceTime(16_000) + expect(settled).toBe(false) + + rowPresent = true + await advanceTime(5_000) + expect(settled).toBe(false) + rowVisible = true + await advanceTime(500) + await expect(result).resolves.toBeUndefined() + }) + + it.each(['missing', 'hidden'])('rejects a %s member at the roster deadline', async state => { + rowPresent = state === 'hidden' + let settled = false + const failure = users.waitForVisibleUser('owner').catch(err => err) + void failure.then(() => { + settled = true + }) + await advanceTime(119_500) + expect(settled).toBe(false) + await advanceTime(500) + const err = await failure + expect(err).toBeInstanceOf(error.TimeoutError) + expect(err.message).toContain('Visible user owner') + expect(err.message).toContain('120000ms') + }) + + it('retries a member row replaced during the visibility query', async () => { + rowPresent = true + rowVisible = true + staleNextVisibility = true + const result = users.waitForVisibleUser('owner') + await advanceTime(500) + await expect(result).resolves.toBeUndefined() + expect(execute.mock.calls.filter(([command]: [Command]) => command.getName() === Name.FIND_ELEMENTS)).toHaveLength( + 2 + ) + }) + + it.each(['lookup', 'visibility'])('propagates a lost browser session during %s', async stage => { + const failure = new error.NoSuchSessionError('Browser session closed') + if (stage === 'visibility') { + execute.mockResolvedValueOnce([WebElement.buildId('owner-row')]) + } + execute.mockRejectedValueOnce(failure) + await expect(users.waitForVisibleUser('owner')).rejects.toBe(failure) + expect(execute).toHaveBeenCalledTimes(stage === 'lookup' ? 1 : 2) + }) +}) + describe('Profile photo polling', () => { let photoSrc: string | undefined let menu: UserProfileContextMenu diff --git a/packages/e2e-tests/src/selectors.ts b/packages/e2e-tests/src/selectors.ts index c0774dc622..3e03f10d52 100644 --- a/packages/e2e-tests/src/selectors.ts +++ b/packages/e2e-tests/src/selectors.ts @@ -1,4 +1,4 @@ -import { By, Key, type ThenableWebDriver, type WebElement, until, WebElementPromise } from 'selenium-webdriver' +import { By, Key, error, type ThenableWebDriver, type WebElement, until, WebElementPromise } from 'selenium-webdriver' import { BuildSetup, logAndReturnError, promiseWithRetries, sleep, type BuildSetupInit } from './utils' import path from 'path' import { FileDownloadStatus, PhotoExt, SettingsModalTabName, FileAttachmentType, X_DATA_TESTID } from './enums' @@ -571,6 +571,25 @@ export class UsersList { return true } + async waitForVisibleUser(username: string, timeoutMs = 120_000): Promise { + await this.driver.wait( + async () => { + const users = await this.driver.findElements(By.xpath(`//div[@data-testid="${username}-user-link"]`)) + for (const user of users) { + try { + if (await user.isDisplayed()) return user + } catch (e) { + if (!(e instanceof error.StaleElementReferenceError)) throw e + } + } + return undefined + }, + timeoutMs, + `Visible user ${username} couldn't be located within timeout`, + 500 + ) + } + async getUser(username: string, expectedState: UserListStatus): Promise { logger.debug('Getting user list item', username) let status: UserListStatus = UserListStatus.NOT_FOUND diff --git a/packages/e2e-tests/src/tests/multipleClients.privateChannels.qss.test.ts b/packages/e2e-tests/src/tests/multipleClients.privateChannels.qss.test.ts index 6d13ca80e3..b32d9b3318 100644 --- a/packages/e2e-tests/src/tests/multipleClients.privateChannels.qss.test.ts +++ b/packages/e2e-tests/src/tests/multipleClients.privateChannels.qss.test.ts @@ -15,7 +15,7 @@ import { UsersList, } from '../selectors' import { promiseWithRetries, tailQssLogs } from '../utils' -import { UserListStatus, UserTestData2, UserTestDataMap, type MessageIds } from '../types' +import { UserTestData2, UserTestDataMap, type MessageIds } from '../types' import { createLogger } from '../logger' import { SettingsModalTabName } from '../enums' import { ChildProcess } from 'child_process' @@ -276,13 +276,13 @@ describe('Multiple Clients (QSS - Private Channels)', () => { it('User sees owner in user list', async () => { const userList = new UsersList(users.user1.app.driver) expect(await userList.isReady()).toBeTruthy() - expect(await userList.getUser(users.owner.username, UserListStatus.ONLINE)) + await userList.waitForVisibleUser(users.owner.username) }) it('Owner sees user in user list', async () => { const userList = new UsersList(users.owner.app.driver) expect(await userList.isReady()).toBeTruthy() - expect(await userList.getUser(users.user1.username, UserListStatus.ONLINE)) + await userList.waitForVisibleUser(users.user1.username) }) it("Owner's message is visible in general channel to user", async () => { diff --git a/packages/e2e-tests/src/tests/multipleClients.qss.test.ts b/packages/e2e-tests/src/tests/multipleClients.qss.test.ts index a5cf1a9bd5..40b5f115f6 100644 --- a/packages/e2e-tests/src/tests/multipleClients.qss.test.ts +++ b/packages/e2e-tests/src/tests/multipleClients.qss.test.ts @@ -254,9 +254,9 @@ describe('Multiple Clients (QSS)', () => { expect(await userList.isReady()).toBeTruthy() }) - it('First user sees owner in user list as online', async () => { + it('First user sees owner in user list', async () => { const userList = new UsersList(users.user1.app.driver) - await userList.getUser(users.owner.username, UserListStatus.ONLINE) + await userList.waitForVisibleUser(users.owner.username) }) it('Owner sees user list', async () => { @@ -264,9 +264,9 @@ describe('Multiple Clients (QSS)', () => { expect(await userList.isReady()).toBeTruthy() }) - it('Owner sees first user in user list as online', async () => { + it('Owner sees first user in user list', async () => { const userList = new UsersList(users.owner.app.driver) - await userList.getUser(users.user1.username, UserListStatus.ONLINE) + await userList.waitForVisibleUser(users.user1.username) }) it("First user's message is visible in a channel", async () => { @@ -481,9 +481,9 @@ describe('Multiple Clients (QSS)', () => { await promiseWithRetries(loadOwner(), failureReason, retryConfig, onTimeout) }) - it('Second user sees owner in user list as online', async () => { + it('Second user sees owner in user list', async () => { const userList = new UsersList(users.user2.app.driver) - await userList.getUser(users.owner.username, UserListStatus.ONLINE) + await userList.waitForVisibleUser(users.owner.username) }) it("Second user's first message is visible in a channel for owner", async () => { @@ -514,14 +514,14 @@ describe('Multiple Clients (QSS)', () => { await debugModal.close() }) - it('First user sees second user in user list as online', async () => { + it('First user sees second user in user list', async () => { const userList = new UsersList(users.user1.app.driver) - await userList.getUser(users.user2.username, UserListStatus.ONLINE) + await userList.waitForVisibleUser(users.user2.username) }) - it('First user sees owner in user list as online', async () => { + it('First user sees owner in user list', async () => { const userList = new UsersList(users.user1.app.driver) - await userList.getUser(users.owner.username, UserListStatus.ONLINE) + await userList.waitForVisibleUser(users.owner.username) }) it(`First user can see the second user's messages`, async () => { From eb62325ccb723dd8719b4deb7b47d912363b14ad Mon Sep 17 00:00:00 2001 From: holmesworcester Date: Tue, 15 Sep 2026 06:20:42 -0700 Subject: [PATCH 9/9] refactor: separate native OpenSSL adapter from processing fixes --- packages/backend/package.json | 7 +- packages/backend/platform/README.md | 69 - packages/backend/platform/sodium-loader.cjs | 7 - .../backend/platform/sodium-native.checks.cjs | 296 - packages/backend/platform/sodium-native.cjs | 177 - .../backend/platform/sodium-native.test.cjs | 8 - .../backend/platform/sodium-webpack.test.cjs | 48 - .../backend/platform/test-vectors/LICENSE | 202 - .../backend/platform/test-vectors/README.md | 8 - .../platform/test-vectors/ed25519.json | 3360 --------- .../backend/platform/test-vectors/x25519.json | 6056 ----------------- packages/backend/webpack.config.js | 4 - 12 files changed, 3 insertions(+), 10239 deletions(-) delete mode 100644 packages/backend/platform/README.md delete mode 100644 packages/backend/platform/sodium-loader.cjs delete mode 100644 packages/backend/platform/sodium-native.checks.cjs delete mode 100644 packages/backend/platform/sodium-native.cjs delete mode 100644 packages/backend/platform/sodium-native.test.cjs delete mode 100644 packages/backend/platform/sodium-webpack.test.cjs delete mode 100644 packages/backend/platform/test-vectors/LICENSE delete mode 100644 packages/backend/platform/test-vectors/README.md delete mode 100644 packages/backend/platform/test-vectors/ed25519.json delete mode 100644 packages/backend/platform/test-vectors/x25519.json diff --git a/packages/backend/package.json b/packages/backend/package.json index 3919870323..1735102c0c 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -28,9 +28,9 @@ "lint-ci": "npm run lint:no-fix", "lint-staged": "lint-staged --no-stash", "test-nest": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" DEBUG=ipfs:*,backend:* node_modules/jest/bin/jest.js --forceExit ./src/nest/**/*.spec.ts", - "pretest": "npm run applyPatches:gossipsub && npm run test:native-crypto", + "pretest": "npm run applyPatches:gossipsub", "test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" DEBUG=ipfs:*,backend:* jest --runInBand --verbose --testPathIgnorePatterns=\".src/(!?nodeTest*)|(.node_modules*)\" --forceExit", - "pretest-ci": "npm run applyPatches:gossipsub && npm run test:native-crypto", + "pretest-ci": "npm run applyPatches:gossipsub", "test-ci": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --max-old-space-size=4096\" jest --runInBand --colors --ci --silent --verbose --forceExit --testPathIgnorePatterns \"/node_modules/\" --testPathIgnorePatterns \"/dist/\" --testPathIgnorePatterns \"src/nest/.*\\.tor\\.spec\\.(t|j)s$\" --testPathIgnorePatterns \"src/nest/ipfs-file-manager/big-files\\.long\\.spec\\.ts$\"", "test-ci-tor": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest --runInBand --colors --ci --verbose --forceExit ./src/nest/**/*.tor.spec.ts", "test-ci-long-running": "cross-env DEBUG=backend:* NODE_OPTIONS=\"--experimental-vm-modules\" jest --colors --ci --verbose --forceExit ./src/nest/**/*.long.spec.ts", @@ -39,8 +39,7 @@ "test-replication-no-tor": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" ts-node -v && cross-env DEBUG='backend:dbSnap*,backend:localTest*' ts-node src/nodeTest/testReplicate.ts --nodesCount 1 --timeThreshold 200 --entriesCount 1000 --no-useTor", "test-replication-tor": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" cross-env DEBUG='backend:dbSnap*,backend:localTest*' ts-node src/nodeTest/testReplicate.ts --nodesCount 1 --timeThreshold 500 --entriesCount 1000 --useTor", "test-it": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" DEBUG=ipfs:*,backend:* node_modules/jest/bin/jest.js --runInBand --verbose --testPathIgnorePatterns=\".src/(!?nodeTest*)|(.node_modules*)\" --", - "rmDist": "rimraf lib/", - "test:native-crypto": "node --test platform/*.test.cjs" + "rmDist": "rimraf lib/" }, "repository": { "type": "git", diff --git a/packages/backend/platform/README.md b/packages/backend/platform/README.md deleted file mode 100644 index 4b6274489d..0000000000 --- a/packages/backend/platform/README.md +++ /dev/null @@ -1,69 +0,0 @@ -# Native crypto for the iOS backend - -Node Mobile 18.20.4 on iOS runs V8 without JIT and exposes no WebAssembly. -The normal libsodium wrapper therefore uses interpreted JavaScript for its -elliptic-curve operations. Quiet's iOS backend already includes native OpenSSL; -this adapter uses that implementation without adding an addon or changing the -app's native frameworks. - -The backend webpack rule wraps the resolved `libsodium-wrappers-sumo` module. -On `process.platform === 'ios'`, its `ready` promise completes after the adapter -has installed and passed its capability/interoperability checks. Other platforms -keep the original implementation. This targets the backend only; it does not -change React Native or WebView crypto. - -Six operations are accelerated: - -- Ed25519 seed keypair generation, detached signing and signature verification; -- X25519 public-key derivation; -- `crypto_box_easy` and `crypto_box_open_easy`: native X25519, then sodium's own - HSalsa20 and XSalsa20-Poly1305 primitives, exactly as in sodium's box construction. - -Keysets, signatures, ciphertexts and nonces retain their current formats. There -is no protocol version, key migration or QSS dependency. Every message signature -is still verified. This adapter does not cache keys or weaken LFA's keyset, -manifest, membership or authorization checks. - -## Compatibility boundaries - -Node imports Ed25519/X25519 raw keys through their standard RFC 8410 DER wrappers. -Sodium's 64-byte Ed25519 secret key also contains its public key; signing checks -that half against the derived public key. Inconsistent keys use the original -sodium operation, preserving its behavior instead of silently repairing the key. - -OpenSSL alone is insufficient as a drop-in Ed25519 verifier: it can accept some -small-order encodings rejected by sodium. The adapter delegates small-order or -noncanonical public keys/signature points and noncanonical signature scalars to -sodium. Ordinary encodings use OpenSSL's verification equation. Public-encoding -checks follow [libsodium 1.0.19's verifier](https://github.com/jedisct1/libsodium/blob/1.0.19/src/libsodium/crypto_sign/ed25519/ref10/open.c) -and [small-order checks](https://github.com/jedisct1/libsodium/blob/1.0.19/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c). -They do not operate on secret scalars. X25519's low-order/zero shared-secret -rejection is retained and covered by the differential corpus. - -The adapter activates only for the reviewed sodium core version **1.0.19** -(currently `libsodium-wrappers-sumo` 0.7.13). If the version or required native -capabilities differ, initialization keeps sodium intact and emits one warning. -A sodium upgrade must repeat the differential and physical-device checks before -extending that version condition. Runtime decrypt/verify failures propagate; -there is no success-on-error fallback. Exceptional Ed25519 inputs still undergo -sodium verification and retain sodium's rejection policy. - -No input buffers are mutated or retained. Temporary DER secret-key buffers and -shared secrets are cleared after use; returned byte arrays are independent. -The original sodium output encodings and their errors are retained. - -## Validation - -After the normal repository bootstrap, run: - -```sh -npm run test:native-crypto --prefix packages/backend -``` - -The command is included in backend `pretest` and `pretest-ci`. Tests compare against -LFA's resolved sodium, including 151 Ed25519 and 518 X25519 Wycheproof cases, -tampered inputs, atomic initialization/fallback, and a real webpack build proving -activation before consumers await `ready`, on iOS only. - -The shared checks can also execute inside the physical iPhone's embedded Node. -Vector provenance and checksums are in [test-vectors/README.md](test-vectors/README.md). diff --git a/packages/backend/platform/sodium-loader.cjs b/packages/backend/platform/sodium-loader.cjs deleted file mode 100644 index 0c47701c9c..0000000000 --- a/packages/backend/platform/sodium-loader.cjs +++ /dev/null @@ -1,7 +0,0 @@ -'use strict' -// Keep resolving the original dependency from its importing package. Wrapping -// that resolved module avoids requiring a second/hoisted sodium installation. -module.exports = function (source) { - const adapter = require.resolve('./sodium-native.cjs') - return source + '\nmodule.exports = require(' + JSON.stringify(adapter) + ').enable(module.exports);\n' -} diff --git a/packages/backend/platform/sodium-native.checks.cjs b/packages/backend/platform/sodium-native.checks.cjs deleted file mode 100644 index 8ee1250931..0000000000 --- a/packages/backend/platform/sodium-native.checks.cjs +++ /dev/null @@ -1,296 +0,0 @@ -'use strict' -const assert = require('node:assert/strict') -const fs = require('node:fs') -const path = require('node:path') -const {install, enable} = require('./sodium-native.cjs') -const hex = value => Buffer.from(value, 'hex') -const invoke = fn => { try { return {value: fn()} } catch { return {error: true} } } -const vector = name => JSON.parse(fs.readFileSync(path.join(__dirname, 'test-vectors', name + '.json'))) - -// Shared by Node's test runner and the physical-iPhone harness. -exports.register = function register(test, loadSodium) { -let sodium, original, native -test.before(async () => { - sodium = await loadSodium() - await sodium.ready - original = {...sodium} - native = {...sodium} - install(native) -}) - -test('differential reference remains original sodium, not another native adapter', () => { - const crypto = require('node:crypto') - const createPrivateKey = crypto.createPrivateKey - let nativeCalls = 0 - crypto.createPrivateKey = function (...args) { - nativeCalls++ - return createPrivateKey.apply(this, args) - } - try { - const seed = new Uint8Array(32).fill(4) - original.crypto_scalarmult_base(seed) - original.crypto_sign_seed_keypair(seed) - assert.equal(nativeCalls, 0, 'reference must not use the native adapter') - native.crypto_scalarmult_base(seed) - native.crypto_sign_seed_keypair(seed) - assert.equal(nativeCalls, 2, 'adapter must use native crypto') - } finally { crypto.createPrivateKey = createPrivateKey } -}) - -test('Ed25519 and X25519 outputs interoperate, including offsets, mutation, and reused buffers', () => { - for (let i = 0; i < 32; i++) { - const backing = new Uint8Array(40).fill(i) - const seed = backing.subarray(4, 36) - const before = Uint8Array.from(backing) - for (const format of [undefined, 'uint8array', 'hex', 'base64']) { - assert.deepEqual(invoke(() => native.crypto_sign_seed_keypair(seed, format)), invoke(() => original.crypto_sign_seed_keypair(seed, format))) - assert.deepEqual(invoke(() => native.crypto_scalarmult_base(seed, format)), invoke(() => original.crypto_scalarmult_base(seed, format))) - } - const pair = native.crypto_sign_seed_keypair(seed) - const msg = Buffer.from('message: ' + i + ' 🌲') - const sig = native.crypto_sign_detached(msg, pair.privateKey) - assert.deepEqual(sig, original.crypto_sign_detached(msg, pair.privateKey)) - assert.equal(original.crypto_sign_verify_detached(sig, msg, pair.publicKey), true) - assert.equal(native.crypto_sign_verify_detached(sig, msg, pair.publicKey), true) - msg[0] ^= 1 - assert.equal(native.crypto_sign_verify_detached(sig, msg, pair.publicKey), false) - msg[0] ^= 1; sig[0] ^= 1 - assert.equal(native.crypto_sign_verify_detached(sig, msg, pair.publicKey), false) - sig[0] ^= 1; pair.publicKey[0] ^= 1 - assert.equal(native.crypto_sign_verify_detached(sig, msg, pair.publicKey), false) - assert.deepEqual(backing, before) - seed[0] ^= 1 - assert.deepEqual(native.crypto_sign_seed_keypair(seed), original.crypto_sign_seed_keypair(seed)) - assert.notDeepEqual(native.crypto_sign_seed_keypair(seed).publicKey, pair.publicKey) - } -}) - -test('malformed Ed25519 secret/public halves preserve sodium behavior instead of being repaired', () => { - const keys = native.crypto_sign_seed_keypair(new Uint8Array(32).fill(3)) - const message = Buffer.from('must remain invalid') - keys.privateKey[50] ^= 1 - const signature = native.crypto_sign_detached(message, keys.privateKey) - assert.deepEqual(signature, original.crypto_sign_detached(message, keys.privateKey)) - assert.equal(native.crypto_sign_verify_detached(signature, message, keys.publicKey), false) - const expected = original.crypto_sign_seed_keypair(keys.privateKey.subarray(0, 32)) - assert.notDeepEqual(expected.privateKey, keys.privateKey) -}) - -test('box ciphertext is byte-identical, bidirectional, and rejects changed ciphertext/nonces/keys', () => { - for (const length of [0, 1, 32, 4096]) { - const sender = original.crypto_box_keypair(), receiver = original.crypto_box_keypair() - const nonce = original.randombytes_buf(24), message = original.randombytes_buf(length) - const c = native.crypto_box_easy(message, nonce, receiver.publicKey, sender.privateKey) - assert.deepEqual(c, original.crypto_box_easy(message, nonce, receiver.publicKey, sender.privateKey)) - assert.deepEqual(native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey), message) - assert.deepEqual(original.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey), message) - c[0] ^= 1; assert.throws(() => native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey)) - c[0] ^= 1; nonce[0] ^= 1; assert.throws(() => native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey)) - nonce[0] ^= 1; sender.publicKey[0] ^= 1; assert.throws(() => native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey)) - sender.publicKey[0] ^= 1; receiver.privateKey[16] ^= 1; assert.throws(() => native.crypto_box_open_easy(c, nonce, sender.publicKey, receiver.privateKey)) - } -}) - -test('all 151 Wycheproof Ed25519 cases retain sodium acceptance and rejection', () => { - let count = 0 - for (const group of vector('ed25519').testGroups) for (const item of group.tests) { - const args = [hex(item.sig), hex(item.msg), hex(group.publicKey.pk)] - const reference = invoke(() => original.crypto_sign_verify_detached(...args)) - assert.deepEqual(invoke(() => native.crypto_sign_verify_detached(...args)), reference, `tcId ${item.tcId}: ${item.comment}`) - if (item.result === 'invalid') assert.notEqual(reference.value, true, `invalid tcId ${item.tcId}`) - if (item.result === 'valid') assert.equal(reference.value, true, `valid tcId ${item.tcId}`) - count++ - } - assert.equal(count, 151) -}) - -test('all 518 Wycheproof X25519 cases retain sodium box output or rejection', () => { - let count = 0 - for (const group of vector('x25519').testGroups) for (const item of group.tests) { - const args = [Buffer.from('cross-platform'), new Uint8Array(24), hex(item.public), hex(item.private)] - assert.deepEqual(invoke(() => native.crypto_box_easy(...args)), invoke(() => original.crypto_box_easy(...args)), `tcId ${item.tcId}: ${item.comment}`) - count++ - } - assert.equal(count, 518) -}) - -test('small-order and noncanonical signature encodings always defer to sodium', () => { - const key = native.crypto_sign_seed_keypair(new Uint8Array(32).fill(9)) - const message = new Uint8Array() - const small = ['00'.repeat(32), '01' + '00'.repeat(31), - '26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05', - 'c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a', - ...['ec','ed','ee'].map(b => b + 'ff'.repeat(30) + '7f')] - for (const value of small) for (const signBit of [0, 128]) { - const point = hex(value); point[31] ^= signBit - const sig = native.crypto_sign_detached(message, key.privateKey) - sig.set(point, 0) - assert.deepEqual(invoke(() => native.crypto_sign_verify_detached(sig, message, key.publicKey)), invoke(() => original.crypto_sign_verify_detached(sig, message, key.publicKey))) - assert.deepEqual(invoke(() => native.crypto_sign_verify_detached(sig, message, point)), invoke(() => original.crypto_sign_verify_detached(sig, message, point))) - } - // A=identity, R=identity, S=0 can pass a permissive verifier for any message. - const identity = new Uint8Array(32); identity[0] = 1 - const sig = new Uint8Array(64); sig[0] = 1 - assert.equal(native.crypto_sign_verify_detached(sig, message, identity), false) - for (const scalar of [ - 'edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010', - 'eed3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010', - 'ff'.repeat(32), - ]) { - const malformed = native.crypto_sign_detached(message, key.privateKey) - malformed.set(hex(scalar), 32) - assert.equal(original.crypto_sign_verify_detached(malformed, message, key.publicKey), false) - assert.equal(native.crypto_sign_verify_detached(malformed, message, key.publicKey), false) - } -}) - -test('invalid sizes, types and formats fail without accepting malformed inputs', () => { - const pair = native.crypto_sign_seed_keypair(new Uint8Array(32)) - const scalar = new Uint8Array(32), nonce = new Uint8Array(24), message = new Uint8Array(8) - const pub = native.crypto_scalarmult_base(scalar) - for (const invalid of [undefined, null, {}, [], new Uint16Array(32), new Uint8Array(31), new Uint8Array(33)]) { - for (const api of [original, native]) { - assert.throws(() => api.crypto_sign_seed_keypair(invalid)) - assert.throws(() => api.crypto_scalarmult_base(invalid)) - assert.throws(() => api.crypto_box_easy(message, nonce, invalid, scalar)) - } - } - for (const api of [original, native]) { - assert.throws(() => api.crypto_sign_detached(message, scalar)) - assert.throws(() => api.crypto_sign_verify_detached(new Uint8Array(63), message, pair.publicKey)) - assert.throws(() => api.crypto_box_open_easy(new Uint8Array(15), nonce, pub, scalar)) - assert.throws(() => api.crypto_box_easy(message, new Uint8Array(23), pub, scalar)) - assert.throws(() => api.crypto_sign_seed_keypair(scalar, 'unsupported')) - } -}) - -test('iOS activates after ready, other platforms preserve sodium, and unsupported capability falls back atomically', async () => { - for (const platform of ['linux', 'darwin', 'android', 'win32']) { - const copy = {...original} - const ready = copy.ready, fn = copy.crypto_sign_verify_detached - assert.equal(enable(copy, {platform}), copy) - assert.equal(copy.ready, ready); assert.equal(copy.crypto_sign_verify_detached, fn) - } - const copy = {...original}, fn = copy.crypto_sign_verify_detached - enable(copy, {platform: 'ios'}) - await copy.ready - assert.notEqual(copy.crypto_sign_verify_detached, fn) - const installedFunction = copy.crypto_sign_verify_detached - install(copy) - assert.equal(copy.crypto_sign_verify_detached, installedFunction) - for (const unsupported of [{...original, crypto_core_hsalsa20: undefined}, {...original, sodium_version_string: () => 'future-version'}]) { - const functions = {...unsupported}; const warnings = [] - enable(unsupported, {platform: 'ios', warn: warning => warnings.push(warning)}) - await unsupported.ready - assert.equal(warnings.length, 1) - for (const name of Object.keys(functions)) if (name !== 'ready') assert.equal(unsupported[name], functions[name]) - const keys = unsupported.crypto_sign_seed_keypair(new Uint8Array(32)) - const sig = unsupported.crypto_sign_detached('fallback', keys.privateKey) - assert.equal(unsupported.crypto_sign_verify_detached(sig, 'fallback', keys.publicKey), true) - } -}) - -test('unsupported export descriptors and Proxy traps never partially install native crypto', async () => { - const names = [ - 'crypto_sign_seed_keypair', 'crypto_scalarmult_base', 'crypto_sign_detached', - 'crypto_sign_verify_detached', 'crypto_box_easy', 'crypto_box_open_easy', - ] - for (const name of names) { - for (const kind of ['readonly', 'accessor']) { - const copy = {...original} - let setterCalls = 0 - Object.defineProperty(copy, name, kind === 'readonly' - ? {value: original[name], writable: false, configurable: false} - : {get: () => original[name], set: () => { setterCalls++; throw new Error('assignment rejected') }}) - const warnings = [] - enable(copy, {platform: 'ios', warn: warning => warnings.push(warning)}) - await copy.ready - assert.equal(warnings.length, 1) - assert.equal(setterCalls, 0) - for (const api of names) assert.equal(copy[api], original[api], `${kind} ${name} changed ${api}`) - } - } - const target = {...original} - let cryptoAssignments = 0 - const proxy = new Proxy(target, { - set(object, name, value) { - if (names.includes(name)) { - cryptoAssignments++ - if (name === names[1]) throw new Error('later assignment rejected') - } - return Reflect.set(object, name, value) - }, - }) - const warnings = [] - enable(proxy, {platform: 'ios', warn: warning => warnings.push(warning)}) - await proxy.ready - assert.equal(warnings.length, 1) - assert.equal(cryptoAssignments, 0) - for (const name of names) assert.equal(target[name], original[name]) - - // A sealed ordinary module remains safe: all six existing exports are writable. - const sealed = Object.seal({...original}) - enable(sealed, {platform: 'ios', warn: () => assert.fail('sealed writable exports should work')}) - await sealed.ready - for (const name of names) assert.notEqual(sealed[name], original[name]) -}) - -test('unsupported module namespaces and ready properties are left untouched before activation', async () => { - const namespace = await import('data:text/javascript,export const ready=Promise.resolve();export function crypto_sign_verify_detached(){return false}') - const throwingProxy = new Proxy({...original}, { - get() { assert.fail('activation must not invoke a Proxy getter') }, - set() { assert.fail('activation must not invoke a Proxy setter') }, - }) - const readonly = {...original} - Object.defineProperty(readonly, 'ready', {value: original.ready, writable: false}) - const accessor = {...original} - Object.defineProperty(accessor, 'ready', {get() { assert.fail('activation must not invoke ready getter') }}) - const thenable = {...original, ready: {then() { assert.fail('activation must not invoke a custom thenable') }}} - for (const unsupported of [namespace, throwingProxy, readonly, accessor, thenable]) { - const warnings = [] - assert.equal(enable(unsupported, {platform: 'ios', warn: warning => warnings.push(warning)}), unsupported) - assert.equal(warnings.length, 1) - } - await new Promise(resolve => setImmediate(resolve)) - for (const copy of [readonly, accessor, thenable]) { - for (const name of Object.keys(original)) { - if (typeof original[name] === 'function') assert.equal(copy[name], original[name]) - } - } - assert.equal(namespace.crypto_sign_verify_detached(), false) - assert.throws(() => install(namespace), /unsupported sodium export object/) -}) - -test('custom Promise species cannot run activation side effects', async () => { - const copy = {...original} - const warnings = [] - let speciesCalls = 0 - class ChangingPromise extends Promise { - static get [Symbol.species]() { - speciesCalls++ - Object.defineProperty(copy, 'ready', {value: copy.ready, writable: false}) - return Promise - } - } - const ready = new ChangingPromise(resolve => resolve()) - copy.ready = ready - assert.equal(enable(copy, {platform: 'ios', warn: warning => warnings.push(warning)}), copy) - assert.equal(speciesCalls, 0) - assert.equal(warnings.length, 1) - assert.equal(copy.ready, ready) - await new Promise(resolve => setImmediate(resolve)) - for (const name of Object.keys(original)) { - if (typeof original[name] === 'function') assert.equal(copy[name], original[name]) - } - const ownConstructor = {...original, ready: Promise.resolve()} - Object.defineProperty(ownConstructor.ready, 'constructor', {get() { assert.fail('activation must not read a custom Promise constructor') }}) - const ownWarnings = [] - assert.equal(enable(ownConstructor, {platform: 'ios', warn: warning => ownWarnings.push(warning)}), ownConstructor) - assert.equal(ownWarnings.length, 1) - await new Promise(resolve => setImmediate(resolve)) - for (const name of Object.keys(original)) { - if (typeof original[name] === 'function') assert.equal(ownConstructor[name], original[name]) - } -}) - -} diff --git a/packages/backend/platform/sodium-native.cjs b/packages/backend/platform/sodium-native.cjs deleted file mode 100644 index 4f5385ef87..0000000000 --- a/packages/backend/platform/sodium-native.cjs +++ /dev/null @@ -1,177 +0,0 @@ -'use strict' - -// iOS Node Mobile cannot JIT libsodium's JavaScript fallback. Keep sodium's -// wire formats and symmetric primitives; move the elliptic-curve operations to -// the OpenSSL implementation already shipped in Node. No new native addon. -const crypto = require('node:crypto') -const { Buffer } = require('node:buffer') -const { types } = require('node:util') -const ED_PRIVATE = Buffer.from('302e020100300506032b657004220420', 'hex') -const ED_PUBLIC = Buffer.from('302a300506032b6570032100', 'hex') -const X_PRIVATE = Buffer.from('302e020100300506032b656e04220420', 'hex') -const X_PUBLIC = Buffer.from('302a300506032b656e032100', 'hex') -const ZERO16 = new Uint8Array(16) -const SIGMA = Buffer.from('expand 32-byte k') -const PRIME = Buffer.from('edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f', 'hex') -const ORDER = Buffer.from('edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010', 'hex') -// The small-order encodings checked by libsodium's ge25519_has_small_order. -// The sign bit is ignored, as in libsodium. Noncanonical cases use sodium below. -const SMALL_ORDER = new Set([ - '00'.repeat(32), '01' + '00'.repeat(31), - '26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05', - 'c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a', - 'ec' + 'ff'.repeat(30) + '7f', -]) - -function bytes(value, size, name) { - const result = typeof value === 'string' ? Buffer.from(value, 'utf8') : value - if (!(result instanceof Uint8Array)) throw new TypeError(`${name} must be a Uint8Array or string`) - if (size !== undefined && result.length !== size) throw new TypeError(`invalid ${name} length`) - return result -} -function output(value, format, sodium) { - if (format === undefined || format === 'uint8array') return Uint8Array.from(value) - if (format === 'hex') return sodium.to_hex(value) - if (format === 'base64') return sodium.to_base64(value) - if (format === 'text') return sodium.to_string(value) - throw new Error('unsupported output format') -} -function privateKey(prefix, secret) { - const der = Buffer.concat([prefix, secret]) - try { return crypto.createPrivateKey({key: der, format: 'der', type: 'pkcs8'}) } - finally { der.fill(0) } -} -function publicKey(prefix, key) { - return crypto.createPublicKey({key: Buffer.concat([prefix, key]), format: 'der', type: 'spki'}) -} -function publicBytes(key) { return crypto.createPublicKey(key).export({format: 'der', type: 'spki'}).subarray(-32) } -function lessThanLE(value, bound) { - // Only public signature/key encodings reach this comparison. - for (let i = 31; i >= 0; i--) if (value[i] !== bound[i]) return value[i] < bound[i] - return false -} -function ordinaryPoint(value) { - const y = Buffer.from(value) - y[31] &= 0x7f - return lessThanLE(y, PRIME) && !SMALL_ORDER.has(y.toString('hex')) -} - -const installed = new WeakSet() -function supportedReceiver(sodium) { - return sodium !== null && typeof sodium === 'object' && - !types.isProxy(sodium) && !types.isModuleNamespaceObject(sodium) -} -function install(sodium) { - if (installed.has(sodium)) return - // Proxy traps and module namespaces do not have ordinary assignment semantics. - if (!supportedReceiver(sodium)) throw new Error('unsupported sodium export object') - // Verification policy is reviewed against this sodium implementation. A new - // version must pass differential/security review before enabling its adapter. - if (sodium.sodium_version_string() !== '1.0.19') throw new Error('unreviewed sodium version') - const original = Object.fromEntries(Object.keys(sodium).filter(k => typeof sodium[k] === 'function').map(k => [k, sodium[k]])) - const rawSignPair = seed => { - const pk = publicBytes(privateKey(ED_PRIVATE, seed)) - return {publicKey: pk, privateKey: Buffer.concat([seed, pk]), keyType: 'ed25519'} - } - const sharedKey = (pk, sk) => { - const shared = crypto.diffieHellman({privateKey: privateKey(X_PRIVATE, bytes(sk, 32, 'privateKey')), publicKey: publicKey(X_PUBLIC, bytes(pk, 32, 'publicKey'))}) - try { return original.crypto_core_hsalsa20(ZERO16, shared, SIGMA) } - finally { shared.fill(0) } - } - const overrides = { - crypto_sign_seed_keypair(seed, format) { - const pair = rawSignPair(bytes(seed, 32, 'seed')) - try { return {publicKey: output(pair.publicKey, format, sodium), privateKey: output(pair.privateKey, format, sodium), keyType: pair.keyType} } - finally { pair.privateKey.fill(0) } - }, - crypto_scalarmult_base(secret, format) { - return output(publicBytes(privateKey(X_PRIVATE, bytes(secret, 32, 'scalar'))), format, sodium) - }, - crypto_sign_detached(message, secret, format) { - const sk = bytes(secret, 64, 'privateKey') - const key = privateKey(ED_PRIVATE, sk.subarray(0, 32)) - // Sodium uses the public half of a 64-byte secret key while Node derives it. - // Preserve sodium semantics for malformed keys instead of silently repairing. - if (!crypto.timingSafeEqual(publicBytes(key), sk.subarray(32))) return original.crypto_sign_detached(message, secret, format) - return output(crypto.sign(null, bytes(message, undefined, 'message'), key), format, sodium) - }, - crypto_sign_verify_detached(signature, message, key) { - const sig = bytes(signature, 64, 'signature') - const pk = bytes(key, 32, 'publicKey') - const msg = bytes(message, undefined, 'message') - // OpenSSL accepts some small-order Ed25519 inputs rejected by sodium. - // Let sodium decide all exceptional encodings, retaining the exact policy. - if (!ordinaryPoint(pk) || !ordinaryPoint(sig.subarray(0, 32)) || !lessThanLE(sig.subarray(32), ORDER)) { - return original.crypto_sign_verify_detached(signature, message, key) - } - return crypto.verify(null, msg, publicKey(ED_PUBLIC, pk), sig) - }, - crypto_box_easy(message, nonce, pk, sk, format) { - const shared = sharedKey(pk, sk) - try { return original.crypto_secretbox_easy(message, nonce, shared, format) } - finally { shared.fill(0) } - }, - crypto_box_open_easy(cipher, nonce, pk, sk, format) { - const shared = sharedKey(pk, sk) - try { return original.crypto_secretbox_open_easy(cipher, nonce, shared, format) } - finally { shared.fill(0) } - }, - } - // Probe the actual runtime before installing anything. Unsupported runtimes - // keep the original sodium implementation atomically, never a partial adapter. - const seed = Buffer.alloc(32, 7) - const pair = overrides.crypto_sign_seed_keypair(seed) - const sodiumPair = original.crypto_sign_seed_keypair(seed) - if (!crypto.timingSafeEqual(pair.publicKey, sodiumPair.publicKey) || !crypto.timingSafeEqual(pair.privateKey, sodiumPair.privateKey)) throw new Error('Ed25519 native self-test failed') - const xp = overrides.crypto_scalarmult_base(seed) - if (!crypto.timingSafeEqual(xp, original.crypto_scalarmult_base(seed))) throw new Error('X25519 native self-test failed') - const message = Buffer.from('Quiet native crypto self-test') - const sig = overrides.crypto_sign_detached(message, pair.privateKey) - if (!original.crypto_sign_verify_detached(sig, message, pair.publicKey) || !overrides.crypto_sign_verify_detached(original.crypto_sign_detached(message, pair.privateKey), message, pair.publicKey)) throw new Error('native signature self-test failed') - const altered = Buffer.from(message); altered[0] ^= 1 - if (overrides.crypto_sign_verify_detached(sig, altered, pair.publicKey)) throw new Error('native signature tamper self-test failed') - const nonce = new Uint8Array(24) - const cipher = overrides.crypto_box_easy(message, nonce, xp, seed) - if (!crypto.timingSafeEqual(cipher, original.crypto_box_easy(message, nonce, xp, seed)) || !crypto.timingSafeEqual(overrides.crypto_box_open_easy(cipher, nonce, xp, seed), message)) throw new Error('native box self-test failed') - pair.privateKey.fill(0); sodiumPair.privateKey.fill(0); seed.fill(0) - // On a non-Proxy object, existing writable own data properties cannot invoke - // setters or reject assignment. Check every export immediately before mutation; - // there are no callbacks or awaits between this preflight and installation. - for (const name of Object.keys(overrides)) { - const descriptor = Object.getOwnPropertyDescriptor(sodium, name) - if (!descriptor || descriptor.writable !== true || typeof descriptor.value !== 'function') { - throw new Error(`unsupported sodium export: ${name}`) - } - } - Object.assign(sodium, overrides) - installed.add(sodium) -} - -function enable(sodium, {platform = process.platform, warn = console.warn} = {}) { - if (platform !== 'ios') return sodium - const fallback = () => warn('Quiet: native iOS crypto unavailable; using libsodium fallback') - // Reject unsupported receivers before touching ready: its get/set could throw, - // or scheduling installation before a rejected ready assignment could install - // asynchronously even after reporting fallback. - const ready = supportedReceiver(sodium) && Object.getOwnPropertyDescriptor(sodium, 'ready') - if (!ready || ready.writable !== true || !types.isPromise(ready.value) || - Object.getPrototypeOf(ready.value) !== Promise.prototype || Object.hasOwn(ready.value, 'constructor')) { - // The pinned wrapper uses an ordinary Promise. Custom constructors/species - // can run callbacks during then(), so retain sodium for those receivers. - fallback() - return sodium - } - let activated = false - try { - const nextReady = Promise.prototype.then.call(ready.value, () => { - // Only completed publication of the readiness promise arms installation. - if (!activated) return - try { install(sodium) } - catch { fallback() } - }) - sodium.ready = nextReady - activated = true - } catch { fallback() } - return sodium -} -module.exports = {enable, install} diff --git a/packages/backend/platform/sodium-native.test.cjs b/packages/backend/platform/sodium-native.test.cjs deleted file mode 100644 index 6b79e4499e..0000000000 --- a/packages/backend/platform/sodium-native.test.cjs +++ /dev/null @@ -1,8 +0,0 @@ -'use strict' -const test = require('node:test') -const path = require('node:path') -const {createRequire} = require('node:module') -require('./sodium-native.checks.cjs').register(test, async () => { - const fromLfa = createRequire(path.resolve(__dirname, '../../..', '3rd-party/auth/packages/crypto/package.json')) - return fromLfa('libsodium-wrappers-sumo') -}) diff --git a/packages/backend/platform/sodium-webpack.test.cjs b/packages/backend/platform/sodium-webpack.test.cjs deleted file mode 100644 index 553650df74..0000000000 --- a/packages/backend/platform/sodium-webpack.test.cjs +++ /dev/null @@ -1,48 +0,0 @@ -'use strict' -const test = require('node:test') -const assert = require('node:assert/strict') -const fs = require('node:fs') -const os = require('node:os') -const path = require('node:path') -const {createRequire} = require('node:module') -const {spawnSync} = require('node:child_process') - -test('production webpack rule initializes native sodium before consumers await ready, only on iOS', async () => { - const webpack = require('webpack') - const factory = (await import('../webpack.config.js')).default - const rule = factory({mode: 'development'}).module.rules.find(rule => String(rule.loader).endsWith('sodium-loader.cjs')) - assert.ok(rule, 'production build must include the sodium loader') - const requireLfa = createRequire(path.resolve(__dirname, '../../..', '3rd-party/auth/packages/crypto/package.json')) - const sodiumPath = requireLfa.resolve('libsodium-wrappers-sumo') - const directory = fs.mkdtempSync(path.join(os.tmpdir(), 'quiet-sodium-webpack-')) - try { - const entry = path.join(directory, 'entry.cjs') - fs.writeFileSync(entry, `module.exports = require(${JSON.stringify(sodiumPath)});`) - const config = {mode: 'development', target: 'node', entry, output: {path: directory, filename: 'bundle.cjs', library: {type: 'commonjs2'}}, module: {rules: [rule]}} - const stats = await new Promise((resolve, reject) => webpack(config, (error, stats) => error ? reject(error) : resolve(stats))) - assert.equal(stats.hasErrors(), false, stats.toString({all: false, errors: true})) - const bundle = path.join(directory, 'bundle.cjs') - const probe = ` - const assert = require('node:assert/strict'); - const crypto = require('node:crypto'); - const platform = process.argv[1]; - Object.defineProperty(process, 'platform', {value: platform}); - let calls = 0; const original = crypto.createPrivateKey; - crypto.createPrivateKey = function(...args) { calls++; return original.apply(this,args) }; - const sodium = require(${JSON.stringify(bundle)}); - sodium.ready.then(() => { - calls = 0; - const keys = sodium.crypto_sign_seed_keypair(new Uint8Array(32)); - const sig = sodium.crypto_sign_detached('bundled', keys.privateKey); - assert.equal(sodium.crypto_sign_verify_detached(sig, 'bundled', keys.publicKey), true); - assert.equal(calls > 0, platform === 'ios'); - console.log(JSON.stringify({platform,native: calls > 0})); - }).catch(error => { console.error(error); process.exitCode = 1 }); - ` - for (const platform of ['ios', 'android', 'darwin', 'linux', 'win32']) { - const result = spawnSync(process.execPath, ['-e', probe, platform], {encoding: 'utf8'}) - assert.equal(result.status, 0, result.stderr) - assert.deepEqual(JSON.parse(result.stdout), {platform, native: platform === 'ios'}) - } - } finally { fs.rmSync(directory, {recursive: true, force: true}) } -}) diff --git a/packages/backend/platform/test-vectors/LICENSE b/packages/backend/platform/test-vectors/LICENSE deleted file mode 100644 index 7a4a3ea242..0000000000 --- a/packages/backend/platform/test-vectors/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/packages/backend/platform/test-vectors/README.md b/packages/backend/platform/test-vectors/README.md deleted file mode 100644 index 1eaa1a4488..0000000000 --- a/packages/backend/platform/test-vectors/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Wycheproof interoperability vectors - -Copied without changes from [C2SP/Wycheproof](https://github.com/C2SP/wycheproof/tree/3fa63dd0344abb611f1fb1d77e119938603ea230/testvectors_v1), commit `3fa63dd0344abb611f1fb1d77e119938603ea230`. Distributed under Apache-2.0; see LICENSE. - -- ed25519.json: `752d2ea7d7c6cf4736381b6cbacb61f8182b126ab7cd9b058f00c50084975536` -- x25519.json: `35c3f5231cf25cc640b524d403461deee9e49441d5d915a3a25b2c8ff5adbe7d` - -Tests compare the adapter against the exact libsodium version resolved by LFA. Wycheproof's valid/invalid classifications are also checked where libsodium has a strict classification; acceptable curve encodings preserve libsodium's policy. These vectors are public test keys, never application data. diff --git a/packages/backend/platform/test-vectors/ed25519.json b/packages/backend/platform/test-vectors/ed25519.json deleted file mode 100644 index 42d44cd7ec..0000000000 --- a/packages/backend/platform/test-vectors/ed25519.json +++ /dev/null @@ -1,3360 +0,0 @@ -{ - "algorithm": "EDDSA", - "schema": "eddsa_verify_schema_v1.json", - "numberOfTests": 151, - "header": [ - "Test vectors of type EddsaVerify are intended for testing" - ], - "notes": { - "CompressedSignature": { - "bugType": "CAN_OF_WORMS", - "description": "The test vector contains a signature where r and s overlap or where 0 bytes were cut from the signature. This signature was specifically generated.", - "effect": "The effect of the bug is unclear without further analysis. It could be rather benign and just allow signature malleability in some cases or it could hide a more severe flaw." - }, - "InvalidEncoding": { - "bugType": "CAN_OF_WORMS", - "description": "The test vector contains a signature with an invalid encoding of the values. The vector checks that invalid encodings are not accepted. For the vectors that modify the encoding of R, S has been recomputed so that the hash matches the modified R and the R recovered from S and the hash equals the original R. Such vectors are accepted only by verifiers that decode R leniently or that compare R to the recovered R incompletely.", - "effect": "Accepting such signatures means the encoding of a signature is not unique. A holder of the private key can generate multiple distinct signatures for the same message, and different verifiers can disagree about which signatures are valid." - }, - "InvalidKtv": { - "bugType": "UNKNOWN", - "description": "The test vector contains a known invalid signature." - }, - "InvalidSignature": { - "bugType": "AUTH_BYPASS", - "description": "The test vector contains a signature with edge case values such as 0 or the order of the group.", - "effect": "The effect of accepting such signatures probably indicates that signatures can be forged without even knowing the message itself." - }, - "Ktv": { - "bugType": "BASIC", - "description": "The test vector contains a known valid signature." - }, - "SignatureMalleability": { - "bugType": "SIGNATURE_MALLEABILITY", - "description": "EdDSA signatures are non-malleable, if implemented correctly. If an implementation fails to check the range of S then it may be possible to modify a signature in such a way that it still verifies. See RFC 8032, Section 5.1.7 and Section 8.4." - }, - "SignatureWithGarbage": { - "bugType": "SIGNATURE_MALLEABILITY", - "description": "The test vector contains a signature with additional content. EdDSA signature are expected to be non-malleable. Signatures of the wrong length should be rejected. See RFC 8032, Section 5.1.7 and Section 8.4." - }, - "TinkOverflow": { - "bugType": "KNOWN_BUG", - "description": "The test vector contains a signature that caused an arithmetic overflow in tink." - }, - "TruncatedSignature": { - "bugType": "AUTH_BYPASS", - "description": "The test vector contains a signature that was truncated.", - "effect": "Accepting such signatures likely means that signatures can be forged." - }, - "Valid": { - "bugType": "BASIC", - "description": "The test vector is an ordinary valid signature." - } - }, - "testGroups": [ - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" - }, - "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" - }, - "tests": [ - { - "tcId": 1, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "", - "sig": "d4fbdb52bfa726b44d1786a8c0d171c3e62ca83c9e5bbe63de0bb2483f8fd6cc1429ab72cafc41ab56af02ff8fcc43b99bfe4c7ae940f60f38ebaa9d311c4007", - "result": "valid" - }, - { - "tcId": 2, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "78", - "sig": "d80737358ede548acb173ef7e0399f83392fe8125b2ce877de7975d8b726ef5b1e76632280ee38afad12125ea44b961bf92f1178c9fa819d020869975bcbe109", - "result": "valid" - }, - { - "tcId": 3, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d", - "result": "valid" - }, - { - "tcId": 4, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "48656c6c6f", - "sig": "1c1ad976cbaae3b31dee07971cf92c928ce2091a85f5899f5e11ecec90fc9f8e93df18c5037ec9b29c07195ad284e63d548cd0a6fe358cc775bd6c1608d2c905", - "result": "valid" - }, - { - "tcId": 5, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bf0cf5b3a289976458a1be6277a5055545253b45b07dcc1abd96c8b989c00f301", - "result": "valid" - }, - { - "tcId": 6, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "000000000000000000000000", - "sig": "d46543bfb892f84ec124dcdfc847034c19363bf3fc2fa89b1267833a14856e52e60736918783f950b6f1dd8d40dc343247cd43ce054c2d68ef974f7ed0f3c60f", - "result": "valid" - }, - { - "tcId": 7, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161", - "sig": "879350045543bc14ed2c08939b68c30d22251d83e018cacbaf0c9d7a48db577e80bdf76ce99e5926762bc13b7b3483260a5ef63d07e34b58eb9c14621ac92f00", - "result": "valid" - }, - { - "tcId": 8, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f60", - "sig": "7bdc3f9919a05f1d5db4a3ada896094f6871c1f37afc75db82ec3147d84d6f237b7e5ecc26b59cfea0c7eaf1052dc427b0f724615be9c3d3e01356c65b9b5109", - "result": "valid" - }, - { - "tcId": 9, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "ffffffffffffffffffffffffffffffff", - "sig": "5dbd7360e55aa38e855d6ad48c34bd35b7871628508906861a7c4776765ed7d1e13d910faabd689ec8618b78295c8ab8f0e19c8b4b43eb8685778499e943ae04", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" - }, - "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" - }, - "tests": [ - { - "tcId": 10, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "result": "invalid" - }, - { - "tcId": 11, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "00000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000", - "result": "invalid" - }, - { - "tcId": 12, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "0000000000000000000000000000000000000000000000000000000000000000ecd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", - "result": "invalid" - }, - { - "tcId": 13, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "0000000000000000000000000000000000000000000000000000000000000000edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", - "result": "invalid" - }, - { - "tcId": 14, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "0000000000000000000000000000000000000000000000000000000000000000edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "result": "invalid" - }, - { - "tcId": 15, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "result": "invalid" - }, - { - "tcId": 16, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "01000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000", - "result": "invalid" - }, - { - "tcId": 17, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "0100000000000000000000000000000000000000000000000000000000000000ecd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", - "result": "invalid" - }, - { - "tcId": 18, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "0100000000000000000000000000000000000000000000000000000000000000edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", - "result": "invalid" - }, - { - "tcId": 19, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "0100000000000000000000000000000000000000000000000000000000000000edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "result": "invalid" - }, - { - "tcId": 20, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edd3f55c1a631258d69cf7a2def9de14000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000", - "result": "invalid" - }, - { - "tcId": 21, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edd3f55c1a631258d69cf7a2def9de14000000000000000000000000000000100100000000000000000000000000000000000000000000000000000000000000", - "result": "invalid" - }, - { - "tcId": 22, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010ecd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", - "result": "invalid" - }, - { - "tcId": 23, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", - "result": "invalid" - }, - { - "tcId": 24, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "result": "invalid" - }, - { - "tcId": 25, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000", - "result": "invalid" - }, - { - "tcId": 26, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f0100000000000000000000000000000000000000000000000000000000000000", - "result": "invalid" - }, - { - "tcId": 27, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fecd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", - "result": "invalid" - }, - { - "tcId": 28, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fedd3f55c1a631258d69cf7a2def9de1400000000000000000000000000000010", - "result": "invalid" - }, - { - "tcId": 29, - "comment": "special values for r and s", - "flags": [ - "InvalidSignature" - ], - "msg": "3f", - "sig": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fedffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "result": "invalid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" - }, - "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" - }, - "tests": [ - { - "tcId": 30, - "comment": "empty signature", - "flags": [ - "TruncatedSignature" - ], - "msg": "54657374", - "sig": "", - "result": "invalid" - }, - { - "tcId": 31, - "comment": "s missing", - "flags": [ - "TruncatedSignature" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab0", - "result": "invalid" - }, - { - "tcId": 32, - "comment": "signature too short", - "flags": [ - "TruncatedSignature" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946", - "result": "invalid" - }, - { - "tcId": 33, - "comment": "signature too long", - "flags": [ - "SignatureWithGarbage" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d2020", - "result": "invalid" - }, - { - "tcId": 34, - "comment": "include pk in signature", - "flags": [ - "SignatureWithGarbage" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", - "result": "invalid" - }, - { - "tcId": 35, - "comment": "prepending 0 byte to signature", - "flags": [ - "SignatureWithGarbage" - ], - "msg": "54657374", - "sig": "007c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d", - "result": "invalid" - }, - { - "tcId": 36, - "comment": "prepending 0 byte to s", - "flags": [ - "SignatureWithGarbage" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab0007a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d", - "result": "invalid" - }, - { - "tcId": 37, - "comment": "appending 0 byte to signature", - "flags": [ - "SignatureWithGarbage" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b30d00", - "result": "invalid" - }, - { - "tcId": 38, - "comment": "removing 0 byte from signature", - "flags": [ - "CompressedSignature" - ], - "msg": "546573743137", - "sig": "93de3ca252426c95f735cb9edd92e83321ac62372d5aa5b379786bae111ab6b17251330e8f9a7c30d6993137c596007d7b001409287535ac4804e662bc58a3", - "result": "invalid" - }, - { - "tcId": 39, - "comment": "removing 0 byte from signature", - "flags": [ - "CompressedSignature" - ], - "msg": "54657374313236", - "sig": "dffed33a7f420b62bb1731cfd03be805affd18a281ec02b1067ba6e9d20826569e742347df59c88ae96db1f1969fb189b0ec34381d85633e1889da48d95e0e", - "result": "invalid" - }, - { - "tcId": 40, - "comment": "removing leading 0 byte from signature", - "flags": [ - "CompressedSignature" - ], - "msg": "546573743530", - "sig": "6e170c719577c25e0e1e8b8aa7a6346f8b109f37385cc2e85dc3b4c0f46a9c6bcafd67f52324c5dbaf40a1b673fb29c4a56052d2d6999d0838a8337bccb502", - "result": "invalid" - }, - { - "tcId": 41, - "comment": "dropping byte from signature", - "flags": [ - "CompressedSignature" - ], - "msg": "54657374333437", - "sig": "b0928b46e99fbbad3f5cb502d2cd309d94a7e86cfd4d84b1fcf4cea18075a9c36993c0582dba1e9e519fae5a8654f454201ae0c3cb397c37b8f4f8eef18400", - "result": "invalid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" - }, - "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" - }, - "tests": [ - { - "tcId": 42, - "comment": "modified bit 0 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "647c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b1d125e5538f38afbcc1c84e489521083041d24bc6240767029da063271a1ff0c", - "result": "invalid" - }, - { - "tcId": 43, - "comment": "modified bit 1 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "677c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bc108ca4b87a49c9ed2cf383aecad8f54a962b2899da891e12004d7993a627e01", - "result": "invalid" - }, - { - "tcId": 44, - "comment": "modified bit 2 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "617c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b9ce23fc6213ed5b87912e9bbf92f5e2c780eae26d15c50a112d1e97d2ea33c06", - "result": "invalid" - }, - { - "tcId": 45, - "comment": "modified bit 7 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "e57c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bbb3eb51cd98dddb235a5f46f2bded6af184a58d09cce928bda43f41d69118a03", - "result": "invalid" - }, - { - "tcId": 46, - "comment": "modified bit 8 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657d1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bcd237dda9a116501f67a5705a854b9adc304f34720803a91b324f2c13e0f5a09", - "result": "invalid" - }, - { - "tcId": 47, - "comment": "modified bit 16 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1592402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b6b167bbdc0d881cc04d28905552c1876f3709851abc5007376940cc8a435c300", - "result": "invalid" - }, - { - "tcId": 48, - "comment": "modified bit 31 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1412402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b7fd2ac7da14afffcceeb13f2a0d6b887941cb1a5eb57a52f3cb131a16cce7b0e", - "result": "invalid" - }, - { - "tcId": 49, - "comment": "modified bit 32 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492412ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2b7373ba13ebbef99cd2a8ead55ce735c987d85a35320925a8e871702dc7c5c40d", - "result": "invalid" - }, - { - "tcId": 50, - "comment": "modified bit 63 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab54e03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bd35bd331c03f0855504ca1cab87b83c36a028425a3cf007ede4f4254c261cb00", - "result": "invalid" - }, - { - "tcId": 51, - "comment": "modified bit 64 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce02e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2bcb35101f73cf467deac8c1a03b6c3dc35af544132734b7e57ab20c89b2e4750d", - "result": "invalid" - }, - { - "tcId": 52, - "comment": "modified bit 97 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce03e2c3a7f2384d051b9cf3570f1207fc78c1bcc98c281c2bb58d2e8878290bff8d3355fdd4ea381924ee578752354eb6dee678ab4011c301", - "result": "invalid" - }, - { - "tcId": 53, - "comment": "modified bit 127 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce03e2c3a7f0384d851b9cf3570f1207fc78c1bcc98c281c2bb978c866187ffb1cc7b29a0b4045aefc08768df65717194ff0c6e63f4dea0d02", - "result": "invalid" - }, - { - "tcId": 54, - "comment": "modified bit 240 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281d2b0576ecf8eaf675f00f3dfbe19f75b83b7607a6c96414f6821af920a2498d0305", - "result": "invalid" - }, - { - "tcId": 55, - "comment": "modified bit 247 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c289c2be5241a345c7b5428054c74b7c382fa10d4a5f1e8f8b79a71d3fdea2254f1ff0e", - "result": "invalid" - }, - { - "tcId": 56, - "comment": "modified bit 248 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c2a63950c85cd6dc96364e768de50ff7732b538f8a0b1615d799190ab600849230e", - "result": "invalid" - }, - { - "tcId": 57, - "comment": "modified bit 253 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c0b543bd3da0a56a8c9c152f59c9fec12f31fa66434d48b817b30d90cb4efa8b501", - "result": "invalid" - }, - { - "tcId": 58, - "comment": "modified bit 254 in R. Accepted only by verifiers that ignore this bit when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281c6b8da07efd07a6dafb015ed6a32fe136319a972ffbc341f3a0beae97ccf8136505", - "result": "invalid" - }, - { - "tcId": 59, - "comment": "modified bit 255 in R. This flips the sign of x and yields the canonical encoding of the negated R point. Accepted only by verifiers that ignore the sign of x when comparing R to the recovered R.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "657c1492402ab5ce03e2c3a7f0384d051b9cf3570f1207fc78c1bcc98c281cab227aedf259f910f0f3a759a335062665217925d019173b88917eae294f75d40f", - "result": "invalid" - }, - { - "tcId": 60, - "comment": "R==0", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "0000000000000000000000000000000000000000000000000000000000000000e0b8e7770d51c7a36375d006c5bffd6af43ff54aaf47e4330dc118c71d61ec02", - "result": "invalid" - }, - { - "tcId": 61, - "comment": "invalid R", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff463a1908382e7eb7693acef9884f7cf931a215e0791876be22c631a59881fd0e", - "result": "invalid" - }, - { - "tcId": 62, - "comment": "all bits flipped in R", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "9a83eb6dbfd54a31fc1d3c580fc7b2fae4630ca8f0edf803873e433673d7e3d40e94254586cb6188c5386c3febed477cb9a6cb29e3979adc4cb27cf5278fb70a", - "result": "invalid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "7d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa" - }, - "publicKeyDer": "302a300506032b65700321007d4d0e7f6153a69b6242b522abbee685fda4420f8834b108c3bdae369ef549fa", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAfU0Of2FTpptiQrUiq77mhf2kQg+INLEIw72uNp71Sfo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "fU0Of2FTpptiQrUiq77mhf2kQg-INLEIw72uNp71Sfo" - }, - "tests": [ - { - "tcId": 63, - "comment": "the encoded s was replaced by s + L. The scalar is unchanged mod L. Accepted only by verifiers that fail to enforce s < L. See RFC 8032, Section 5.1.7.", - "flags": [ - "SignatureMalleability" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab067654bce3832c2d76f8f6f5dafc08d9339d4eef676573336a5c51eb6f946b31d", - "result": "invalid" - }, - { - "tcId": 64, - "comment": "the encoded s was replaced by s + 2L. The scalar is unchanged mod L. Accepted only by verifiers that fail to enforce s < L. See RFC 8032, Section 5.1.7.", - "flags": [ - "SignatureMalleability" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab05439412b5395d42f462c67008eba6ca839d4eef676573336a5c51eb6f946b32d", - "result": "invalid" - }, - { - "tcId": 65, - "comment": "the encoded s was replaced by s + 4L. The scalar is unchanged mod L. Accepted only by verifiers that fail to enforce s < L. See RFC 8032, Section 5.1.7.", - "flags": [ - "SignatureMalleability" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab02ee12ce5875bf9dff26556464bae2ad239d4eef676573336a5c51eb6f946b34d", - "result": "invalid" - }, - { - "tcId": 66, - "comment": "the encoded s was replaced by s + 8L. The scalar is unchanged mod L. Accepted only by verifiers that fail to enforce s < L. See RFC 8032, Section 5.1.7.", - "flags": [ - "SignatureMalleability" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab0e2300459f1e742404cd934d2c595a6253ad4eef676573336a5c51eb6f946b38d", - "result": "invalid" - }, - { - "tcId": 67, - "comment": "the encoded s was replaced by s + 2^253. The scalar differs from the valid s mod L, so verification fails even without a range check on s. Accepted only by parsers that silently clear bit 253 of s.", - "flags": [ - "SignatureMalleability" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b32d", - "result": "invalid" - }, - { - "tcId": 68, - "comment": "the encoded s was replaced by s + 2^254. The scalar differs from the valid s mod L, so verification fails even without a range check on s. Accepted only by parsers that silently clear bit 254 of s.", - "flags": [ - "SignatureMalleability" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b34d", - "result": "invalid" - }, - { - "tcId": 69, - "comment": "the encoded s was replaced by s + 2^255. The scalar differs from the valid s mod L, so verification fails even without a range check on s. Accepted only by parsers that silently clear bit 255 of s.", - "flags": [ - "SignatureMalleability" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab07a9155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b38d", - "result": "invalid" - }, - { - "tcId": 70, - "comment": "the encoded s was replaced by s + p where p is the field prime 2^255 - 19. The scalar differs from the valid s mod L, so verification fails even without a range check on s. Accepted only by verifiers that reduce s mod p instead of checking s < L.", - "flags": [ - "SignatureMalleability" - ], - "msg": "54657374", - "sig": "7c38e026f29e14aabd059a0f2db8b0cd783040609a8be684db12f82a27774ab0679155711ecfaf7f99f277bad0c6ae7e39d4eef676573336a5c51eb6f946b38d", - "result": "invalid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "a12c2beb77265f2aac953b5009349d94155a03ada416aad451319480e983ca4c" - }, - "publicKeyDer": "302a300506032b6570032100a12c2beb77265f2aac953b5009349d94155a03ada416aad451319480e983ca4c", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAoSwr63cmXyqslTtQCTSdlBVaA62kFqrUUTGUgOmDykw=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "oSwr63cmXyqslTtQCTSdlBVaA62kFqrUUTGUgOmDykw" - }, - "tests": [ - { - "tcId": 71, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "", - "sig": "5056325d2ab440bf30bbf0f7173199aa8b4e6fbc091cf3eb6bc6cf87cd73d992ffc216c85e4ab5b8a0bbc7e9a6e9f8d33b7f6e5ac0ffdc22d9fcaf784af84302", - "result": "valid" - }, - { - "tcId": 72, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "78", - "sig": "481fafbf4364d7b682475282f517a3ac0538c9a6b6a562e99a3d8e5afb4f90a559b056b9f07af023905753b02d95eb329a35c77f154b79abbcd291615ce42f02", - "result": "valid" - }, - { - "tcId": 73, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "54657374", - "sig": "8a9bb4c465a3863abc9fd0dd35d80bb28f7d33d37d74679802d63f82b20da114b8d765a1206b3e9ad7cf2b2d8d778bb8651f1fa992db293c0039eacb6161480f", - "result": "valid" - }, - { - "tcId": 74, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "48656c6c6f", - "sig": "d839c20abfda1fd429531831c64f813f84b913e9928540310cf060b44c3dbf9457d44a7721fdc0d67724ff81cb450dd39b10cfb65db15dda4b8bf09d26bd3801", - "result": "valid" - }, - { - "tcId": 75, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "313233343030", - "sig": "9bbb1052dcfa8ad2715c2eb716ae4f1902dea353d42ee09fd4c0b4fcb8b52b5219e2200016e1199d0061891c263e31b0bc3b55673c19610c4e0fa5408004160b", - "result": "valid" - }, - { - "tcId": 76, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "000000000000000000000000", - "sig": "f63b5c0667c7897fc283296416f7f60e84bbde9cbd832e56be463ed9f568069702b17a2f7c341ebf590706a6388ac76ac613c1675ec0f2c7118f2573422a500b", - "result": "valid" - }, - { - "tcId": 77, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "6161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161", - "sig": "1bc44d7001e6b5b9090fef34b2ca480f9786bbefa7d279353e5881e8dfb91b803ccd46500e270ef0109bfd741037558832120bc2a4f20fbe7b5fb3c3aaf23e08", - "result": "valid" - }, - { - "tcId": 78, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f60", - "sig": "ea8e22143b02372e76e99aece3ed36aec529768a27e2bb49bdc135d44378061e1f62d1ac518f33ebf37b2ee8cc6dde68a4bd7d4a2f4d6cb77f015f71ca9fc30d", - "result": "valid" - }, - { - "tcId": 79, - "comment": "", - "flags": [ - "Valid" - ], - "msg": "ffffffffffffffffffffffffffffffff", - "sig": "8acd679e1a914fc45d5fa83d3021f0509c805c8d271df54e52f43cfbd00cb6222bf81d58fe1de2de378df67ee9f453786626961fe50a9b05f12b6f0899ebdd0a", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a" - }, - "publicKeyDer": "302a300506032b6570032100d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo" - }, - "tests": [ - { - "tcId": 80, - "comment": "draft-josefsson-eddsa-ed25519-02: Test 1", - "flags": [ - "Ktv" - ], - "msg": "", - "sig": "e5564300c360ac729086e2cc806e828a84877f1eb8e5d974d873e065224901555fb8821590a33bacc61e39701cf9b46bd25bf5f0595bbe24655141438e7a100b", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "3d4017c3e843895a92b70aa74d1b7ebc9c982ccf2ec4968cc0cd55f12af4660c" - }, - "publicKeyDer": "302a300506032b65700321003d4017c3e843895a92b70aa74d1b7ebc9c982ccf2ec4968cc0cd55f12af4660c", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAPUAXw+hDiVqStwqnTRt+vJyYLM8uxJaMwM1V8Sr0Zgw=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "PUAXw-hDiVqStwqnTRt-vJyYLM8uxJaMwM1V8Sr0Zgw" - }, - "tests": [ - { - "tcId": 81, - "comment": "draft-josefsson-eddsa-ed25519-02: Test 2", - "flags": [ - "Ktv" - ], - "msg": "72", - "sig": "92a009a9f0d4cab8720e820b5f642540a2b27b5416503f8fb3762223ebdb69da085ac1e43e15996e458f3613d0f11d8c387b2eaeb4302aeeb00d291612bb0c00", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025" - }, - "publicKeyDer": "302a300506032b6570032100fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA/FHNjmIYoaONpH7QAjDwWAgW7RO6MwOsXeuRFUiQgCU=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "_FHNjmIYoaONpH7QAjDwWAgW7RO6MwOsXeuRFUiQgCU" - }, - "tests": [ - { - "tcId": 82, - "comment": "draft-josefsson-eddsa-ed25519-02: Test 3", - "flags": [ - "Ktv" - ], - "msg": "af82", - "sig": "6291d657deec24024827e69c3abe01a30ce548a284743a445e3680d7db5ac3ac18ff9b538d16f290ae67f760984dc6594a7c15e9716ed28dc027beceea1ec40a", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "278117fc144c72340f67d0f2316e8386ceffbf2b2428c9c51fef7c597f1d426e" - }, - "publicKeyDer": "302a300506032b6570032100278117fc144c72340f67d0f2316e8386ceffbf2b2428c9c51fef7c597f1d426e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAJ4EX/BRMcjQPZ9DyMW6Dhs7/vyskKMnFH+98WX8dQm4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "J4EX_BRMcjQPZ9DyMW6Dhs7_vyskKMnFH-98WX8dQm4" - }, - "tests": [ - { - "tcId": 83, - "comment": "draft-josefsson-eddsa-ed25519-02: Test 1024", - "flags": [ - "Ktv" - ], - "msg": "08b8b2b733424243760fe426a4b54908632110a66c2f6591eabd3345e3e4eb98fa6e264bf09efe12ee50f8f54e9f77b1e355f6c50544e23fb1433ddf73be84d879de7c0046dc4996d9e773f4bc9efe5738829adb26c81b37c93a1b270b20329d658675fc6ea534e0810a4432826bf58c941efb65d57a338bbd2e26640f89ffbc1a858efcb8550ee3a5e1998bd177e93a7363c344fe6b199ee5d02e82d522c4feba15452f80288a821a579116ec6dad2b3b310da903401aa62100ab5d1a36553e06203b33890cc9b832f79ef80560ccb9a39ce767967ed628c6ad573cb116dbefefd75499da96bd68a8a97b928a8bbc103b6621fcde2beca1231d206be6cd9ec7aff6f6c94fcd7204ed3455c68c83f4a41da4af2b74ef5c53f1d8ac70bdcb7ed185ce81bd84359d44254d95629e9855a94a7c1958d1f8ada5d0532ed8a5aa3fb2d17ba70eb6248e594e1a2297acbbb39d502f1a8c6eb6f1ce22b3de1a1f40cc24554119a831a9aad6079cad88425de6bde1a9187ebb6092cf67bf2b13fd65f27088d78b7e883c8759d2c4f5c65adb7553878ad575f9fad878e80a0c9ba63bcbcc2732e69485bbc9c90bfbd62481d9089beccf80cfe2df16a2cf65bd92dd597b0707e0917af48bbb75fed413d238f5555a7a569d80c3414a8d0859dc65a46128bab27af87a71314f318c782b23ebfe808b82b0ce26401d2e22f04d83d1255dc51addd3b75a2b1ae0784504df543af8969be3ea7082ff7fc9888c144da2af58429ec96031dbcad3dad9af0dcbaaaf268cb8fcffead94f3c7ca495e056a9b47acdb751fb73e666c6c655ade8297297d07ad1ba5e43f1bca32301651339e22904cc8c42f58c30c04aafdb038dda0847dd988dcda6f3bfd15c4b4c4525004aa06eeff8ca61783aacec57fb3d1f92b0fe2fd1a85f6724517b65e614ad6808d6f6ee34dff7310fdc82aebfd904b01e1dc54b2927094b2db68d6f903b68401adebf5a7e08d78ff4ef5d63653a65040cf9bfd4aca7984a74d37145986780fc0b16ac451649de6188a7dbdf191f64b5fc5e2ab47b57f7f7276cd419c17a3ca8e1b939ae49e488acba6b965610b5480109c8b17b80e1b7b750dfc7598d5d5011fd2dcc5600a32ef5b52a1ecc820e308aa342721aac0943bf6686b64b2579376504ccc493d97e6aed3fb0f9cd71a43dd497f01f17c0e2cb3797aa2a2f256656168e6c496afc5fb93246f6b1116398a346f1a641f3b041e989f7914f90cc2c7fff357876e506b50d334ba77c225bc307ba537152f3f1610e4eafe595f6d9d90d11faa933a15ef1369546868a7f3a45a96768d40fd9d03412c091c6315cf4fde7cb68606937380db2eaaa707b4c4185c32eddcdd306705e4dc1ffc872eeee475a64dfac86aba41c0618983f8741c5ef68d3a101e8a3b8cac60c905c15fc910840b94c00a0b9d0", - "sig": "0aab4c900501b3e24d7cdf4663326a3a87df5e4843b2cbdb67cbf6e460fec350aa5371b1508f9f4528ecea23c436d94b5e8fcd4f681e30a6ac00a9704a188a03", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86" - }, - "publicKeyDer": "302a300506032b6570032100100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAEA/fR/uU8VNqT3w/2ic4P6Azdaj1J8U35vFwPEf5T4Y=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "EA_fR_uU8VNqT3w_2ic4P6Azdaj1J8U35vFwPEf5T4Y" - }, - "tests": [ - { - "tcId": 84, - "comment": "Signature with S just under the bound. [David Benjamin]", - "flags": [ - "Ktv" - ], - "msg": "124e583f8b8eca58bb29c271b41d36986bbc45541f8e51f9cb0133eca447601e", - "sig": "dac119d6ca87fc59ae611c157048f4d4fc932a149dbe20ec6effd1436abf83ea05c7df0fef06147241259113909bc71bd3c53ba4464ffcad3c0968f2ffffff0f", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86" - }, - "publicKeyDer": "302a300506032b6570032100100fdf47fb94f1536a4f7c3fda27383fa03375a8f527c537e6f1703c47f94f86", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAEA/fR/uU8VNqT3w/2ic4P6Azdaj1J8U35vFwPEf5T4Y=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "EA_fR_uU8VNqT3w_2ic4P6Azdaj1J8U35vFwPEf5T4Y" - }, - "tests": [ - { - "tcId": 85, - "comment": "Signature with S just above the bound. [David Benjamin]", - "flags": [ - "InvalidKtv" - ], - "msg": "6a0bc2b0057cedfc0fa2e3f7f7d39279b30f454a69dfd1117c758d86b19d85e0", - "sig": "0971f86d2c9c78582524a103cb9cf949522ae528f8054dc20107d999be673ff4e25ebf2f2928766b1248bec6e91697775f8446639ede46ad4df4053000000010", - "result": "invalid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "8fd659b77b558ed93882c1157438450ac86ec62d421d568e98ee236f3810295a" - }, - "publicKeyDer": "302a300506032b65700321008fd659b77b558ed93882c1157438450ac86ec62d421d568e98ee236f3810295a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAj9ZZt3tVjtk4gsEVdDhFCshuxi1CHVaOmO4jbzgQKVo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "j9ZZt3tVjtk4gsEVdDhFCshuxi1CHVaOmO4jbzgQKVo" - }, - "tests": [ - { - "tcId": 86, - "comment": "Random test failure 1", - "flags": [ - "Ktv" - ], - "msg": "b0729a713593a92e46b56eaa66b9e435f7a09a8e7de03b078f6f282285276635f301e7aaafe42187c45d6f5b13f9f16b11195cc125c05b90d24dfe4c", - "sig": "7db17557ac470c0eda4eedaabce99197ab62565653cf911f632ee8be0e5ffcfc88fb94276b42e0798fd3aa2f0318be7fc6a29fae75f70c3dcdc414a0ad866601", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "2a606bf67ac770c607038b004101b325edb569efd3413d2d1f2c3e6b4e6e3082" - }, - "publicKeyDer": "302a300506032b65700321002a606bf67ac770c607038b004101b325edb569efd3413d2d1f2c3e6b4e6e3082", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAKmBr9nrHcMYHA4sAQQGzJe21ae/TQT0tHyw+a05uMII=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "KmBr9nrHcMYHA4sAQQGzJe21ae_TQT0tHyw-a05uMII" - }, - "tests": [ - { - "tcId": 87, - "comment": "Random test failure 2", - "flags": [ - "Ktv" - ], - "msg": "a8546e50ba31cae3234310d32672447be213fad91a227a19669c53d309b959782b0e6b71f8791fdb470043b58122003157d2d96a43a6cbd7d3a8d86bf4c97391883e268d50af80e1e6e12939c2bd50ca746cdadfad4edf1bda875299740724148efb1ebe73fb60088cda890317658627a5f7ab5a0c075d9d8f3f97b6492b35519e50ff6b38377432a7081f9176bb1c29a862deac1336ca20b097a47829cec10a6a7cec178eda2d12f6dc6c87f910454af0123555ba184e68804d9cced60fd5c8c90943e56599c8f0ba59a38491ba5e5a53460682474c07e40ca142983314fd762856bb1093f359da6eb0a756bd93a3160c10dd8feea6b97e7c6a17cb54bd5d7649c05c66d7bdee056671dfdaf689fa3945bb8e29a429f4bd5d355dce9687b06f01d5e33e3999f0e8", - "sig": "67d84d4c3945aaf06e06d524be63acbfb5dbb1988c4aea96a5ee9f7a9b9eecc29df4f66b8aa1d9e8607a58fb1ef0c2ad69aac005b4f58e34103344a9c8871a09", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "c9c946cbc5544ac74eef491f07c5881c16faf7ec31ce4aa91bb60ae7b4539051" - }, - "publicKeyDer": "302a300506032b6570032100c9c946cbc5544ac74eef491f07c5881c16faf7ec31ce4aa91bb60ae7b4539051", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAyclGy8VUSsdO70kfB8WIHBb69+wxzkqpG7YK57RTkFE=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "yclGy8VUSsdO70kfB8WIHBb69-wxzkqpG7YK57RTkFE" - }, - "tests": [ - { - "tcId": 88, - "comment": "Random test failure 3", - "flags": [ - "Ktv" - ], - "msg": "cd2212eddb0706f62c995cef958634f0cb7793444cbf4d30e81c27c41ebea6cb02607510131f9c015692dfd521b148841e9a2d3564d20ac401f6cb8e40f520fe0cafbeaa88840b83013369d879f013463fe52a13267aa0c8c59c45cde9399cd1e6be8cc64cf48315ac2eb31a1c567a4fb7d601746d1f63b5ac020712adbbe07519bded6f", - "sig": "24087d47f3e20af51b9668ae0a88ce76586802d0ec75d8c0f28fc30962b5e1d1a1d509571a1624ed125a8df92a6e963728d6b5de99200b8e285f70feb6f05207", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" - }, - "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" - }, - "tests": [ - { - "tcId": 89, - "comment": "Random test failure 4", - "flags": [ - "Ktv" - ], - "msg": "ec5c7cb078", - "sig": "d920d421a5956b69bfe1ba834c025e2babb6c7a6d78c97de1d9bb1116dfdd1185147b2887e34e15578172e150774275ea2aad9e02106f7e8ca1caa669a066f0c", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" - }, - "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" - }, - "tests": [ - { - "tcId": 90, - "comment": "Random test failure 5", - "flags": [ - "Ktv" - ], - "msg": "4668c6a76f0e482190a7175b9f3806a5fe4314a004fa69f988373f7a", - "sig": "4f62daf7f7c162038552ad7d306e195baa37ecf6ca7604142679d7d1128e1f8af52e4cb3545748c44ef1ff1c64e877e4f4d248259b7f6eb56e3ef72097dc8e0c", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "c29ec1894e06d27b4e40486b4fa5063d66a746c7f9c323b12203c03b72b8b78a" - }, - "publicKeyDer": "302a300506032b6570032100c29ec1894e06d27b4e40486b4fa5063d66a746c7f9c323b12203c03b72b8b78a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAwp7BiU4G0ntOQEhrT6UGPWanRsf5wyOxIgPAO3K4t4o=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "wp7BiU4G0ntOQEhrT6UGPWanRsf5wyOxIgPAO3K4t4o" - }, - "tests": [ - { - "tcId": 91, - "comment": "Random test failure 6", - "flags": [ - "Ktv" - ], - "msg": "0f325ffd87e58131ffa23c05ea4579513b287fdba87b44", - "sig": "6669acf94667c5b541afe5307bde9476b13ae7e0e6058a772101ac8eb0a94331428eb4db0a2c68a9b6c1763b8624dab259b0876cdcfaeacc17b21a18e3fc010a", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" - }, - "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" - }, - "tests": [ - { - "tcId": 92, - "comment": "Random test failure 7", - "flags": [ - "Ktv" - ], - "msg": "ec5c7cb078", - "sig": "30490c28f806298225df62103521dcee047153912c33ab8ab8bbdd1ffabd70fd4fdb360f05be535b067d1cf4e78c2cb432206bf280aab3bd21aaa1cb894c5b06", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" - }, - "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" - }, - "tests": [ - { - "tcId": 93, - "comment": "Random test failure 8", - "flags": [ - "Ktv" - ], - "msg": "5dc9bb87eb11621a93f92abe53515697d2611b2eef73", - "sig": "deecafb6f2ede73fec91a6f10e45b9c1c61c4b9bfbe6b6147e2de0b1df6938971f7896c3ab83851fb5d9e537037bff0fca0ccb4a3cc38f056f91f7d7a0557e08", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" - }, - "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" - }, - "tests": [ - { - "tcId": 94, - "comment": "Random test failure 9", - "flags": [ - "Ktv" - ], - "msg": "67484059b2490b1a0a4f8dee77979e26", - "sig": "4cd4f77ed473a6647387f3163541c67a1708a3c3bd1673247cb87f0cb68b3c56f04bfa72970c8a483efe659c87009ab4020b590b6641316b3deddb5450544e02", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" - }, - "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" - }, - "tests": [ - { - "tcId": 95, - "comment": "Random test failure 10", - "flags": [ - "Ktv" - ], - "msg": "7dcfe60f881e1285676f35b68a1b2dbcdd7be6f719a288ababc28d36e3a42ac3010a1ca54b32760e74", - "sig": "7f8663cf98cbd39d5ff553f00bcf3d0d520605794f8866ce75714d77cc51e66c91818b657d7b0dae430a68353506edc4a714c345f5ddb5c8b958ba3d035f7a01", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" - }, - "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" - }, - "tests": [ - { - "tcId": 96, - "comment": "Random test failure 11", - "flags": [ - "Ktv" - ], - "msg": "a020a4381dc9141f47ee508871ab7a8b5a3648727c4281ae9932376f23a8e1bcda0626b7129197d864178631ec89c4332dbb18", - "sig": "1e41a24fe732bd7cab14c2a2f5134ee8c87fcbd2e987e60957ed9239e5c32404d56977e1b4282871896cb10625a1937468e4dc266e16a9c1b8e9891177eca802", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" - }, - "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" - }, - "tests": [ - { - "tcId": 97, - "comment": "Random test failure 12", - "flags": [ - "Ktv" - ], - "msg": "58e456064dff471109def4ca27fa8310a1df32739655b624f27e6418d34b7f007173f3faa5", - "sig": "6aab49e5c0bc309b783378ee03ffda282f0185cdf94c847701ff307a6ee8d0865411c44e0a8206f6a5f606107451940c2593af790ce1860f4c14ab25b2deae08", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "529919c9c780985a841c42ba6c180ff2d67a276ccfbe281080e47ab71a758f56" - }, - "publicKeyDer": "302a300506032b6570032100529919c9c780985a841c42ba6c180ff2d67a276ccfbe281080e47ab71a758f56", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAUpkZyceAmFqEHEK6bBgP8tZ6J2zPvigQgOR6txp1j1Y=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "UpkZyceAmFqEHEK6bBgP8tZ6J2zPvigQgOR6txp1j1Y" - }, - "tests": [ - { - "tcId": 98, - "comment": "Random test failure 13", - "flags": [ - "Ktv" - ], - "msg": "e1cbf2d86827825613fb7a85811d", - "sig": "01abfa4d6bbc726b196928ec84fd03f0c953a4fa2b228249562ff1442a4f63a7150b064f3712b51c2af768d2c2711a71aabf8d186833e941a0301b82f0502905", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" - }, - "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" - }, - "tests": [ - { - "tcId": 99, - "comment": "Random test failure 14", - "flags": [ - "Ktv" - ], - "msg": "a25176b3afea318b2ec11ddacb10caf7179c0b3f8eabbfa2895581138d3c1e0e", - "sig": "2a833aadecd9f28235cb5896bf3781521dc71f28af2e91dbe1735a61dce3e31ac15ca24b3fc47817a59d386bbbb2ce60a6adc0a2703bb2bdea8f70f91051f706", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" - }, - "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" - }, - "tests": [ - { - "tcId": 100, - "comment": "Random test failure 15", - "flags": [ - "Ktv" - ], - "msg": "a1", - "sig": "1a74ed2cbdc7d8f3827014e8e6ecf8fd2698ac8f86833acccdd400df710fe0d6b0543c9cfa00d52bf024ab7ce0d91981944097233ec134d5c7abbd44bfd32d0d", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "2252b3d57c74cbf8bc460dc2e082847926bc022f09ab6ae95756362bfd1167c1" - }, - "publicKeyDer": "302a300506032b65700321002252b3d57c74cbf8bc460dc2e082847926bc022f09ab6ae95756362bfd1167c1", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAIlKz1Xx0y/i8Rg3C4IKEeSa8Ai8Jq2rpV1Y2K/0RZ8E=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "IlKz1Xx0y_i8Rg3C4IKEeSa8Ai8Jq2rpV1Y2K_0RZ8E" - }, - "tests": [ - { - "tcId": 101, - "comment": "Random test failure 16", - "flags": [ - "Ktv" - ], - "msg": "975ef941710071a9e1e6325a0c860becd7c695b5117c3107b686e330e5", - "sig": "af0fd9dda7e03e12313410d8d8844ebb6fe6b7f65141f22d7bcba5695a25414a9e54326fb44d59fb14707899a8aae70857b23d4080d7ab2c396ef3a36d45ce02", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "c0a773110f975de3732355bb7ec7f0c41c091c0252966070205516693b992a4a" - }, - "publicKeyDer": "302a300506032b6570032100c0a773110f975de3732355bb7ec7f0c41c091c0252966070205516693b992a4a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAwKdzEQ+XXeNzI1W7fsfwxBwJHAJSlmBwIFUWaTuZKko=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "wKdzEQ-XXeNzI1W7fsfwxBwJHAJSlmBwIFUWaTuZKko" - }, - "tests": [ - { - "tcId": 102, - "comment": "Random test failure 17", - "flags": [ - "Ktv" - ], - "msg": "", - "sig": "0280427e713378f49d478df6373c6cac847b622b567daa2376c839e7ac10e22c380ab0fa8617c9dcfe76c4d9db5459b21dc1413726e46cc8f387d359e344f407", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10" - }, - "publicKeyDer": "302a300506032b6570032100cfda5b899e35764c5229e59295fe1222b7ddce176643697c29e46ecbba10cf10", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAz9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "z9pbiZ41dkxSKeWSlf4SIrfdzhdmQ2l8KeRuy7oQzxA" - }, - "tests": [ - { - "tcId": 103, - "comment": "Random test failure 18", - "flags": [ - "Ktv" - ], - "msg": "a9e6d94870a67a9fe1cf13b1e6f9150cdd407bf6480ec841ea586ae3935e9787163cf419c1", - "sig": "c97e3190f83bae7729ba473ad46b420b8aad735f0808ea42c0f898ccfe6addd4fd9d9fa3355d5e67ee21ab7e1f805cd07f1fce980e307f4d7ad36cc924eef00c", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" - }, - "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" - }, - "tests": [ - { - "tcId": 104, - "comment": "Random test failure 19", - "flags": [ - "Ktv" - ], - "msg": "11cb1eafa4c42a8402c4193c4696f7b2e6d4585e4b42dcf1a8b67a80b2da80bc9d4b649fb2f35eaf1f56c426fd0b", - "sig": "14ceb2eaf4688d995d482f44852d71ad878cd7c77b41e60b0065fd01a59b054ee74759224187dbde9e59a763a70277c960892ef89fba997aba2576b2c54ba608", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "c9c946cbc5544ac74eef491f07c5881c16faf7ec31ce4aa91bb60ae7b4539051" - }, - "publicKeyDer": "302a300506032b6570032100c9c946cbc5544ac74eef491f07c5881c16faf7ec31ce4aa91bb60ae7b4539051", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAyclGy8VUSsdO70kfB8WIHBb69+wxzkqpG7YK57RTkFE=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "yclGy8VUSsdO70kfB8WIHBb69-wxzkqpG7YK57RTkFE" - }, - "tests": [ - { - "tcId": 105, - "comment": "Random test failure 20", - "flags": [ - "Ktv" - ], - "msg": "27d465bc632743522aefa23c", - "sig": "c2656951e2a0285585a51ff0eda7e9a23c2dfd2ffa273aee7808f4604e8f9a8c8ea49e9fce4eb2d8d75d36b7238fe6fc13b6c5d9427dd58f8c6615d033c0bd0f", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "c29ec1894e06d27b4e40486b4fa5063d66a746c7f9c323b12203c03b72b8b78a" - }, - "publicKeyDer": "302a300506032b6570032100c29ec1894e06d27b4e40486b4fa5063d66a746c7f9c323b12203c03b72b8b78a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAwp7BiU4G0ntOQEhrT6UGPWanRsf5wyOxIgPAO3K4t4o=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "wp7BiU4G0ntOQEhrT6UGPWanRsf5wyOxIgPAO3K4t4o" - }, - "tests": [ - { - "tcId": 106, - "comment": "Random test failure 21", - "flags": [ - "Ktv" - ], - "msg": "5ffa", - "sig": "931e5152fcef078c22cc5d6a3a65f06e396289f6f5f2d1efa6340254a53526ef5dc6874eeddf35c3f50991c53cd02bf06313e37d93ee1f7022128ffa3b8f300b", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "529919c9c780985a841c42ba6c180ff2d67a276ccfbe281080e47ab71a758f56" - }, - "publicKeyDer": "302a300506032b6570032100529919c9c780985a841c42ba6c180ff2d67a276ccfbe281080e47ab71a758f56", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAUpkZyceAmFqEHEK6bBgP8tZ6J2zPvigQgOR6txp1j1Y=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "UpkZyceAmFqEHEK6bBgP8tZ6J2zPvigQgOR6txp1j1Y" - }, - "tests": [ - { - "tcId": 107, - "comment": "Random test failure 22", - "flags": [ - "Ktv" - ], - "msg": "25", - "sig": "e4ae21f7a8f4b3b325c161a8c6e53e2edd7005b9c2f8a2e3b0ac4ba94aa80be6f2ee22ac8d4a96b9a3eb73a825e7bb5aff4a3393bf5b4a38119e9c9b1b041106", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "2252b3d57c74cbf8bc460dc2e082847926bc022f09ab6ae95756362bfd1167c1" - }, - "publicKeyDer": "302a300506032b65700321002252b3d57c74cbf8bc460dc2e082847926bc022f09ab6ae95756362bfd1167c1", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAIlKz1Xx0y/i8Rg3C4IKEeSa8Ai8Jq2rpV1Y2K/0RZ8E=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "IlKz1Xx0y_i8Rg3C4IKEeSa8Ai8Jq2rpV1Y2K_0RZ8E" - }, - "tests": [ - { - "tcId": 108, - "comment": "Random test failure 23", - "flags": [ - "Ktv" - ], - "msg": "80fdd6218f29c8c8f6bd820945f9b0854e3a8824", - "sig": "e097e0bd0370bff5bde359175a11b728ee9639095d5df8eda496395565616edfe079977f7d4dc8c75d6113a83d6a55e6e1676408c0967a2906339b43337dcb01", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "2a606bf67ac770c607038b004101b325edb569efd3413d2d1f2c3e6b4e6e3082" - }, - "publicKeyDer": "302a300506032b65700321002a606bf67ac770c607038b004101b325edb569efd3413d2d1f2c3e6b4e6e3082", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAKmBr9nrHcMYHA4sAQQGzJe21ae/TQT0tHyw+a05uMII=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "KmBr9nrHcMYHA4sAQQGzJe21ae_TQT0tHyw-a05uMII" - }, - "tests": [ - { - "tcId": 109, - "comment": "Random test failure 24", - "flags": [ - "Ktv" - ], - "msg": "b477b0480bb84642608b908d29a51cf2fce63f24ee95", - "sig": "28fafbb62b4d688fa79e1ac92851f46e319b161f801d4dc09acc21fdd6780a2c4292b8c1003c61c2bcebe7f3f88ccc4bb26d407387c5f27cb8c94cf6ce810405", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" - }, - "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" - }, - "tests": [ - { - "tcId": 110, - "comment": "Random test failure 25", - "flags": [ - "Ktv" - ], - "msg": "aa365b442d12b7f3c925", - "sig": "83c40ce13d483cc58ff65844875862d93df4bd367af77efa469ec06a8ed9e6d7905a04879535708ddf225567a815c9b941d405c98e918fd0c151165cea7fb101", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "54cda623245759ad6d43e620a606908befc633d60792bc7798447a0ef38e7311" - }, - "publicKeyDer": "302a300506032b657003210054cda623245759ad6d43e620a606908befc633d60792bc7798447a0ef38e7311", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAVM2mIyRXWa1tQ+YgpgaQi+/GM9YHkrx3mER6DvOOcxE=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "VM2mIyRXWa1tQ-YgpgaQi-_GM9YHkrx3mER6DvOOcxE" - }, - "tests": [ - { - "tcId": 111, - "comment": "Random test failure 26", - "flags": [ - "Ktv" - ], - "msg": "27e792b28b2f1702", - "sig": "14d9b497c19b91d43481c55bb6f5056de252d9ecb637575c807e58e9b4c5eac8b284089d97e2192dc242014363208e2c9a3435edf8928fb1d893553e9be4c703", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "2362bac514d5fad33802642e979a1e82de6eb6f1bcbf6a5b304f2bb02b9e57fe" - }, - "publicKeyDer": "302a300506032b65700321002362bac514d5fad33802642e979a1e82de6eb6f1bcbf6a5b304f2bb02b9e57fe", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAI2K6xRTV+tM4AmQul5oegt5utvG8v2pbME8rsCueV/4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "I2K6xRTV-tM4AmQul5oegt5utvG8v2pbME8rsCueV_4" - }, - "tests": [ - { - "tcId": 112, - "comment": "Random test failure 27", - "flags": [ - "Ktv" - ], - "msg": "eef3bb0f617c17d0420c115c21c28e3762edc7b7fb048529b84a9c2bc6", - "sig": "242ddb3a5d938d07af690b1b0ef0fa75842c5f9549bf39c8750f75614c712e7cbaf2e37cc0799db38b858d41aec5b9dd2fca6a3c8e082c10408e2cf3932b9d08", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "32ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e" - }, - "publicKeyDer": "302a300506032b657003210032ad026f693d0d2afe7f4388d91c4c964426fcb9e3665c3ebd8650009b815c8e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAMq0Cb2k9DSr+f0OI2RxMlkQm/LnjZlw+vYZQAJuBXI4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Mq0Cb2k9DSr-f0OI2RxMlkQm_LnjZlw-vYZQAJuBXI4" - }, - "tests": [ - { - "tcId": 113, - "comment": "Random test failure 28", - "flags": [ - "Ktv" - ], - "msg": "475f", - "sig": "71a4a06a34075f2fd47bc3abf4714d46db7e97b08cb6180d3f1539ac50b18ce51f8af8ae95ed21d4fa0daab7235925631ecea1fd9d0d8a2ba7a7583fd04b900c", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "037b55b427dc8daa0f80fcebaf0846902309f8a6cf18b465c0ce9b6539629ac8" - }, - "publicKeyDer": "302a300506032b6570032100037b55b427dc8daa0f80fcebaf0846902309f8a6cf18b465c0ce9b6539629ac8", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAA3tVtCfcjaoPgPzrrwhGkCMJ+KbPGLRlwM6bZTlimsg=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "A3tVtCfcjaoPgPzrrwhGkCMJ-KbPGLRlwM6bZTlimsg" - }, - "tests": [ - { - "tcId": 114, - "comment": "Test case for overflow in signature generation", - "flags": [ - "Ktv" - ], - "msg": "01234567", - "sig": "c964e100033ce8888b23466677da4f4aea29923f642ae508f9d0888d788150636ab9b2c3765e91bbb05153801114d9e52dc700df377212222bb766be4b8c020d", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "9c0007698f177998a7666c7cf7973e2b88e9c4946e33804a7bbe8968d2394b2e" - }, - "publicKeyDer": "302a300506032b65700321009c0007698f177998a7666c7cf7973e2b88e9c4946e33804a7bbe8968d2394b2e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAnAAHaY8XeZinZmx895c+K4jpxJRuM4BKe76JaNI5Sy4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "nAAHaY8XeZinZmx895c-K4jpxJRuM4BKe76JaNI5Sy4" - }, - "tests": [ - { - "tcId": 115, - "comment": "Test case for overflow in signature generation", - "flags": [ - "Ktv" - ], - "msg": "9399a6db9433d2a28d2b0c11c8794ab7d108c95b", - "sig": "176065c6d64a136a2227687d77f61f3fca3b16122c966276fd9a8b14a1a2cea4c33b3533d11101717016684e3810efbea63bb23773f7cc480174199abd734f08", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "ed3a6f9721dc9729c1f76635bcf080d7036e1c2f0228654ccbbe1e738c17b963" - }, - "publicKeyDer": "302a300506032b6570032100ed3a6f9721dc9729c1f76635bcf080d7036e1c2f0228654ccbbe1e738c17b963", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA7TpvlyHclynB92Y1vPCA1wNuHC8CKGVMy74ec4wXuWM=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "7TpvlyHclynB92Y1vPCA1wNuHC8CKGVMy74ec4wXuWM" - }, - "tests": [ - { - "tcId": 116, - "comment": "Test case for overflow in signature generation", - "flags": [ - "Ktv" - ], - "msg": "7af783afbbd44c1833ab7237ecaf63b94ffdd003", - "sig": "7ca69331eec8610d38f00e2cdbd46966cb359dcde98a257ac6f362cc00c8f4fe85c02285fe4d66e31a44cadb2bf474e1a7957609eb4fe95a71473fe6699aa70d", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "4abfb535313705a6570018440cdec1a3ae33e51f352112fa6acbd0c6bc3ea859" - }, - "publicKeyDer": "302a300506032b65700321004abfb535313705a6570018440cdec1a3ae33e51f352112fa6acbd0c6bc3ea859", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEASr+1NTE3BaZXABhEDN7Bo64z5R81IRL6asvQxrw+qFk=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Sr-1NTE3BaZXABhEDN7Bo64z5R81IRL6asvQxrw-qFk" - }, - "tests": [ - { - "tcId": 117, - "comment": "Test case for overflow in signature generation", - "flags": [ - "Ktv" - ], - "msg": "321b5f663c19e30ee7bbb85e48ecf44db9d3f512", - "sig": "f296715e855d8aecccba782b670163dedc4458fe4eb509a856bcac450920fd2e95a3a3eb212d2d9ccaf948c39ae46a2548af125f8e2ad9b77bd18f92d59f9200", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "4f2162e6bf03a712db0efa418b7e7006e23871d9d7ec555a313885c4afd96385" - }, - "publicKeyDer": "302a300506032b65700321004f2162e6bf03a712db0efa418b7e7006e23871d9d7ec555a313885c4afd96385", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEATyFi5r8DpxLbDvpBi35wBuI4cdnX7FVaMTiFxK/ZY4U=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "TyFi5r8DpxLbDvpBi35wBuI4cdnX7FVaMTiFxK_ZY4U" - }, - "tests": [ - { - "tcId": 118, - "comment": "Test case for overflow in signature generation", - "flags": [ - "Ktv" - ], - "msg": "c48890e92aeeb3af04858a8dc1d34f16a4347b91", - "sig": "367d07253a9d5a77d054b9c1a82d3c0a448a51905343320b3559325ef41839608aa45564978da1b2968c556cfb23b0c98a9be83e594d5e769d69d1156e1b1506", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "4abfb535313705a6570018440cdec1a3ae33e51f352112fa6acbd0c6bc3ea859" - }, - "publicKeyDer": "302a300506032b65700321004abfb535313705a6570018440cdec1a3ae33e51f352112fa6acbd0c6bc3ea859", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEASr+1NTE3BaZXABhEDN7Bo64z5R81IRL6asvQxrw+qFk=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Sr-1NTE3BaZXABhEDN7Bo64z5R81IRL6asvQxrw-qFk" - }, - "tests": [ - { - "tcId": 119, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "321b5f663c19e30ee7bbb85e48ecf44db9d3f512", - "sig": "f296715e855d8aecccba782b670163dedc4458fe4eb509a856bcac450920fd2e95a3a3eb212d2d9ccaf948c39ae46a2548af125f8e2ad9b77bd18f92d59f9200", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "4f2162e6bf03a712db0efa418b7e7006e23871d9d7ec555a313885c4afd96385" - }, - "publicKeyDer": "302a300506032b65700321004f2162e6bf03a712db0efa418b7e7006e23871d9d7ec555a313885c4afd96385", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEATyFi5r8DpxLbDvpBi35wBuI4cdnX7FVaMTiFxK/ZY4U=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "TyFi5r8DpxLbDvpBi35wBuI4cdnX7FVaMTiFxK_ZY4U" - }, - "tests": [ - { - "tcId": 120, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "c48890e92aeeb3af04858a8dc1d34f16a4347b91", - "sig": "367d07253a9d5a77d054b9c1a82d3c0a448a51905343320b3559325ef41839608aa45564978da1b2968c556cfb23b0c98a9be83e594d5e769d69d1156e1b1506", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "0717d75ce27ea181ed5a30e6456c649b5cf453a6b4c12cd3f9fd16b31e0c25cd" - }, - "publicKeyDer": "302a300506032b65700321000717d75ce27ea181ed5a30e6456c649b5cf453a6b4c12cd3f9fd16b31e0c25cd", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEABxfXXOJ+oYHtWjDmRWxkm1z0U6a0wSzT+f0Wsx4MJc0=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "BxfXXOJ-oYHtWjDmRWxkm1z0U6a0wSzT-f0Wsx4MJc0" - }, - "tests": [ - { - "tcId": 121, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "26d5f0631f49106db58c4cfc903691134811b33c", - "sig": "9588e02bc815649d359ce710cdc69814556dd8c8bab1c468f40a49ebefb7f0de7ed49725edfd1b708fa1bad277c35d6c1b9c5ec25990997645780f9203d7dd08", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "db5b9eab7e84e5a13505865fa711c9c896c898609fc11fc9bc1e55028f9496df" - }, - "publicKeyDer": "302a300506032b6570032100db5b9eab7e84e5a13505865fa711c9c896c898609fc11fc9bc1e55028f9496df", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA21ueq36E5aE1BYZfpxHJyJbImGCfwR/JvB5VAo+Ult8=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "21ueq36E5aE1BYZfpxHJyJbImGCfwR_JvB5VAo-Ult8" - }, - "tests": [ - { - "tcId": 122, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "2a71f064af982a3a1103a75cef898732d7881981", - "sig": "2217a0be57dd0d6c0090641496bcb65e37213f02a0df50aff0368ee2808e1376504f37b37494132dfc4d4887f58b9e86eff924040db3925ee4f8e1428c4c500e", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "7bac18f6d2625d3915f233434cda38a577247a7332a5170b37142a34644145e0" - }, - "publicKeyDer": "302a300506032b65700321007bac18f6d2625d3915f233434cda38a577247a7332a5170b37142a34644145e0", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAe6wY9tJiXTkV8jNDTNo4pXckenMypRcLNxQqNGRBReA=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "e6wY9tJiXTkV8jNDTNo4pXckenMypRcLNxQqNGRBReA" - }, - "tests": [ - { - "tcId": 123, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "bf26796cef4ddafcf5033c8d105057db0210b6ad", - "sig": "1fda6dd4519fdbefb515bfa39e8e5911f4a0a8aa65f40ef0c542b8b34b87f9c249dc57f320718ff457ed5915c4d0fc352affc1287724d3f3a9de1ff777a02e01", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "7bac18f6d2625d3915f233434cda38a577247a7332a5170b37142a34644145e0" - }, - "publicKeyDer": "302a300506032b65700321007bac18f6d2625d3915f233434cda38a577247a7332a5170b37142a34644145e0", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAe6wY9tJiXTkV8jNDTNo4pXckenMypRcLNxQqNGRBReA=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "e6wY9tJiXTkV8jNDTNo4pXckenMypRcLNxQqNGRBReA" - }, - "tests": [ - { - "tcId": 124, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "bf26796cef4ddafcf5033c8d105057db0210b6ad", - "sig": "1fda6dd4519fdbefb515bfa39e8e5911f4a0a8aa65f40ef0c542b8b34b87f9c249dc57f320718ff457ed5915c4d0fc352affc1287724d3f3a9de1ff777a02e01", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "38ead304624abebf3e2b31e20e5629531e3fc659008887c9106f5e55adbbc62a" - }, - "publicKeyDer": "302a300506032b657003210038ead304624abebf3e2b31e20e5629531e3fc659008887c9106f5e55adbbc62a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAOOrTBGJKvr8+KzHiDlYpUx4/xlkAiIfJEG9eVa27xio=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "OOrTBGJKvr8-KzHiDlYpUx4_xlkAiIfJEG9eVa27xio" - }, - "tests": [ - { - "tcId": 125, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "ae03da6997e40cea67935020152d3a9a365cc055", - "sig": "068eafdc2f36b97f9bae7fbda88b530d16b0e35054d3a351e3a4c914b22854c711505e49682e1a447e10a69e3b04d0759c859897b64f71137acf355b63faf100", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "e9bc95049af7e4817b17c402269ba5e767b7348757ac8002fec9e08390c0a9cf" - }, - "publicKeyDer": "302a300506032b6570032100e9bc95049af7e4817b17c402269ba5e767b7348757ac8002fec9e08390c0a9cf", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA6byVBJr35IF7F8QCJpul52e3NIdXrIAC/sngg5DAqc8=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "6byVBJr35IF7F8QCJpul52e3NIdXrIAC_sngg5DAqc8" - }, - "tests": [ - { - "tcId": 126, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "489d473f7fb83c7f6823baf65482517bccd8f4ea", - "sig": "43670abc9f09a8a415e76f4a21c6a46156f066b5a37b3c1e867cf67248c7b927e8d13a763e37abf936f5f27f7a8aa290539d21f740efd26b65fd5ad27085f400", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "ee8155ca4e8fe7bc5bca5992044eab7f8c3c6a13db1176f42f46c29da5b064f4" - }, - "publicKeyDer": "302a300506032b6570032100ee8155ca4e8fe7bc5bca5992044eab7f8c3c6a13db1176f42f46c29da5b064f4", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA7oFVyk6P57xbylmSBE6rf4w8ahPbEXb0L0bCnaWwZPQ=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "7oFVyk6P57xbylmSBE6rf4w8ahPbEXb0L0bCnaWwZPQ" - }, - "tests": [ - { - "tcId": 127, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "1b704d6692d60a07ad1e1d047b65e105a80d3459", - "sig": "56388f2228893b14ce4f2a5e0cc626591061de3a57c50a5ecab7b9d5bb2caeea191560a1cf2344c75fdb4a085444aa68d727b39f498169eaa82cf64a31f59803", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "db507bfcc9576393f7157bb360532b05c5fcf2e764b690cc6698a4a30d349095" - }, - "publicKeyDer": "302a300506032b6570032100db507bfcc9576393f7157bb360532b05c5fcf2e764b690cc6698a4a30d349095", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA21B7/MlXY5P3FXuzYFMrBcX88udktpDMZpikow00kJU=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "21B7_MlXY5P3FXuzYFMrBcX88udktpDMZpikow00kJU" - }, - "tests": [ - { - "tcId": 128, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "dc87030862c4c32f56261e93a367caf458c6be27", - "sig": "553e5845fc480a577da6544e602caadaa00ae3e5aa3dce9ef332b1541b6d5f21bdf1d01e98baf80b8435f9932f89b3eb70f02da24787aac8e77279e797d0bd0b", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "994eaf03309d6ad9d95a656bc1744e2886f029023a3750b34f35086b3c7227f8" - }, - "publicKeyDer": "302a300506032b6570032100994eaf03309d6ad9d95a656bc1744e2886f029023a3750b34f35086b3c7227f8", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAmU6vAzCdatnZWmVrwXROKIbwKQI6N1CzTzUIazxyJ/g=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "mU6vAzCdatnZWmVrwXROKIbwKQI6N1CzTzUIazxyJ_g" - }, - "tests": [ - { - "tcId": 129, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "7f41ef68508343ef18813cb2fb332445ec6480cd", - "sig": "bc10f88081b7be1f2505b6e76c5c82e358cf21ec11b7df1f334fb587bada465b53d9f7b4d4fec964432ee91ead1bc32ed3c82f2167da1c834a37515df7fe130e", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "127d37e406e0d83e4b55a09e21e8f50fb88af47e4a43f018cdebffc1948757f0" - }, - "publicKeyDer": "302a300506032b6570032100127d37e406e0d83e4b55a09e21e8f50fb88af47e4a43f018cdebffc1948757f0", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAEn035Abg2D5LVaCeIej1D7iK9H5KQ/AYzev/wZSHV/A=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "En035Abg2D5LVaCeIej1D7iK9H5KQ_AYzev_wZSHV_A" - }, - "tests": [ - { - "tcId": 130, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "e1ce107971534bc46a42ac609a1a37b4ca65791d", - "sig": "00c11e76b5866b7c37528b0670188c1a0473fb93c33b72ae604a8865a7d6e094ff722e8ede3cb18389685ff3c4086c29006047466f81e71a329711e0b9294709", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "d83ba84edfb4bec49f29be31d80a64b7c0b5a502438cdb1d0dd1e0e3e55786de" - }, - "publicKeyDer": "302a300506032b6570032100d83ba84edfb4bec49f29be31d80a64b7c0b5a502438cdb1d0dd1e0e3e55786de", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA2DuoTt+0vsSfKb4x2Apkt8C1pQJDjNsdDdHg4+VXht4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "2DuoTt-0vsSfKb4x2Apkt8C1pQJDjNsdDdHg4-VXht4" - }, - "tests": [ - { - "tcId": 131, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "869a827397c585cf35acf88a8728833ab1c8c81e", - "sig": "0a6f0ac47ea136cb3ff00f7a96638e4984048999ee2da0af6e5c86bffb0e70bb97406b6ad5a4b764f7c99ebb6ec0fd434b8efe253b0423ef876c037998e8ab07", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "d3c9aa2f3d6ef217a166e8ae403ed436c37facbbe3beceb78df6eb439f8fa04a" - }, - "publicKeyDer": "302a300506032b6570032100d3c9aa2f3d6ef217a166e8ae403ed436c37facbbe3beceb78df6eb439f8fa04a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA08mqLz1u8hehZuiuQD7UNsN/rLvjvs63jfbrQ5+PoEo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "08mqLz1u8hehZuiuQD7UNsN_rLvjvs63jfbrQ5-PoEo" - }, - "tests": [ - { - "tcId": 132, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "619d8c4f2c93104be01cd574a385ceca08c33a9e", - "sig": "b7cbb942a6661e2312f79548224f3e44f5841c6e880c68340756a00ce94a914e8404858265985e6bb97ef01d2d7e5e41340309606bfc43c8c6a8f925126b3d09", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "d53280367c1c0b95ac4112218b92c6a71c51fb6312ce668de196c7d52a136155" - }, - "publicKeyDer": "302a300506032b6570032100d53280367c1c0b95ac4112218b92c6a71c51fb6312ce668de196c7d52a136155", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA1TKANnwcC5WsQRIhi5LGpxxR+2MSzmaN4ZbH1SoTYVU=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "1TKANnwcC5WsQRIhi5LGpxxR-2MSzmaN4ZbH1SoTYVU" - }, - "tests": [ - { - "tcId": 133, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "5257a0bae8326d259a6ce97420c65e6c2794afe2", - "sig": "27a4f24009e579173ff3064a6eff2a4d20224f8f85fdec982a9cf2e6a3b51537348a1d7851a3a932128a923a393ea84e6b35eb3473c32dceb9d7e9cab03a0f0d", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "94ac2336ba97a476fb4c9f2b5563e4167ca292c6e99e422350a911ae3172c315" - }, - "publicKeyDer": "302a300506032b657003210094ac2336ba97a476fb4c9f2b5563e4167ca292c6e99e422350a911ae3172c315", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAlKwjNrqXpHb7TJ8rVWPkFnyiksbpnkIjUKkRrjFywxU=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "lKwjNrqXpHb7TJ8rVWPkFnyiksbpnkIjUKkRrjFywxU" - }, - "tests": [ - { - "tcId": 134, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "5acb6afc9b368f7acac0e71f6a4831c72d628405", - "sig": "985b605fe3f449f68081197a68c714da0bfbf6ac2ab9abb0508b6384ea4999cb8d79af98e86f589409e8d2609a8f8bd7e80aaa8d92a84e7737fbe8dcef41920a", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "e1e7316d231f7f275bdf403360304da1509fdf1af1fd25ca214eaac0a289398f" - }, - "publicKeyDer": "302a300506032b6570032100e1e7316d231f7f275bdf403360304da1509fdf1af1fd25ca214eaac0a289398f", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA4ecxbSMffydb30AzYDBNoVCf3xrx/SXKIU6qwKKJOY8=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "4ecxbSMffydb30AzYDBNoVCf3xrx_SXKIU6qwKKJOY8" - }, - "tests": [ - { - "tcId": 135, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "3c87b3453277b353941591fc7eaa7dd37604b42a", - "sig": "1c8fbda3d39e2b441f06da6071c13115cb4115c7c3341704cf6513324d4cf1ef4a1dd7678a048b0dde84e48994d080befcd70854079d44b6a0b0f9fa002d130c", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "fffbeea71215efaf9888fec2cc68edb3703ff11a66fd629b53cbda5eabc18750" - }, - "publicKeyDer": "302a300506032b6570032100fffbeea71215efaf9888fec2cc68edb3703ff11a66fd629b53cbda5eabc18750", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA//vupxIV76+YiP7CzGjts3A/8Rpm/WKbU8vaXqvBh1A=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "__vupxIV76-YiP7CzGjts3A_8Rpm_WKbU8vaXqvBh1A" - }, - "tests": [ - { - "tcId": 136, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "0a68e27ef6847bfd9e398b328a0ded3679d4649d", - "sig": "59097233eb141ed948b4f3c28a9496b9a7eca77454ecfe7e46737d1449a0b76b15aacf77cf48af27a668aa4434cfa26c504d75a2bcc4feac46465446234c0508", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "19ccc0527599cb032e0b4c4d74e60f13901768a99df041c3bc1bf6c0ef271169" - }, - "publicKeyDer": "302a300506032b657003210019ccc0527599cb032e0b4c4d74e60f13901768a99df041c3bc1bf6c0ef271169", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAGczAUnWZywMuC0xNdOYPE5AXaKmd8EHDvBv2wO8nEWk=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "GczAUnWZywMuC0xNdOYPE5AXaKmd8EHDvBv2wO8nEWk" - }, - "tests": [ - { - "tcId": 137, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "4e9bef60737c7d4dd10bd52567e1473a36d3573d", - "sig": "519105608508fe2f1b6da4cc8b23e39798b1d18d25972beed0404cec722e01ba1b6a0f85e99e092cca8076b101b60d4ac5035684357f4d0daacdc642da742a06", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "0e726e27047563aa0a1a9c2e085d8d26af2acba129d0869c65031e3e6cac329a" - }, - "publicKeyDer": "302a300506032b65700321000e726e27047563aa0a1a9c2e085d8d26af2acba129d0869c65031e3e6cac329a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEADnJuJwR1Y6oKGpwuCF2NJq8qy6Ep0IacZQMePmysMpo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "DnJuJwR1Y6oKGpwuCF2NJq8qy6Ep0IacZQMePmysMpo" - }, - "tests": [ - { - "tcId": 138, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "cc82b3163efda3ba7e9240e765112caa69113694", - "sig": "d8b03ee579e73f16477527fc9dc37a72eaac0748a733772c483ba013944f01ef64fb4ec5e3a95021dc22f4ae282baff6e9b9cc8433c6b6710d82e7397d72ef04", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "e77717b54a2b5e5bce5bccb8f0c5fdb5fd7df77ac254020fc9120dc0d4df4178" - }, - "publicKeyDer": "302a300506032b6570032100e77717b54a2b5e5bce5bccb8f0c5fdb5fd7df77ac254020fc9120dc0d4df4178", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA53cXtUorXlvOW8y48MX9tf1993rCVAIPyRINwNTfQXg=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "53cXtUorXlvOW8y48MX9tf1993rCVAIPyRINwNTfQXg" - }, - "tests": [ - { - "tcId": 139, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "923a5c9e7b5635bb6c32c5a408a4a15b652450eb", - "sig": "26da61fdfd38e6d01792813f27840c8b4766b0faaed39d0ee898cb450d94a5d5f57e58b6a003d7f9b56b20561954c6edcf66492d116b8b5e91f205a3a6449d0b", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "6220972d3f7d150b36790d7d522384876d64d640cd9913186815e1629582ed36" - }, - "publicKeyDer": "302a300506032b65700321006220972d3f7d150b36790d7d522384876d64d640cd9913186815e1629582ed36", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAYiCXLT99FQs2eQ19UiOEh21k1kDNmRMYaBXhYpWC7TY=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "YiCXLT99FQs2eQ19UiOEh21k1kDNmRMYaBXhYpWC7TY" - }, - "tests": [ - { - "tcId": 140, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "6f2f0245de4587062979d0422d349f93ccdc3af2", - "sig": "4adeaff7a58c5010a5a067feea0ae504d37b0c6a76c6c153e222f13409dff2df0fab69bc5059b97d925dc1b89e9851d7c627cb82d65585f9fd976124553f8902", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "7b64a28c50ec7678a90e3e1a21522e30ac9db7b5215aea2bfb33bea037eab987" - }, - "publicKeyDer": "302a300506032b65700321007b64a28c50ec7678a90e3e1a21522e30ac9db7b5215aea2bfb33bea037eab987", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAe2SijFDsdnipDj4aIVIuMKydt7UhWuor+zO+oDfquYc=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "e2SijFDsdnipDj4aIVIuMKydt7UhWuor-zO-oDfquYc" - }, - "tests": [ - { - "tcId": 141, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "6e911edb27a170b983d4dee1110554f804330f41", - "sig": "4204d620cde0c3008c0b2901f5d6b44f88f0e3cb4f4d62252bf6f3cb37c1fb150a9ccb296afe5e7c75f65b5c8edd13dc4910ffe1e1265b3707c59042cf9a5902", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "724452210a9e4c994819229bf12bf84e95768a3a97c08d8d8f5f939a4cad34c5" - }, - "publicKeyDer": "302a300506032b6570032100724452210a9e4c994819229bf12bf84e95768a3a97c08d8d8f5f939a4cad34c5", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAckRSIQqeTJlIGSKb8Sv4TpV2ijqXwI2Nj1+TmkytNMU=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "ckRSIQqeTJlIGSKb8Sv4TpV2ijqXwI2Nj1-TmkytNMU" - }, - "tests": [ - { - "tcId": 142, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "b8cf807eea809aaf739aa091f3b7a3f2fd39fb51", - "sig": "f8a69d3fd8c2ff0a9dec41e4c6b43675ce08366a35e220b1185ffc246c339e22c20ac661e866f52054015efd04f42eca2adcee6834c4df923b4a62576e4dff0e", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "bad265b294ed2f422cb6a141694086238fbfe987571aa765d8b4f3a24105aa01" - }, - "publicKeyDer": "302a300506032b6570032100bad265b294ed2f422cb6a141694086238fbfe987571aa765d8b4f3a24105aa01", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAutJlspTtL0IstqFBaUCGI4+/6YdXGqdl2LTzokEFqgE=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "utJlspTtL0IstqFBaUCGI4-_6YdXGqdl2LTzokEFqgE" - }, - "tests": [ - { - "tcId": 143, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "01a2b5f7fee813b4e9bd7fc25137648004795010", - "sig": "61792c9442bc6338ac41fd42a40bee9b02ec1836503d60ff725128c63d72808880c36e6190b7da525cbee5d12900aa043547dd14a2709ef9e49d628f37f6b70c", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "0aaee4b723db9b51ba7d22eb23eb8a76a5ac02f4fc9dd06f77bea42e1d37ec5a" - }, - "publicKeyDer": "302a300506032b65700321000aaee4b723db9b51ba7d22eb23eb8a76a5ac02f4fc9dd06f77bea42e1d37ec5a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEACq7ktyPbm1G6fSLrI+uKdqWsAvT8ndBvd76kLh037Fo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "Cq7ktyPbm1G6fSLrI-uKdqWsAvT8ndBvd76kLh037Fo" - }, - "tests": [ - { - "tcId": 144, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "0fbf5d47cb5d498feace8f98f1896208da38a885", - "sig": "fa3cd41e3a8c00b19eecd404a63c3cb787cd30de0dfc936966cff2117f5aff18db6bef80fcfd8856f3fb2e9c3dc47593e9471103032af918feee638a33d40505", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "812344af15a91ba83c2c91e96f1727ac0f3c4c41385b9fa84efa399ada5168be" - }, - "publicKeyDer": "302a300506032b6570032100812344af15a91ba83c2c91e96f1727ac0f3c4c41385b9fa84efa399ada5168be", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAgSNErxWpG6g8LJHpbxcnrA88TEE4W5+oTvo5mtpRaL4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "gSNErxWpG6g8LJHpbxcnrA88TEE4W5-oTvo5mtpRaL4" - }, - "tests": [ - { - "tcId": 145, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "36e67c1939750bffb3e4ba6cb85562612275e862", - "sig": "97fbbcd7a1d0eb42d2f8c42448ef35a2c2472740556b645547865330d6c57068af377fced08aaf810c08cd3c43d296f1975710312e9334c98b485f831efa4103", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "0ee5cb5597fbdf8dccc48b01485e39b33aa133b52d30d23740277267cfec3e3e" - }, - "publicKeyDer": "302a300506032b65700321000ee5cb5597fbdf8dccc48b01485e39b33aa133b52d30d23740277267cfec3e3e", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEADuXLVZf7343MxIsBSF45szqhM7UtMNI3QCdyZ8/sPj4=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "DuXLVZf7343MxIsBSF45szqhM7UtMNI3QCdyZ8_sPj4" - }, - "tests": [ - { - "tcId": 146, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "13945c894c1d3fe8562e8b20e5f0efaa26ade8e3", - "sig": "d7dbaa337ffd2a5fd8d5fd8ad5aeccc0c0f83795c2c59fe62a40b87903b1ae62ed748a8df5af4d32f9f822a65d0e498b6f40eaf369a9342a1164ee7d08b58103", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "9fba1de92b60b5b4703089763d0d6f9125e4dd7efae41f08a22882aef96892c4" - }, - "publicKeyDer": "302a300506032b65700321009fba1de92b60b5b4703089763d0d6f9125e4dd7efae41f08a22882aef96892c4", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAn7od6StgtbRwMIl2PQ1vkSXk3X765B8IoiiCrvloksQ=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "n7od6StgtbRwMIl2PQ1vkSXk3X765B8IoiiCrvloksQ" - }, - "tests": [ - { - "tcId": 147, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "4de142af4b8402f80a47fa812df84f42e283cee7", - "sig": "09a2ed303a2fa7027a1dd7c3b0d25121eeed2b644a2fbc17aa0c8aea4524071ede7e7dd7a536d5497f8165d29e4e1b63200f74bbae39fbbbccb29889c62c1f09", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "7582ab1b52e1316e5c13671f43b39ca36b28133cd0832831bcddd0b0f23398cb" - }, - "publicKeyDer": "302a300506032b65700321007582ab1b52e1316e5c13671f43b39ca36b28133cd0832831bcddd0b0f23398cb", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAdYKrG1LhMW5cE2cfQ7Oco2soEzzQgygxvN3QsPIzmMs=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "dYKrG1LhMW5cE2cfQ7Oco2soEzzQgygxvN3QsPIzmMs" - }, - "tests": [ - { - "tcId": 148, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "563357f41b8b23b1d83f19f5667177a67da20b18", - "sig": "e6884a6e6b2e60a0b5862251c001e7c79d581d777d6fc11d218d0aecd79f26a30e2ca22cc7c4674f8b72655bc4ee5cb5494ca07c05177656142ac55cc9d33e02", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "dd2d678bae222f3fb6e8278f08cc9e1a66339c926c29ac0a16f9717f5ee18cd8" - }, - "publicKeyDer": "302a300506032b6570032100dd2d678bae222f3fb6e8278f08cc9e1a66339c926c29ac0a16f9717f5ee18cd8", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA3S1ni64iLz+26CePCMyeGmYznJJsKawKFvlxf17hjNg=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "3S1ni64iLz-26CePCMyeGmYznJJsKawKFvlxf17hjNg" - }, - "tests": [ - { - "tcId": 149, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "931bbf9c877a6571cf7d4609fc3eb867edd43f51", - "sig": "6124c206d864507ea5d984b363b4cf583314db6856a45ded5e61eebff4d5e337e0b4c82b445ae2e52d549d2d961eace2ea01f81158e09a9686baa040db65ad08", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "ccbe7cb2e4bc215cee2f885e1d22f7e0d582b2bbbd782c104e548b152d26fc69" - }, - "publicKeyDer": "302a300506032b6570032100ccbe7cb2e4bc215cee2f885e1d22f7e0d582b2bbbd782c104e548b152d26fc69", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAzL58suS8IVzuL4heHSL34NWCsru9eCwQTlSLFS0m/Gk=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "zL58suS8IVzuL4heHSL34NWCsru9eCwQTlSLFS0m_Gk" - }, - "tests": [ - { - "tcId": 150, - "comment": "regression test for arithmetic error", - "flags": [ - "TinkOverflow" - ], - "msg": "44530b0b34f598767a7b875b0caee3c7b9c502d1", - "sig": "cfbd450a2c83cb8436c348822fe3ee347d4ee937b7f2ea11ed755cc52852407c9eec2c1fa30d2f9aef90e89b2cc3bcef2b1b9ca59f712110d19894a9cf6a2802", - "result": "valid" - } - ] - }, - { - "type": "EddsaVerify", - "source": { - "name": "github/cpu/eddsazerosigngen", - "version": "1.0" - }, - "publicKey": { - "type": "EDDSAPublicKey", - "curve": "edwards25519", - "keySize": 255, - "pk": "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a" - }, - "publicKeyDer": "302a300506032b6570032100d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a", - "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo=\n-----END PUBLIC KEY-----\n", - "publicKeyJwk": { - "kty": "OKP", - "crv": "Ed25519", - "kid": "none", - "x": "11qYAYKxCrfVS_7TyWQHOg7hcvPapiMlrwIaaPcHURo" - }, - "tests": [ - { - "tcId": 151, - "comment": "R encodes y = 1 with the sign bit of x set. The only point with y = 1 has x = 0, so decoding must fail (RFC 8032, Section 5.1.3). Accepted only by verifiers that ignore the sign of x.", - "flags": [ - "InvalidEncoding" - ], - "msg": "313233343030", - "sig": "0100000000000000000000000000000000000000000000000000000000000080c803ee1f2342aa96ff698a393d1ab5e66f3eda101d6d120b394c3fd32c117d0a", - "result": "invalid" - } - ] - } - ] -} diff --git a/packages/backend/platform/test-vectors/x25519.json b/packages/backend/platform/test-vectors/x25519.json deleted file mode 100644 index 1ffa8e68f2..0000000000 --- a/packages/backend/platform/test-vectors/x25519.json +++ /dev/null @@ -1,6056 +0,0 @@ -{ - "algorithm": "XDH", - "schema": "xdh_comp_schema_v1.json", - "numberOfTests": 518, - "header": [ - "Test vectors of type XdhComp are intended for tests that verify the", - "computation of an Xdh key exchange." - ], - "notes": { - "EdgeCaseMultiplication": { - "bugType": "CONFIDENTIALITY", - "description": "The public key in this test vector has been constructed, so that an edge case during the multiplication with a small k occurs. I.e., these are cases where during the multiplication one of the internal variables has a values such as -1, 0 or 1. This checks for errors in the integer arithmetic.", - "effect": "The effect of arithmetic errors in the multiplication is that information about the private key is leaked. In the worst case such an error could be exploited to find the private key." - }, - "EdgeCasePrivateKey": { - "bugType": "EDGE_CASE", - "description": "The private key in this test vector contains a special case value. The goal of the test vector is to check for edge case behaviour." - }, - "EdgeCaseShared": { - "bugType": "EDGE_CASE", - "description": "The values in this test case have been constructed such that the shared secret is an edge case. The goal is to detect errors in the integer arithmetic." - }, - "Ktv": { - "bugType": "BASIC", - "description": "Known test vector from RFC. We assume that these test cases have been checked before. Hence, if such a test vector fails then we may reasonably assume that there is an error in the setup." - }, - "LowOrderPublic": { - "bugType": "DEFINED", - "description": "The curves and its twists contain some points of low order. This test vector contains a public key with such a point. While many libraries reject such public keys, doing so is not a strict requirement according to RFC 7748." - }, - "NonCanonicalPublic": { - "bugType": "DEFINED", - "description": "The public key is in non-canonical form. RFC 7748, section 5 defines the value that this public key represents. Section 7 of the same RFC recommends accepting such keys. If a non-canonical key is accepted then it must follow the RFC." - }, - "Normal": { - "bugType": "BASIC", - "description": "The test vector contains a pseudorandomly generated, valid test case. Implementations are expected to pass this test." - }, - "SmallPublicKey": { - "bugType": "DEFINED", - "description": "The public key is insecure and does not belong to a valid private key. Some libraries reject such keys." - }, - "SpecialPublicKey": { - "bugType": "EDGE_CASE", - "description": "The test vector contains a public key that has a special form. The goal of the test vector is to check for errors in the implementation of the integer arithmetic." - }, - "Twist": { - "bugType": "DEFINED", - "description": "Public keys are either points on a given curve or points on its twist. The functions X25519 and X448 are defined for points on a twist with the goal that the output of computations do not leak private keys. Implementations may accept or reject points on a twist. If a point multiplication is performed then it is important that the result is correct, since otherwise attacks with invalid keys are possible." - }, - "ZeroSharedSecret": { - "bugType": "DEFINED", - "description": "Some libraries include a check that the shared secret is not all-zero. This check is described in Section 6.1 of RFC 7748." - } - }, - "testGroups": [ - { - "type": "XdhComp", - "source": { - "name": "google-wycheproof", - "version": "0.9rc5" - }, - "curve": "curve25519", - "tests": [ - { - "tcId": 1, - "comment": "normal case", - "flags": [ - "Normal" - ], - "public": "504a36999f489cd2fdbc08baff3d88fa00569ba986cba22548ffde80f9806829", - "private": "c8a9d5a91091ad851c668b0736c1c9a02936c0d3ad62670858088047ba057475", - "shared": "436a2c040cf45fea9b29a0cb81b1f41458f863d0d61b453d0a982720d6d61320", - "result": "valid" - }, - { - "tcId": 2, - "comment": "public key on twist", - "flags": [ - "Twist" - ], - "public": "63aa40c6e38346c5caf23a6df0a5e6c80889a08647e551b3563449befcfc9733", - "private": "d85d8c061a50804ac488ad774ac716c3f5ba714b2712e048491379a500211958", - "shared": "279df67a7c4611db4708a0e8282b195e5ac0ed6f4b2f292c6fbd0acac30d1332", - "result": "acceptable" - }, - { - "tcId": 3, - "comment": "public key on twist", - "flags": [ - "Twist" - ], - "public": "0f83c36fded9d32fadf4efa3ae93a90bb5cfa66893bc412c43fa7287dbb99779", - "private": "c8b45bfd32e55325d9fd648cb302848039000b390e44d521e58aab3b29a6964b", - "shared": "4bc7e01e7d83d6cf67632bf90033487a5fc29eba5328890ea7b1026d23b9a45f", - "result": "acceptable" - }, - { - "tcId": 4, - "comment": "public key on twist", - "flags": [ - "Twist" - ], - "public": "0b8211a2b6049097f6871c6c052d3c5fc1ba17da9e32ae458403b05bb283092a", - "private": "f876e34bcbe1f47fbc0fddfd7c1e1aa53d57bfe0f66d243067b424bb6210be51", - "shared": "119d37ed4b109cbd6418b1f28dea83c836c844715cdf98a3a8c362191debd514", - "result": "acceptable" - }, - { - "tcId": 5, - "comment": "public key on twist", - "flags": [ - "Twist" - ], - "public": "343ac20a3b9c6a27b1008176509ad30735856ec1c8d8fcae13912d08d152f46c", - "private": "006ac1f3a653a4cdb1d37bba94738f8b957a57beb24d646e994dc29a276aad45", - "shared": "cc4873aed3fcee4b3aaea7f0d20716b4276359081f634b7bea4b705bfc8a4d3e", - "result": "acceptable" - }, - { - "tcId": 6, - "comment": "public key on twist", - "flags": [ - "Twist" - ], - "public": "fa695fc7be8d1be5bf704898f388c452bafdd3b8eae805f8681a8d15c2d4e142", - "private": "08da77b26d06dff9d9f7fd4c5b3769f8cdd5b30516a5ab806be324ff3eb69e60", - "shared": "b6f8e2fcb1affc79e2ff798319b2701139b95ad6dd07f05cbac78bd83edfd92e", - "result": "acceptable" - }, - { - "tcId": 7, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "0200000000000000000000000000000000000000000000000000000000000000", - "private": "d03edde9f3e7b799045f9ac3793d4a9277dadeadc41bec0290f81f744f73775f", - "shared": "b87a1722cc6c1e2feecb54e97abd5a22acc27616f78f6e315fd2b73d9f221e57", - "result": "acceptable" - }, - { - "tcId": 8, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "0300000000000000000000000000000000000000000000000000000000000000", - "private": "e09d57a914e3c29036fd9a442ba526b5cdcdf28216153e636c10677acab6bd6a", - "shared": "a29d8dad28d590cd3017aa97a4761f851bf1d3672b042a4256a45881e2ad9035", - "result": "acceptable" - }, - { - "tcId": 9, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ff00000000000000000000000000000000000000000000000000000000000000", - "private": "e0ed78e6ee02f08bec1c15d66fbbe5b83ffc37ea14e1512cc1bd4b2ea6d8066f", - "shared": "e703bc8aa94b7d87ba34e2678353d12cdaaa1a97b5ca3e1b8c060c4636087f07", - "result": "acceptable" - }, - { - "tcId": 10, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ffff000000000000000000000000000000000000000000000000000000000000", - "private": "a8a1a2ec9fa9915ae7aace6a37c68591d39e15995c4ef5ebd3561c02f72dda41", - "shared": "ff5cf041e924dbe1a64ac9bdba96bdcdfaf7d59d91c7e33e76ed0e4c8c836446", - "result": "acceptable" - }, - { - "tcId": 11, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "0000010000000000000000000000000000000000000000000000000000000000", - "private": "a8c9df5820eb399d471dfa3215d96055b3c7d0f4ea49f8ab028d6a6e3194517b", - "shared": "a92a96fa029960f9530e6fe37e2429cd113be4d8f3f4431f8546e6c76351475d", - "result": "acceptable" - }, - { - "tcId": 12, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ffffff0f00000000000000000000000000000000000000000000000000000000", - "private": "d0d31c491cbd39271859b4a63a316826507b1db8c701709fd0ffe3eb21c4467c", - "shared": "9f8954868158ec62b6b586b8cae1d67d1b9f4c03d5b3ca0393cee71accc9ab65", - "result": "acceptable" - }, - { - "tcId": 13, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ffffffff00000000000000000000000000000000000000000000000000000000", - "private": "d053e7bf1902619cd61c9c739e09d54c4147f46d190720966f7de1d9cffbbd4e", - "shared": "6cbf1dc9af97bc148513a18be4a257de1a3b065584df94e8b43c1ab89720b110", - "result": "acceptable" - }, - { - "tcId": 14, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "0000000000001000000000000000000000000000000000000000000000000000", - "private": "a021d75009a4596e5a33f12921c10f3670933bc80dde3bba22881b6120582144", - "shared": "38284b7086095a9406028c1f800c071ea106039ad7a1d7f82fe00906fd90594b", - "result": "acceptable" - }, - { - "tcId": 15, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "0000000000000001000000000000000000000000000000000000000000000000", - "private": "a89c6687f99bd569a01fd8bd438236160d15ce2c57c1d71ebaa3f2da88233863", - "shared": "c721041df0244071794a8db06b9f7eaeec690c257265343666f4416f4166840f", - "result": "acceptable" - }, - { - "tcId": 16, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ffffffffffffffff000000000000000000000000000000000000000000000000", - "private": "68964bca51465bf0f5ba524b1482ceff0e960a1ed9f48dcc30f1608d0e501a50", - "shared": "25ff9a6631b143dbdbdc207b38e38f832ae079a52a618c534322e77345fd9049", - "result": "acceptable" - }, - { - "tcId": 17, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "0000000000000000000000000000000000000000000000000100000000000000", - "private": "a8e56bb13a9f2b33b8e6750b4a6e6621dc26ae8c5c624a0992c8f0d5b910f170", - "shared": "f294e7922c6cea587aefe72911630d50f2456a2ba7f21207d57f1ecce04f6213", - "result": "acceptable" - }, - { - "tcId": 18, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000", - "private": "e045f55c159451e97814d747050fd7769bd478434a01876a56e553f66384a74c", - "shared": "ff4715bd8cf847b77c244ce2d9b008b19efaa8e845feb85ce4889b5b2c6a4b4d", - "result": "acceptable" - }, - { - "tcId": 19, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ffffff030000f8ffff1f0000c0ffffff000000feffff070000f0ffff3f000000", - "private": "105d621e1ef339c3d99245cfb77cd3a5bd0c4427a0e4d8752c3b51f045889b4f", - "shared": "61eace52da5f5ecefafa4f199b077ff64f2e3d2a6ece6f8ec0497826b212ef5f", - "result": "acceptable" - }, - { - "tcId": 20, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f0000", - "private": "d88a441e706f606ae7f630f8b21f3c2554739e3e549f804118c03771f608017b", - "shared": "ff1b509a0a1a54726086f1e1c0acf040ab463a2a542e5d54e92c6df8126cf636", - "result": "acceptable" - }, - { - "tcId": 21, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "0000000000000000000000000000000000000000000000000000000000800000", - "private": "80bbad168222276200aafd36f7f25fdc025632d8bf9f6354bb762e06fb63e250", - "shared": "f134e6267bf93903085117b99932cc0c7ba26f25fca12102a26d7533d9c4272a", - "result": "acceptable" - }, - { - "tcId": 22, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1f", - "private": "68e134092e94e622c8a0cd18aff55be23dabd994ebdee982d90601f6f0f4b369", - "shared": "74bfc15e5597e9f5193f941e10a5c008fc89f051392723886a4a8fe5093a7354", - "result": "acceptable" - }, - { - "tcId": 23, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "0000000000000000000000000000000000000000000000000000000000000020", - "private": "e8e43fc1ebac0bbc9b99c8035ee1ac59b90f19a16c42c0b90f96adfcc5fdee78", - "shared": "0d41a5b3af770bf2fcd34ff7972243a0e2cf4d34f2046a144581ae1ec68df03b", - "result": "acceptable" - }, - { - "tcId": 24, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "000000fcffff070000e0ffff3f000000ffffff010000f8ffff0f0000c0ffff7f", - "private": "18bffb16f92680a9e267473e43c464476d5372ddd1f664f3d0678efe7c98bc79", - "shared": "5894e0963583ae14a0b80420894167f4b759c8d2eb9b69cb675543f66510f646", - "result": "acceptable" - }, - { - "tcId": 25, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "ffffffffffffff00000000000000ffffffffffffff00000000000000ffffff7f", - "private": "300305eb002bf86c71fe9c0b311993727b9dc618d0ce7251d0dfd8552d17905d", - "shared": "f8624d6e35e6c548ac47832f2e5d151a8e53b9290363b28d2ab8d84ab7cb6a72", - "result": "acceptable" - }, - { - "tcId": 26, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffff7f", - "private": "80da9f02842247d4ade5ddbac51dbce55ea7dca2844e7f97ab8987ce7fd8bc71", - "shared": "bfe183ba3d4157a7b53ef178613db619e27800f85359c0b39a9fd6e32152c208", - "result": "acceptable" - }, - { - "tcId": 27, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "edfffffffffffffffffffffffffffeffffffffffffffffffffffffffffffff7f", - "private": "806e7f26ca3246de8182946cbed09f52b95da626c823c7b50450001a47b7b252", - "shared": "bca4a0724f5c1feb184078448c898c8620e7caf81f64cca746f557dff2498859", - "result": "acceptable" - }, - { - "tcId": 28, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "edfffffffffffffeffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "58354fd64bc022cba3a71b2ae64281e4ea7bf6d65fdbaead1440eeb18604fe62", - "shared": "b3418a52464c15ab0cacbbd43887a1199206d59229ced49202300638d7a40f04", - "result": "acceptable" - }, - { - "tcId": 29, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "edffffffffffefffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "f0019cf05159794cc8052b00c2e75b7f46fb6693c4b38c02b12a4fe272e8556a", - "shared": "fcde6e0a3d5fd5b63f10c2d3aad4efa05196f26bc0cb26fd6d9d3bd015eaa74f", - "result": "acceptable" - }, - { - "tcId": 30, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "edfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "d0fca64cc5f3a0c8e75c824e8b09d1615aa79aeba139bb7302e2bb2fcbe54b40", - "shared": "7d62f189444c6231a48afab10a0af2eee4a52e431ea05ff781d616af2114672f", - "result": "acceptable" - }, - { - "tcId": 31, - "comment": "public key on twist", - "flags": [ - "Twist", - "SpecialPublicKey" - ], - "public": "eaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "d02456e456911d3c6cd054933199807732dfdc958642ad1aebe900c793bef24a", - "shared": "07ba5fcbda21a9a17845c401492b10e6de0a168d5c94b606694c11bac39bea41", - "result": "acceptable" - }, - { - "tcId": 32, - "comment": "public key = 0", - "flags": [ - "SmallPublicKey", - "LowOrderPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "0000000000000000000000000000000000000000000000000000000000000000", - "private": "88227494038f2bb811d47805bcdf04a2ac585ada7f2f23389bfd4658f9ddd45e", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 33, - "comment": "public key = 1", - "flags": [ - "SmallPublicKey", - "LowOrderPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "0100000000000000000000000000000000000000000000000000000000000000", - "private": "48232e8972b61c7e61930eb9450b5070eae1c670475685541f0476217e48184f", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 34, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "0400000000000000000000000000000000000000000000000000000000000000", - "private": "a8386f7f16c50731d64f82e6a170b142a4e34f31fd7768fcb8902925e7d1e25a", - "shared": "34b7e4fa53264420d9f943d15513902342b386b172a0b0b7c8b8f2dd3d669f59", - "result": "valid" - }, - { - "tcId": 35, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "0001000000000000000000000000000000000000000000000000000000000000", - "private": "d05abd08bf5e62538cb9a5ed105dbedd6de38d07940085072b4311c2678ed77d", - "shared": "3aa227a30781ed746bd4b3365e5f61461b844d09410c70570abd0d75574dfc77", - "result": "valid" - }, - { - "tcId": 36, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "0000001000000000000000000000000000000000000000000000000000000000", - "private": "f0b8b0998c8394364d7dcb25a3885e571374f91615275440db0645ee7c0a6f6b", - "shared": "97755e7e775789184e176847ffbc2f8ef98799d46a709c6a1c0ffd29081d7039", - "result": "valid" - }, - { - "tcId": 37, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "0000000001000000000000000000000000000000000000000000000000000000", - "private": "d00c35dc17460f360bfae7b94647bc4e9a7ad9ce82abeadb50a2f1a0736e2175", - "shared": "c212bfceb91f8588d46cd94684c2c9ee0734087796dc0a9f3404ff534012123d", - "result": "valid" - }, - { - "tcId": 38, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ffffffffffff0f00000000000000000000000000000000000000000000000000", - "private": "385fc8058900a85021dd92425d2fb39a62d4e23aef1d5104c4c2d88712d39e4d", - "shared": "388faffb4a85d06702ba3e479c6b216a8f33efce0542979bf129d860f93b9f02", - "result": "valid" - }, - { - "tcId": 39, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ffffffffffffff00000000000000000000000000000000000000000000000000", - "private": "e0614b0c408af24d9d24c0a72f9137fbd6b16f02ccc94797ea3971ab16073a7f", - "shared": "877fec0669d8c1a5c866641420eea9f6bd1dfd38d36a5d55a8c0ab2bf3105c68", - "result": "valid" - }, - { - "tcId": 40, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "0000000000000000010000000000000000000000000000000000000000000000", - "private": "f004b8fd05d9fffd853cdc6d2266389b737e8dfc296ad00b5a69b2a9dcf72956", - "shared": "180373ea0f23ea73447e5a90398a97d490b541c69320719d7dd733fb80d5480f", - "result": "valid" - }, - { - "tcId": 41, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffff000000000000000000000000000000000000", - "private": "e80bf0e609bf3b035b552f9db7e9ecbc44a04b7910b1493661a524f46c3c2277", - "shared": "208142350af938aba52a156dce19d3c27ab1628729683cf4ef2667c3dc60cf38", - "result": "valid" - }, - { - "tcId": 42, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "0000000000000000000000000000010000000000000000000000000000000000", - "private": "48890e95d1b03e603bcb51fdf6f296f1f1d10f5df10e00b8a25c9809f9aa1a54", - "shared": "1c3263890f7a081cefe50cb92abd496582d90dcc2b9cb858bd286854aa6b0a7e", - "result": "valid" - }, - { - "tcId": 43, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffffffff00000000000000000000000000000000", - "private": "a806f1e39b742615a7dde3b29415ed827c68f07d4a47a4d9595c40c7fccb9263", - "shared": "56128e78d7c66f48e863e7e6f2caa9c0988fd439deac11d4aac9664083087f7a", - "result": "valid" - }, - { - "tcId": 44, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "0000000000000000000000000000000001000000000000000000000000000000", - "private": "9899d5e265e1fc7c32345227d6699a6d6b5517cf33b43ab156ee20df4878794e", - "shared": "30eca56f1f1c2e8ff780134e0e9382c5927d305d86b53477e9aeca79fc9ced05", - "result": "valid" - }, - { - "tcId": 45, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000", - "private": "d842316e5476aeaee838204258a06f15de011ba40b9962705e7f6e889fe71f40", - "shared": "cb21b7aa3f992ecfc92954849154b3af6b96a01f17bf21c612da748db38eb364", - "result": "valid" - }, - { - "tcId": 46, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ffffffff00000000ffffffff00000000ffffffff00000000ffffffff00000000", - "private": "a0933ee30512b25ee4e900aaa07f73e507a8ec53b53a44626e0f589af4e0356c", - "shared": "c5caf8cabc36f086deaf1ab226434098c222abdf8acd3ce75c75e9debb271524", - "result": "valid" - }, - { - "tcId": 47, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "0000000000000000000000000000000000000000000000000000000001000000", - "private": "38d6403e1377734cdce98285e820f256ad6b769d6b5612bcf42cf2b97945c073", - "shared": "4d46052c7eabba215df8d91327e0c4610421d2d9129b1486d914c766cf104c27", - "result": "valid" - }, - { - "tcId": 48, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03", - "private": "182191b7052e9cd630ef08007fc6b43bc7652913be6774e2fd271b71b962a641", - "shared": "a0e0315175788362d4ebe05e6ac76d52d40187bd687492af05abc7ba7c70197d", - "result": "valid" - }, - { - "tcId": 49, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ffffff0f000000ffffff0f000000ffffff0f000000ffffff0f000000ffffff0f", - "private": "106221fe5694a710d6e147696c5d5b93d6887d584f24f228182ebe1b1d2db85d", - "shared": "5e64924b91873b499a5402fa64337c65d4b2ed54beeb3fa5d7347809e43aef1c", - "result": "valid" - }, - { - "tcId": 50, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "000000fcffff030000e0ffff1f000000ffffff000000f8ffff070000c0ffff3f", - "private": "d035de9456080d85a912083b2e3c7ddd7971f786f25a96c5e782cf6f4376e362", - "shared": "c052466f9712d9ec4ef40f276bb7e6441c5434a83efd8e41d20ce83f2dbf5952", - "result": "valid" - }, - { - "tcId": 51, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", - "private": "a8f37318a4c760f3cb2d894822918735683cb1edacf3e666e15694154978fd6d", - "shared": "d151b97cba9c25d48e6d576338b97d53dd8b25e84f65f7a2091a17016317c553", - "result": "valid" - }, - { - "tcId": 52, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5f", - "private": "20d4d624cf732f826f09e8088017742f13f2da98f4dcf4b40519adb790cebf64", - "shared": "5716296baf2b1a6b9cd15b23ba86829743d60b0396569be1d5b40014c06b477d", - "result": "valid" - }, - { - "tcId": 53, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffff7fff7f", - "private": "d806a735d138efb3b404683c9d84485ab4af540d0af253b574323d8913003c66", - "shared": "ddbd56d0454b794c1d1d4923f023a51f6f34ef3f4868e3d6659307c683c74126", - "result": "valid" - }, - { - "tcId": 54, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "fffffffffeffff7ffffffffffeffff7ffffffffffeffff7ffffffffffeffff7f", - "private": "184198c6228177f3ef41dc9a341258f8181ae365fe9ec98d93639b0bbee1467d", - "shared": "8039eebed1a4f3b811ea92102a6267d4da412370f3f0d6b70f1faaa2e8d5236d", - "result": "valid" - }, - { - "tcId": 55, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "edfffffffffffffffffffffffffffffffffffffffffffffffffffffffeffff7f", - "private": "f0a46a7f4b989fe515edc441109346ba746ec1516896ec5b7e4f4d903064b463", - "shared": "b69524e3955da23df6ad1a7cd38540047f50860f1c8fded9b1fdfcc9e812a035", - "result": "valid" - }, - { - "tcId": 56, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "edfffffffffffffffffffffffffffffffffffffffffffffffeffffffffffff7f", - "private": "881874fda3a99c0f0216e1172fbd07ab1c7df78602cc6b11264e57aab5f23a49", - "shared": "e417bb8854f3b4f70ecea557454c5c4e5f3804ae537960a8097b9f338410d757", - "result": "valid" - }, - { - "tcId": 57, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "edfffffffffffffffffffffffffffffffeffffffffffffffffffffffffffff7f", - "private": "b8d0f1ae05a5072831443150e202ac6db00322cdf341f467e9f296588b04db72", - "shared": "afca72bb8ef727b60c530c937a2f7d06bb39c39b903a7f4435b3f5d8fc1ca810", - "result": "valid" - }, - { - "tcId": 58, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "edfffffffffffffffeffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "c8619ba988859db7d6f20fbf3ffb8b113418cc278065b4e8bb6d4e5b3e7cb569", - "shared": "7e41c2886fed4af04c1641a59af93802f25af0f9cba7a29ae72e2a92f35a1e5a", - "result": "valid" - }, - { - "tcId": 59, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "edfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "f8d4ca1f37a30ec9acd6dbe5a6e150e5bc447d22b355d80ba002c5b05c26935d", - "shared": "dd3abd4746bf4f2a0d93c02a7d19f76d921c090d07e6ea5abae7f28848355947", - "result": "valid" - }, - { - "tcId": 60, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "edffffefffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "88037ac8e33c72c2c51037c7c8c5288bba9265c82fd8c31796dd7ea5df9aaa4a", - "shared": "8c27b3bff8d3c1f6daf2d3b7b3479cf9ad2056e2002be247992a3b29de13a625", - "result": "valid" - }, - { - "tcId": 61, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "edfffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "5034ee7bf83a13d9167df86b0640294f3620f4f4d9030e5e293f9190824ae562", - "shared": "8e1d2207b47432f881677448b9d426a30de1a1f3fd38cad6f4b23dbdfe8a2901", - "result": "valid" - }, - { - "tcId": 62, - "comment": "edge case public key", - "flags": [ - "SpecialPublicKey" - ], - "public": "ebffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "40bd4e1caf39d9def7663823502dad3e7d30eb6eb01e9b89516d4f2f45b7cd7f", - "shared": "2cf6974b0c070e3707bf92e721d3ea9de3db6f61ed810e0a23d72d433365f631", - "result": "valid" - }, - { - "tcId": 63, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b800", - "private": "e0f978dfcd3a8f1a5093418de54136a584c20b7b349afdf6c0520886f95b1272", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 64, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f1157", - "private": "387355d995616090503aafad49da01fb3dc3eda962704eaee6b86f9e20c92579", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 65, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "Twist", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "c8fe0df92ae68a03023fc0c9adb9557d31be7feed0d3ab36c558143daf4dbb40", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 66, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "NonCanonicalPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b880", - "private": "c8d74acde5934e64b9895d5ff7afbffd7f704f7dfccff7ac28fa62a1e6410347", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 67, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "NonCanonicalPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f11d7", - "private": "b85649d5120e01e8ccaf7b2fb8d81b62e8ad6f3d5c0553fdde1906cb9d79c050", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 68, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "NonCanonicalPublic", - "SpecialPublicKey", - "ZeroSharedSecret", - "Twist" - ], - "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "2064b2f4c9dc97ec7cf58932fdfa3265ba6ea4d11f0259b8efc8afb35db88c48", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 69, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "0000000000000000000000000000000000000000000000000000000000000000", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 70, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "0100000000000000000000000000000000000000000000000000000000000000", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 71, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret", - "Twist" - ], - "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 72, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f1157", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 73, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b800", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 74, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 75, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "eeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 76, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "0000000000000000000000000000000000000000000000000000000000000080", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 77, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "0100000000000000000000000000000000000000000000000000000000000080", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 78, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret", - "Twist" - ], - "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 79, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f11d7", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 80, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b880", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 81, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 82, - "comment": "public key with low order", - "flags": [ - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "eeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "786a33a4f7af297a20e7642925932bf509e7070fa1bc36986af1eb13f4f50b55", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 83, - "comment": "public key == 0", - "flags": [ - "SmallPublicKey", - "LowOrderPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "edffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "40ff586e73d61f0960dc2d763ac19e98225f1194f6fe43d5dd97ad55b3d35961", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 84, - "comment": "public key == 0", - "flags": [ - "SmallPublicKey", - "LowOrderPublic", - "NonCanonicalPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "0000000000000000000000000000000000000000000000000000000000000080", - "private": "7887889bac4c629a101d3724f2ed8b98d936fde79e1a1f77d86779626bf8f263", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 85, - "comment": "public key == 1", - "flags": [ - "SmallPublicKey", - "LowOrderPublic", - "NonCanonicalPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "eeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "584fceaebae944bfe93b2e0d0a575f706ce5ada1da2b1311c3b421f9186c7a6f", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 86, - "comment": "public key == 1", - "flags": [ - "SmallPublicKey", - "LowOrderPublic", - "NonCanonicalPublic", - "SpecialPublicKey", - "ZeroSharedSecret" - ], - "public": "0100000000000000000000000000000000000000000000000000000000000080", - "private": "e07971ee820e48b0b266d8be3cdbbb5e900a43f59ee8535c6572418615de4962", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 87, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "Twist", - "SpecialPublicKey" - ], - "public": "efffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "0016b62af5cabde8c40938ebf2108e05d27fa0533ed85d70015ad4ad39762d54", - "shared": "b4d10e832714972f96bd3382e4d082a21a8333a16315b3ffb536061d2482360d", - "result": "acceptable" - }, - { - "tcId": 88, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "Twist", - "SpecialPublicKey" - ], - "public": "f0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "d83650ba7cec115881916255e3fa5fa0d6b8dcf968731bd2c9d2aec3f561f649", - "shared": "515eac8f1ed0b00c70762322c3ef86716cd2c51fe77cec3d31b6388bc6eea336", - "result": "acceptable" - }, - { - "tcId": 89, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "SpecialPublicKey" - ], - "public": "f1ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "88dd14e2711ebd0b0026c651264ca965e7e3da5082789fbab7e24425e7b4377e", - "shared": "6919992d6a591e77b3f2bacbd74caf3aea4be4802b18b2bc07eb09ade3ad6662", - "result": "acceptable" - }, - { - "tcId": 90, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "98c2b08cbac14e15953154e3b558d42bb1268a365b0ef2f22725129d8ac5cb7f", - "shared": "9c034fcd8d3bf69964958c0105161fcb5d1ea5b8f8abb371491e42a7684c2322", - "result": "acceptable" - }, - { - "tcId": 91, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "Twist", - "SpecialPublicKey" - ], - "public": "0200000000000000000000000000000000000000000000000000000000000080", - "private": "c0697b6f05e0f3433b44ea352f20508eb0623098a7770853af5ca09727340c4e", - "shared": "ed18b06da512cab63f22d2d51d77d99facd3c4502e4abf4e97b094c20a9ddf10", - "result": "acceptable" - }, - { - "tcId": 92, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "Twist", - "SpecialPublicKey" - ], - "public": "0300000000000000000000000000000000000000000000000000000000000080", - "private": "18422b58a18e0f4519b7a887b8cfb649e0bfe4b34d75963350a9944e5b7f5b7e", - "shared": "448ce410fffc7e6149c5abec0ad5f3607dfde8a34e2ac3243c3009176168b432", - "result": "acceptable" - }, - { - "tcId": 93, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "SpecialPublicKey" - ], - "public": "0400000000000000000000000000000000000000000000000000000000000080", - "private": "20620d82487707bedf9ee3549e95cb9390d2618f50cf6acba47ffaa103224a6f", - "shared": "03a633df01480d0d5048d92f51b20dc1d11f73e9515c699429b90a4f6903122a", - "result": "acceptable" - }, - { - "tcId": 94, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "SpecialPublicKey" - ], - "public": "daffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "285a6a7ceeb7122f2c78d99c53b2a902b490892f7dff326f89d12673c3101b53", - "shared": "9b01287717d72f4cfb583ec85f8f936849b17d978dbae7b837db56a62f100a68", - "result": "acceptable" - }, - { - "tcId": 95, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "SpecialPublicKey", - "Twist" - ], - "public": "dbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "c8e0330ae9dceeff887fba761225879a4bd2e0db08799244136e4721b2c88970", - "shared": "dfe60831c9f4f96c816e51048804dbdc27795d760eced75ef575cbe3b464054b", - "result": "acceptable" - }, - { - "tcId": 96, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "SpecialPublicKey" - ], - "public": "dcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "10db6210fc1fb13382472fa1787b004b5d11868ab3a79510e0cee30f4a6df26b", - "shared": "50bfa826ca77036dd2bbfd092c3f78e2e4a1f980d7c8e78f2f14dca3cce5cc3c", - "result": "acceptable" - }, - { - "tcId": 97, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "SpecialPublicKey", - "Twist" - ], - "public": "eaffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "9041c6e044a277df8466275ca8b5ee0da7bc028648054ade5c592add3057474e", - "shared": "13da5695a4c206115409b5277a934782fe985fa050bc902cba5616f9156fe277", - "result": "acceptable" - }, - { - "tcId": 98, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "SpecialPublicKey" - ], - "public": "ebffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "b8d499041a6713c0f6f876db7406587fdb44582f9542356ae89cfa958a34d266", - "shared": "63483b5d69236c63cddbed33d8e22baecc2b0ccf886598e863c844d2bf256704", - "result": "acceptable" - }, - { - "tcId": 99, - "comment": "non-canonical public key", - "flags": [ - "NonCanonicalPublic", - "SpecialPublicKey" - ], - "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", - "private": "c85f08e60c845f82099141a66dc4583d2b1040462c544d33d0453b20b1a6377e", - "shared": "e9db74bc88d0d9bf046ddd13f943bccbe6dbb47d49323f8dfeedc4a694991a3c", - "result": "acceptable" - }, - { - "tcId": 100, - "comment": "RFC 7748", - "flags": [ - "Ktv" - ], - "public": "e6db6867583030db3594c1a424b15f7c726624ec26b3353b10a903a6d0ab1c4c", - "private": "a046e36bf0527c9d3b16154b82465edd62144c0ac1fc5a18506a2244ba449a44", - "shared": "c3da55379de9c6908e94ea4df28d084f32eccf03491c71f754b4075577a28552", - "result": "valid" - }, - { - "tcId": 101, - "comment": "RFC 7748", - "flags": [ - "Ktv", - "Twist" - ], - "public": "e5210f12786811d3f4b7959d0538ae2c31dbe7106fc03c3efc4cd549c715a413", - "private": "4866e9d4d1b4673c5ad22691957d6af5c11b6421e0ea01d42ca4169e7918ba4d", - "shared": "95cbde9476e8907d7aade45cb4b873f88b595a68799fa152e6f8f7647aac7957", - "result": "acceptable" - }, - { - "tcId": 102, - "comment": "RFC 8037, Section A.6", - "flags": [ - "Ktv" - ], - "public": "de9edb7d7b7dc1b4d35b61c2ece435373f8343c85b78674dadfc7e146f882b4f", - "private": "77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a", - "shared": "4a5d9d5ba4ce2de1728e3bf480350f25e07e21c947d19e3376f09b3c1e161742", - "result": "valid" - }, - { - "tcId": 103, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared", - "Twist" - ], - "public": "b7b6d39c765cb60c0c8542f4f3952ffb51d3002d4aeb9f8ff988b192043e6d0a", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "0200000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 104, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared" - ], - "public": "3b18df1e50b899ebd588c3161cbd3bf98ebcc2c1f7df53b811bd0e91b4d5153d", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "0900000000000000000000000000000000000000000000000000000000000000", - "result": "valid" - }, - { - "tcId": 105, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared" - ], - "public": "cab6f9e7d8ce00dfcea9bbd8f069ef7fb2ac504abf83b87db601b5ae0a7f7615", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "1000000000000000000000000000000000000000000000000000000000000000", - "result": "valid" - }, - { - "tcId": 106, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared", - "Twist" - ], - "public": "4977d0d897e1ba566590f60f2eb0db6f7b24c13d436918ccfd32708dfad7e247", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", - "result": "acceptable" - }, - { - "tcId": 107, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared" - ], - "public": "98730bc03e29e8b057fb1d20ef8c0bffc822485d3db7f45f4e3cc2c3c6d1d14c", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "fcffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", - "result": "valid" - }, - { - "tcId": 108, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared", - "Twist" - ], - "public": "97b4fff682df7f096cd1756569e252db482d45406a3198a1aff282a5da474c49", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "f9ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", - "result": "acceptable" - }, - { - "tcId": 109, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared" - ], - "public": "317781b0163bae74accc06c0d44ef9a911a22b0d37faf7726621591f9343ea2f", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "f3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", - "result": "valid" - }, - { - "tcId": 110, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared" - ], - "public": "7e26f8f24cb590027f9d1bc49b0e1a242c7d8f43624d3e8fab28ee08e02cb45e", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03", - "result": "valid" - }, - { - "tcId": 111, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared", - "Twist" - ], - "public": "e96d2780e5469a74620ab5aa2f62151d140c473320dbe1b028f1a48f8e76f95f", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "e5ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "result": "acceptable" - }, - { - "tcId": 112, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared", - "Twist" - ], - "public": "8d612c5831aa64b057300e7e310f3aa332af34066fefcab2b089c9592878f832", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "e3ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "result": "acceptable" - }, - { - "tcId": 113, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared" - ], - "public": "8d44108d05d940d3dfe5647ea7a87be24d0d036c9f0a95a2386b839e7b7bf145", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "ddffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "result": "valid" - }, - { - "tcId": 114, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared", - "Twist" - ], - "public": "21a35d5db1b6237c739b56345a930aeee373cdcfb4701266782a8ac594913b29", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "dbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "result": "acceptable" - }, - { - "tcId": 115, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared", - "Twist" - ], - "public": "3e5efb63c352ce942762482bc9337a5d35ba55664743ac5e93d11f957336cb10", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "0000000000000000000000000000000000000000000000000000000000000002", - "result": "acceptable" - }, - { - "tcId": 116, - "comment": "edge case for shared secret", - "flags": [ - "EdgeCaseShared", - "Twist" - ], - "public": "8e41f05ea3c76572be104ad8788e970863c6e2ca3daae64d1c2f46decfffa571", - "private": "60a3a4f130b98a5be4b1cedb7cb85584a3520e142d474dc9ccb909a073a9767f", - "shared": "0000000000000000000000000000000000000000000000000000000000008000", - "result": "acceptable" - }, - { - "tcId": 117, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "SmallPublicKey", - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "0000000000000000000000000000000000000000000000000000000000000000", - "private": "c8d07c46bbfb827753b92c70e49583ce8bfa44641a7382258ea903d6a832c96b", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 118, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "SmallPublicKey", - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "0100000000000000000000000000000000000000000000000000000000000000", - "private": "90b7ef237a055f348dcb4c4364a59d7d31edc7ab78f2ca254e2c810975c3f543", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 119, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "0200000000000000000000000000000000000000000000000000000000000000", - "private": "e0a8be63315c4f0f0a3fee607f44d30a55be63f09561d9af93e0a1c9cf0ed751", - "shared": "0c50ac2bfb6815b47d0734c5981379882a24a2de6166853c735329d978baee4d", - "result": "acceptable" - }, - { - "tcId": 120, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "1200000000000000000000000000000000000000000000000000000000000000", - "private": "0840a8af5bc4c48da8850e973d7e14220f45c192cea4020d377eecd25c7c3643", - "shared": "77557137a2a2a651c49627a9b239ac1f2bf78b8a3e72168ccecc10a51fc5ae66", - "result": "valid" - }, - { - "tcId": 121, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "1400000000000000000000000000000000000000000000000000000000000000", - "private": "0092229c753a71284d0853909470ad847ab62f439ea51482fb41d30cc3b44743", - "shared": "c88e719ae5c2248b5f90da346a92ae214f44a5d129fd4e9c26cf6a0da1efe077", - "result": "acceptable" - }, - { - "tcId": 122, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0000000000000000000000000080000000000000000000000000000000000000", - "private": "b8da2bd2d7cf25a3e54e5f87ee15911effb9ff86baec4076d56c8e953670bf5b", - "shared": "4bf6789c7ea036f973cde0af02d6fdb9b64a0b957022111439570fad7d7a453f", - "result": "valid" - }, - { - "tcId": 123, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ffffffffffffffffffffffffffff000000000000000000000000000000000000", - "private": "684cd420af41abb3d10c61e773238cf729c2155f941ac27e15f4c37f49b29576", - "shared": "bcac235ae15cc7148372e11f9315e3bc76ceb904b3d2a8246bd9d9be2082bb62", - "result": "valid" - }, - { - "tcId": 124, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "0100000000000000000000000000010000000000000000000000000000000000", - "private": "38cfacaa4460796b4de434bdd6739f0d043671f97fa829517511e6b47aa93474", - "shared": "5dd7d16fff25cc5fdf9e03c3157cb0a235cea17d618f36e6f13461567edeb943", - "result": "acceptable" - }, - { - "tcId": 125, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0000000000000000000000000000000000000000000000000000004000000000", - "private": "30832e8cb627ac195f77b1105258e4bb18b99a5ed944404bfacb3a039fbdb14b", - "shared": "2816fd031d51d6750f9225ede950625cca47441ca97e43092650396991afcb6d", - "result": "valid" - }, - { - "tcId": 126, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "0000000000000000000000000000000000000000000000000000008000000000", - "private": "d818fd6971e546447f361d33d3dbb3eadcf02fb28f246f1d5107b9073a93cd4f", - "shared": "7ed8f2d5424e7ebb3edbdf4abe455447e5a48b658e64abd06c218f33bd151f64", - "result": "acceptable" - }, - { - "tcId": 127, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000", - "private": "1021cd8682bdc3f5da9100adff5b2230b3acd836b3a455db8352a2c27e69d17e", - "shared": "e8620ed5ca89c72c5ea5503e6dcd01131cd5e875c30e13d5dc619ce28ec7d559", - "result": "acceptable" - }, - { - "tcId": 128, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0100000000000000000000000000000000000000000000000000000001000000", - "private": "20e4c9247102292655d6765d7d84c6fce5309b8004045daea6d7d7dcad462871", - "shared": "ceadb264379dcadd6e3bb8ad24dd653d2a609dd703d41da6caf3ad00f001862c", - "result": "valid" - }, - { - "tcId": 129, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "a8b9c7372118a53a9de9eaf0868e3b1a3d88e81cb2e407ff7125e9f5c5088715", - "private": "90b150d462de512056d5bd55173074969b496f262fb6916b733f6263a8078971", - "shared": "f86cc7bf1be49574fc97a074282e9bb5cd238e002bc8e9a7b8552b2d60eccb52", - "result": "acceptable" - }, - { - "tcId": 130, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "aab9c7372118a53a9de9eaf0868e3b1a3d88e81cb2e407ff7125e9f5c5088715", - "private": "9887286b3261c8d857a16f6db21277f75d88d4e861b3ebe7596699047e816668", - "shared": "ccbb8fd9dee165a398b2dbd7c8396f81736c1b3da36b35fbec8f326f38f92767", - "result": "acceptable" - }, - { - "tcId": 131, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "585007a5930d77623cf29756038ca197d3ebfd9e4c80a69585efe0274092c115", - "private": "20ca2c85cc8762e96b7047bf15c71c050ffe0ed1616040a953ae32a1297ad871", - "shared": "46add6f48ffff461777d4f89b6fdf1155aa051a96387d45f3e5e371a236b6e52", - "result": "valid" - }, - { - "tcId": 132, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "fbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1f", - "private": "d027656605b10bf18dea28bc52546f9f1f08cef06cafd200fc84f87dbb4ebe46", - "shared": "1adbe32207e21f71e1af53884d2a2276481e298e557f4dacb3720f2458e3082d", - "result": "valid" - }, - { - "tcId": 133, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "0000000000000000000000000000000000000000000000000000000000000020", - "private": "4867a83ee9d01b7510840867db1af6a6049bdbb056b74443f70c358e162c8867", - "shared": "e12cc58fbeb70a5e35c861c33710be6516a6a92e52376060211b2487db542b4f", - "result": "acceptable" - }, - { - "tcId": 134, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "afa00e4a271beec478e42fad0618432fa7d7fb3d99004d2b0bdfc14f8024832b", - "private": "a015970a8add940fca5b1b5d23875397d547d8d494fcb314f2045a67a2d12c4b", - "shared": "421bed1b26da1e9adbeada1f32b91a0fb4ced0f1110e0a4a88e735a19ee4571e", - "result": "valid" - }, - { - "tcId": 135, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "b1a00e4a271beec478e42fad0618432fa7d7fb3d99004d2b0bdfc14f8024832b", - "private": "4058cb6b9aaba02a338aaa392dbc10039e26e9e444117e758e24c5d8b232ea5e", - "shared": "d7b47463e2f4ca9a1a7deea098da8e74ac3b4a109083d997259b12992e7e7e06", - "result": "valid" - }, - { - "tcId": 136, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "fbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff2f", - "private": "b876b05daff0530b139d9e11250563418077178246c5fa7005ba00e9b6647763", - "shared": "686eb910a937211b9147c8a051a1197906818fdc626668eb5f5d394afd86d41b", - "result": "acceptable" - }, - { - "tcId": 137, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "22231c64ef73ad62318b8a87bc38e272e1bb8bf1a60d7c00476d0b059d7b3c35", - "private": "d87fd6aa5d8deef6dee9619a56846a0829620590f2da40835d8e251597e39078", - "shared": "09559733b35bcc6bb8ac574b5abe3a4d8841deff051c294a07487e3eec3c5558", - "result": "valid" - }, - { - "tcId": 138, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", - "private": "90036321b63751f7622aa93da34d85e59ce81009ac5b9a068921d83bc4715b57", - "shared": "f7d5cbcf39eb722b01ed20c85563ebb81d076511aead4ccc429027866b9fd270", - "result": "valid" - }, - { - "tcId": 139, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", - "private": "a06781fd4c4a0874e00e72ba131b9dd87a83b2904e294de176e8a9af1f695d67", - "shared": "e995ad6a1ec6c5ab32922cff9d204721704673143c4a11deaa203f3c81989b3f", - "result": "acceptable" - }, - { - "tcId": 140, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "feffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff3f", - "private": "b822d72d8b68bdb4fbf67e56a61d672b2c7747e94479fe5ae4072d0accdd6571", - "shared": "32b6dabe01d13867f3b5b0892fefd80dca666f2edc5afb43cd0baf703c3e6926", - "result": "acceptable" - }, - { - "tcId": 141, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0000000000000000000000000000000000000000000000000000000000000040", - "private": "d08ce1237e248d02cdf619d20bea5848ade4f6ffd171b8dee8793fc67c459640", - "shared": "a93d83fc9ea0f6cb0cc8b631da600019b76cbb2ec57222f2e42dd540e3da850b", - "result": "valid" - }, - { - "tcId": 142, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "cbdce39b108c529dce74757843c71d8d1e44740e59f283ffb892f4fa6284c34a", - "private": "180ae3c928514cfb9edd06e7dc1d5d066160e967445a5c58e4463b69ed205e6d", - "shared": "017cbfa2b38e9ef3297a339ecce1a917bdcf7e910036086a41d1e22d04241870", - "result": "valid" - }, - { - "tcId": 143, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "3c5ff1b5d8e4113b871bd052f9e7bcd0582804c266ffb2d4f4203eb07fdb7c54", - "private": "e881d806a110560cd8fee899d59c0249f1233a4322c41aa369c7a2a99f5b5962", - "shared": "71133905b8a57ea8c38de0ecf213699a75b096c2df21f07f7e9eb03e9fa53f5c", - "result": "valid" - }, - { - "tcId": 144, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "3e5ff1b5d8e4113b871bd052f9e7bcd0582804c266ffb2d4f4203eb07fdb7c54", - "private": "08e410e1d7e8b9411236af4a35d6b62a5d8931478e4c62197cfafb491467b162", - "shared": "3dc7b70e110766b2bf525252ebed98a100b2e532dc69544464da1bbab8625f6d", - "result": "valid" - }, - { - "tcId": 145, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f2ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5f", - "private": "e02fdf7e0ee3d55b4440f01432dd253c949793bc04da44ddece83e54c8c39b40", - "shared": "e317e5cc438b5f79ead5533ac7c45519a117b31033cc2140b19edf8572011240", - "result": "valid" - }, - { - "tcId": 146, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff5f", - "private": "f05d18f68ef7a5865c14db3a9c255fdf2dabea2aa36581e94f68b727b582867b", - "shared": "d86810516aeddc18061036f599a9eb84d1c6146b0f543652dd4526743ba42c04", - "result": "valid" - }, - { - "tcId": 147, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "95aff85a6cf2889dc30d68a9fc735e682c140261b37f596a7a101fd8bf6d3e6a", - "private": "00c103578d5c079d7bcc22c1c31e787c1b15c57fcb493fdafefa20371cfc746b", - "shared": "dfa988a477003be125b95ccbf2223d97729577d25e1d6e89e3da0afabdd0ae71", - "result": "acceptable" - }, - { - "tcId": 148, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "434638c8dee75ac56216150f7971c4e5c27717e34d1bf8008eda160a3af7786a", - "private": "7005bb927485c435642b424a3dde014bcf76345e5be64ae6e9b24db39e1cdb51", - "shared": "d450af45b8ed5fe140cc5263ffb7b52e66736899a8b872b6e28552129819b25b", - "result": "acceptable" - }, - { - "tcId": 149, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "454638c8dee75ac56216150f7971c4e5c27717e34d1bf8008eda160a3af7786a", - "private": "0822039a5dc13c40fcccf346e2a7769b4fd272052d43260ad626468a50d44162", - "shared": "58002c89bf8bc32ae6fc205b796acd13ef7f8476f6492ae4b2be47f1095e8a4f", - "result": "valid" - }, - { - "tcId": 150, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ecfffffffffffffffffffffffffffeffffffffffffffffffffffffffffffff7f", - "private": "40a6349c03f0dc0a42358f6353ca67632af687b14c9dff626c54e211e8fc355a", - "shared": "7773aad6e72eb1735b65ad51f7dad258c11d7bfff53094424cb103cd6bfb4368", - "result": "valid" - }, - { - "tcId": 151, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "eefffffffffffffffffffffffffffeffffffffffffffffffffffffffffffff7f", - "private": "50696d4d05209971d6ba0676ea274262ba639aac74fa75e5df4570768ad8ae74", - "shared": "c118ddf6462fbea80f14ef1f2972a1ab12cafa511d1323d4d22d0d426d651b5b", - "result": "valid" - }, - { - "tcId": 152, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "edffffffffffffffffffffffff7fffffffffffffffffffffffffffffffffff7f", - "private": "68bb680c853f4e4daa47c586dc886cf4568d7b0383770f6df439a53be4a3236d", - "shared": "cc0775bfd970a2706b11c7222a4436a3d17160382c83b76f89b66192c81b4408", - "result": "valid" - }, - { - "tcId": 153, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ebffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "b0f6c28dbdc647068a76d71805ef770f087cf76b82afdc0d26c45b71ace49768", - "shared": "f0097fa0ba70d019126277ab15c56ecc170ca88180b2bf9d80fcda3d7d74552a", - "result": "valid" - }, - { - "tcId": 154, - "comment": "special case public key", - "flags": [ - "EdgeCaseMultiplication", - "LowOrderPublic", - "Twist", - "ZeroSharedSecret" - ], - "public": "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", - "private": "18630f93598637c35da623a74559cf944374a559114c7937811041fc8605564a", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 155, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "0000000000000000000008000000000000000000000000000000000000000000", - "private": "581ecbda5a4a228044fefd6e03df234558c3c79152c6e2c5e60b142c4f26a851", - "shared": "59e7b1e6f47065a48bd34913d910176b6792a1372aad22e73cd7df45fcf91a0e", - "result": "acceptable" - }, - { - "tcId": 156, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "77af0d3897a715dfe25df5d538cf133bc9ab7ad52df6bd922a2fb75621d59901", - "private": "b0561a38000795b7cb537b55e975ea452c2118506295d5eb15fd9c83b67f7a50", - "shared": "179f6b020748acba349133eaa4518f1bd8bab7bfc4fb05fd4c24e7553da1e960", - "result": "valid" - }, - { - "tcId": 157, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4e39866127b6a12a54914e106aab86464af55631f3cb61766d5999aa8d2e070e", - "private": "b00f7df2d47128441c7270b9a87eee45b6056fc64236a57bdf81dbcccf5f5d42", - "shared": "43c5ee1451f213ef7624729e595a0fee7c9af7ee5d27eb03278ee9f94c202352", - "result": "valid" - }, - { - "tcId": 158, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "adc6799ed8495ed5ab6eb1ef955479b9b50aa9ce0c349e8992a6665572d1f811", - "private": "c8f7a0c0bfb1e9c72576c534f86854fbe4af521d4fa807f67e2440e100ec8852", - "shared": "2f350bcf0b40784d1d756c9ca3e38ec9dd68ba80faf1f9847de50779c0d4902a", - "result": "valid" - }, - { - "tcId": 159, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "770f4218ef234f5e185466e32442c302bbec21bbb6cd28c979e783fe5013333f", - "private": "58181f581aa37022ff71c56c6e68e6175d967c5c995a249885f66565074ded4d", - "shared": "d5d650dc621072eca952e4344efc7320b2b1459aba48f5e2480db881c50cc650", - "result": "acceptable" - }, - { - "tcId": 160, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "5c6118c4c74cfb842d9a87449f9d8db8b992d46c5a9093ce2fcb7a49b535c451", - "private": "301c935cae4357070b0adaf9cd6192830b2c989c153729eed99f589eb45f884b", - "shared": "909cc57275d54f20c67b45f9af9484fd67581afb7d887bee1db5461f303ef257", - "result": "acceptable" - }, - { - "tcId": 161, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4039866127b6a12a54914e106aab86464af55631f3cb61766d5999aa8d2e076e", - "private": "d002292d4359a3d42bc8767f1380009332e7a0df2f3379011ab78f789f6baa54", - "shared": "4a7e2c5caf1d8180eb1c4f22692f29a14b4cdc9b193bd1d16e2f27438eef1448", - "result": "valid" - }, - { - "tcId": 162, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "078fa523498fb51cba1112d83b20af448b8009d8eea14368564d01b8f9b6086f", - "private": "d0c2c49e644ab738270707ff9917065942687e2f12886d961161db46c05b565f", - "shared": "c0ee59d3685fc2c3c803608b5ee39a7f8da30b48e4293ae011f0ea1e5aeb7173", - "result": "acceptable" - }, - { - "tcId": 163, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "9fc6799ed8495ed5ab6eb1ef955479b9b50aa9ce0c349e8992a6665572d1f871", - "private": "f087d38b274c1dad1bce6eaa36b48e2190b90b9bf8ca59669cc5e00464534342", - "shared": "b252bc8eabfaa68c56e54d61b99061a35d11e3a7b9bda417d90f69b1119bcf45", - "result": "valid" - }, - { - "tcId": 164, - "comment": "special case for E in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "7650f2c76858ea201da2022ac730ecc43654852ad209426dd5d048a9de2a667e", - "private": "48dbcc5a695f1514bbbaa6ad00842b69d9ae5216b1963add07fb2947c97b8447", - "shared": "fbda33bc930c08df837208e19afdc1cfe3fd0f8f0e3976be34775e58a4a7771f", - "result": "valid" - }, - { - "tcId": 165, - "comment": "D = 0 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "e0eb7a7c3b41b8ae1656e3faf19fc46ada098deb9c32b1fd866205165f49b800", - "private": "5891c9272cf9a197735b701e5715268d36d7436b7e351a3e997a0862e4807d4d", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 166, - "comment": "D = 0 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "LowOrderPublic", - "ZeroSharedSecret" - ], - "public": "5f9c95bca3508c24b1d0b1559c83ef5b04445cc4581c8e86d8224eddd09f1157", - "private": "c0f9c60aea73731d92ab5ed9f4cea122f9a6eb2577bda72f94948fea4d4cc65d", - "shared": "0000000000000000000000000000000000000000000000000000000000000000", - "result": "acceptable" - }, - { - "tcId": 167, - "comment": "special case for DA - CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "b0224e7134cf92d40a31515f2f0e89c2a2777e8ac2fe741db0dc39399fdf2702", - "private": "0066dd7674fe51f9326c1e239b875f8ac0701aae69a804c25fe43595e8660b45", - "shared": "8dacfe7beaaa62b94bf6e50ee5214d99ad7cda5a431ea0c62f2b20a89d73c62e", - "result": "acceptable" - }, - { - "tcId": 168, - "comment": "special case for DA - CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "601e3febb848ec3e57fce64588aad82afc9c2af99bbcdffcc4cd58d4b3d15c07", - "private": "80067f30f40d61318b420c859fce128c9017ab81b47b76028a57bc30d5856846", - "shared": "20f1d3fe90e08bc6f152bf5dacc3ed35899785333f1470e6a62c3b8cbe28d260", - "result": "valid" - }, - { - "tcId": 169, - "comment": "special case for DA - CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "82a3807bbdec2fa9938fb4141e27dc57456606301f78ff7133cf24f3d13ee117", - "private": "584577669d21ce0ae3e30b02c9783ffe97709cbfe396889aa31e8ee43352dc52", - "shared": "2b28cc5140b816add5ad3a77a81b1c073d67bf51bf95bda2064a14eb12d5f766", - "result": "acceptable" - }, - { - "tcId": 170, - "comment": "special case for DA - CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f329ab2376462e5f3128a2682086253c19222ac1e2bca45692f0c3b528f4c428", - "private": "18e597a4e2ccdb5e8052d57c9009938c2d4c43d6d8c9f93c98727b7311035953", - "shared": "8392160083b9af9e0ef44fcfce53ba8ff7282ee7a6c71ab66f8843a55d09cd68", - "result": "valid" - }, - { - "tcId": 171, - "comment": "special case for DA in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4fce3bb6c8aaf022dbd100e3cde3941b37d543f00401dba7da9bc143dfc55709", - "private": "88281cc51d5512d8814ea5249b879dcbad0323d38512dafbdc7ba85bba8c8d5d", - "shared": "42184e22c535530c457bd3b4f1084cbf5e297f502fe136b8d1daecf5334cc96c", - "result": "valid" - }, - { - "tcId": 172, - "comment": "special case for DA in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "15c68851c1db844b5a1ef3456a659f188854b1a75fbdb2f68f514c9289ce711f", - "private": "d0e795450df0a813c6573496ec5793ca02e1bdbad10ed08df83fdaed68b3385f", - "shared": "f654d78e5945b24bc63e3e6d790e0ae986e53937764068b1bce920e1d79b756f", - "result": "valid" - }, - { - "tcId": 173, - "comment": "special case for DA in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4200a242434337b8914f49345301ed782b13594f9ede089c41fb1e7ea82c9053", - "private": "30b69a1cc1eb2d0b83ea213846e90a2c922088bdf294a6995bf6e6e77c646c41", - "shared": "cd8a09b04795edcc7061867373981aa748651ebdce5ec218a335b878cefe4872", - "result": "valid" - }, - { - "tcId": 174, - "comment": "special case for DA in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "baabf0174aaaea4de48cc83adfb0401461a741903ea6fb130d7d64b7bf03a966", - "private": "78b30bb63cd8ade71b7a77d426f4419d05f199ffef349e89faa9d9a5f21f6654", - "shared": "c9f8258f237db1c80702c5c4d9048dfba9dfe259da4aeee90dc2945526961275", - "result": "valid" - }, - { - "tcId": 175, - "comment": "special case for x_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f12f18bd59c126348f6a7a9f4a5fdd9fcaf581345073a851fba098e5d64b4a0c", - "private": "c0b386f4ef0d4698686404977e7b60cb6c1f8b6012a22e29d6224c5947439041", - "shared": "6600cbe900616a770a126b8b19156d5e27e1174bd538d0944eb3c0be4899c758", - "result": "valid" - }, - { - "tcId": 176, - "comment": "special case for x_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "bee386527b772490aeb96fc4d23b9304037cb4430f64b228f3d8b3b498319f22", - "private": "9886602e719bacafea092bb75b51ae7258abe1a364c176857f3dc188c03e6759", - "shared": "3fe710d6344ff0cb342e52349e1c5b57b7a271f2a133bb5249bbe40dc86e1b40", - "result": "acceptable" - }, - { - "tcId": 177, - "comment": "special case for x_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "cf911ac91b0d944049cec66ae5ef0c4549d1e612e107c68e87263a2fbcf8323f", - "private": "b83960f5d0613cdaac6dda690351666e9f277bba6bd406b0e27a1886bb2d3e46", - "shared": "71373ebe67f39a2c230027c7db4b3b74bab80ed212b232679785ee10f47c304e", - "result": "valid" - }, - { - "tcId": 178, - "comment": "special case for x_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "1e6ee536e4f26bbfb63139951a10f3bab62e19ed1ef8397178d9c5d04307cd40", - "private": "d03b75f09ac807dfd2ee352c04a1f25984720f785ffaa0af88bc5db6ff9c3453", - "shared": "238eef43c589822e1d3de41c1cc46dcfec7a93febf37c8546b6625e1a123815d", - "result": "valid" - }, - { - "tcId": 179, - "comment": "special case for x_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "2f1c79ad8488db6f5146903b2dc46cfbfc834bbcf09b4dd70c274c4b67ce605d", - "private": "d036948c0ec223f0ee577e390dbf87222358ed199f2823345ad154bbc4cbcc47", - "shared": "87a79c9c231d3b9526b49bf3d683bf38c3c319af7c7c5d1456487398da535010", - "result": "valid" - }, - { - "tcId": 180, - "comment": "special case for x_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "fccfe742a63ed9cb70958560b5a02260350a7ecbaf8c57ae045f671a29b4b573", - "private": "d054ded613febf2950ac5c927fcb120c387de0ba61b331cd33024c8b6e737048", - "shared": "d683ca6194452d878c12d7da35f22833f99728bba89931a51274f61210336a5f", - "result": "valid" - }, - { - "tcId": 181, - "comment": "special case for AA in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "cb3d4a90f86b3011da3369d9988597c7fff1499273b4a04f84d0e26ed1683c0d", - "private": "e82c480631fb153ba2211fe603032b3e71b162dbd3c11bec03208ffcd510655f", - "shared": "dbf6203516635840cf69a02db87cf0d95dae315da7fc1ec7ce2b29e1f2db6666", - "result": "acceptable" - }, - { - "tcId": 182, - "comment": "special case for AA in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "101e13f7bc0570fa2638caa20a67c6e0c21dab132f4b456191590264c493d018", - "private": "c0c01d28c1cab01f59700aca5f18d2697658b37fdd54a339ff391c0a1a1b1645", - "shared": "1fe314744390d525278b1f5fbf108101b8ded587081375ed4ac4ac690d92414f", - "result": "acceptable" - }, - { - "tcId": 183, - "comment": "special case for AA in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "dce1ec0843fa8f05d9c7355df598391f3de254ecd0b4ba9e6ea6fd9b3b6c2f67", - "private": "c82bde72df36479688c485a8bf442f4a34412e429c02db97704f03daf4dfd542", - "shared": "ad454395ee392be677be7b9cb914038d57d2d87ec56cc98678dd84f19920912b", - "result": "acceptable" - }, - { - "tcId": 184, - "comment": "special case for AA in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "21c2b56f0794cfee25cc9626677a6838000eb66d8c4b5fb07b2f1d912e97c372", - "private": "503f697617fb02a7b8ef00ba34e7fc8ce93f9ec3e1cbfe4bf2c05bcee0cb9757", - "shared": "c6d6499255133398f9dd7f32525db977a538118800bfaf3aad8bcd26f02c3863", - "result": "valid" - }, - { - "tcId": 185, - "comment": "special case for BB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "cc3d4a90f86b3011da3369d9988597c7fff1499273b4a04f84d0e26ed1683c0d", - "private": "58cd4ca1e4331188de2b2889419ce20ec5ef88a0e93af092099065551b904e41", - "shared": "0d74214da1344b111d59dfad3713eb56effe7c560c59cbbb99ec313962dbba58", - "result": "valid" - }, - { - "tcId": 186, - "comment": "special case for BB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "111e13f7bc0570fa2638caa20a67c6e0c21dab132f4b456191590264c493d018", - "private": "004ea3448b84ca509efec5fcc24c63ee984def63b29deb9037894709709c0957", - "shared": "7b9dbf8d6c6d65898b518167bf4011d54ddc265d953c0743d7868e22d9909e67", - "result": "acceptable" - }, - { - "tcId": 187, - "comment": "special case for BB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "dde1ec0843fa8f05d9c7355df598391f3de254ecd0b4ba9e6ea6fd9b3b6c2f67", - "private": "c8a6eb00a4d74bbdff239522c3c891ed7ce1904be2a329cd0ae0061a253c9542", - "shared": "fb0e0209c5b9d51b401183d7e56a59081d37a62ab1e05753a0667eebd377fd39", - "result": "valid" - }, - { - "tcId": 188, - "comment": "special case for BB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "22c2b56f0794cfee25cc9626677a6838000eb66d8c4b5fb07b2f1d912e97c372", - "private": "50322ff0d0dcdd6b14f307c04dfecefe5b7cdeaf92bffb919e9d62ed27079040", - "shared": "dbe7a1fe3b337c9720123e6fcc02cf96953a17dc9b395a2206cb1bf91d41756e", - "result": "valid" - }, - { - "tcId": 189, - "comment": "special case for D in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "e58baccede32bcf33b3b6e3d69c02af8284a9631de74b6af3f046a9369df040f", - "private": "e0328c7d188d98faf2ac72d728b7d14f2bbbd7a94d0fbd8e8f79abe0b1fe1055", - "shared": "97bd42093e0d48f973f059dd7ab9f97d13d5b0d5eedffdf6da3c3c432872c549", - "result": "valid" - }, - { - "tcId": 190, - "comment": "special case for D in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "c6d5c693fc0a4e2df6b290026860566a166b6d7aebe3c98828d492745c8df936", - "private": "5017679a17bd23adf95ad47e310fc6526f4ba9ca3b0839b53bd0d92839eb5b4f", - "shared": "99bcbc7b9aa5e25580f92bf589e95dae874b83e420225d8a93e18e96dac00b63", - "result": "valid" - }, - { - "tcId": 191, - "comment": "special case for D in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d15f4bf2ef5c7bda4ee95196f3c0df710df5d3d206360fc3174ea75c3aa3a743", - "private": "2864aaf61c146df06cc256b065f66b34985cc015da5b1d647a6ed4e2c76bfc43", - "shared": "afa2adb52a670aa9c3ec3020d5fda285474ede5c4f4c30e9238b884a77969443", - "result": "valid" - }, - { - "tcId": 192, - "comment": "special case for D in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "6dffb0a25888bf23cf1ac701bfbdede8a18e323b9d4d3d31e516a05fce7ce872", - "private": "184a6cfbabcbd1507a2ea41f52796583dbdb851b88a85781ee8e3c28782c3349", - "shared": "e6a2fc8ed93ce3530178fef94bb0056f43118e5be3a6eabee7d2ed384a73800c", - "result": "acceptable" - }, - { - "tcId": 193, - "comment": "special case for D in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "21f86d123c923a92aaf2563df94b5b5c93874f5b7ab9954aaa53e3d72f0ff67e", - "private": "c85f954b85bc102aca799671793452176538d077862ee45e0b253619767dff42", - "shared": "7fc28781631410c5a6f25c9cfd91ec0a848adb7a9eb40bc5b495d0f4753f2260", - "result": "acceptable" - }, - { - "tcId": 194, - "comment": "special case for D in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "587c347c8cb249564ab77383de358cc2a19fe7370a8476d43091123598941c7f", - "private": "50e3e5a9a19be2ee3548b0964672fb5e3134cb0d2f7adf000e4556d0ffa37643", - "shared": "314d8a2b5c76cc7ee1217df2283b7e6724436e273aeb80628dce0600ab478a63", - "result": "valid" - }, - { - "tcId": 195, - "comment": "special case for DA + CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f5c6311a1dd1b9e0f8cfd034ac6d01bf28d9d0f962a1934ae2cb97cb173dd810", - "private": "08ece580bb6ddf96559b81d7a97dd4531def6cc78d448a70cebabdd26caab146", - "shared": "2bfd8e5308c34498eb2b4daf9ed51cf623da3beaeb0efd3d687f2b8becbf3101", - "result": "valid" - }, - { - "tcId": 196, - "comment": "special case for DA + CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "9316c06d27b24abc673ffb5105c5b9a89bdfaa79e81cdbb89556074377c70320", - "private": "a886033e9dc2b6a913fffbc2bd402e8c11ec34d49c0dc0fa1429329b694a285f", - "shared": "d53c3d6f538c126b9336785d1d4e6935dc8b21f3d7e9c25bc240a03e39023363", - "result": "acceptable" - }, - { - "tcId": 197, - "comment": "special case for DA + CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8a4179807b07649e04f711bf9473a79993f84293e4a8b9afee44a22ef1000b21", - "private": "98b1cc2020a8ec575d5c46c76024cf7c7ad7628eb909730bc4f460aaf0e6da4b", - "shared": "4531881ad9cf011693ddf02842fbdab86d71e27680e9b4b3f93b4cf15e737e50", - "result": "acceptable" - }, - { - "tcId": 198, - "comment": "special case for DA + CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "a773277ae1029f854749137b0f3a02b5b3560b9c4ca4dbdeb3125ec896b81841", - "private": "c8e193de162aa349a3432c7a0c0521d92cbc5e3bf82615e42955dd67ec12345f", - "shared": "7ba4d3de697aa11addf3911e93c94b7e943beff3e3b1b56b7de4461f9e48be6b", - "result": "acceptable" - }, - { - "tcId": 199, - "comment": "special case for DA + CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "1eceb2b3763231bc3c99dc62266a09ab5d3661c756524cddc5aabcedee92da61", - "private": "88e01237b336014075676082afbde51d595d47e1fa5214b51a351abbf6491442", - "shared": "bcf0884052f912a63bbab8c5c674b91c4989ae051fa07fcf30cb5317fb1f2e72", - "result": "acceptable" - }, - { - "tcId": 200, - "comment": "special case for DA + CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "9a2acbb3b5a386a6102e3728be3a97de03981d5c71fd2d954604bee3d3d0ce62", - "private": "e82313e451a198dce4ae95c6832a8281d847fc87b28db00fe43757c16cc49c4a", - "shared": "e5772a92b103ee696a999705cf07110c460f0545682db3fac5d875d69648bc68", - "result": "acceptable" - }, - { - "tcId": 201, - "comment": "special case for DA + CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "27430e1c2d3089708bca56d7a5ad03792828d47685b6131e023dd0808716b863", - "private": "2828594d16768e586df39601ecc86d3fad6389d872b53fca3edcaf6fb958f653", - "shared": "378c29e3be97a21b9f81afca0d0f5c242fd4f896114f77a77155d06ce5fbfa5e", - "result": "acceptable" - }, - { - "tcId": 202, - "comment": "special case for z_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4ef367901aac8ba90a50e0cf86ca4e4a3ff164fb121605be346e2e48d04ac912", - "private": "a84f488e193139f986b0e5b249635b137d385e420342aef1f194fcde1fe5e850", - "shared": "7eb48a60b14fb9ea5728f6410aef627d1522fad481b934af64e2c483b64d585f", - "result": "valid" - }, - { - "tcId": 203, - "comment": "special case for z_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d1de303c4ddd05d57c29df92ad172dd8c8f424e63ec93445beaea44f9d124b17", - "private": "30fd2a781e095c34a483907b3dd2d8bd2736e279617bfa6b8b4e0e1cf90fbd46", - "shared": "b71bdbed78023a06deed1c182e14c98f7cf46bc627a4a2c102ad23c41cf32454", - "result": "valid" - }, - { - "tcId": 204, - "comment": "special case for z_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "5bccd739fd7517d9344bf6b2b0f19a1e0c38d9349a25ad1f94af4a2cdcf5e837", - "private": "28312e17b47dd32d90561168245187963c7469a31c881e4a5c94384262b71959", - "shared": "5bb56877caf2cdac98611b60367fbb74265984614e5e73996e8ea1bd6f749f1a", - "result": "valid" - }, - { - "tcId": 205, - "comment": "special case for z_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8a7a939310df7ea768454df51bcd0dfbd7be4fcbb2ffc98429d913ec6911f337", - "private": "a87640cf8237b473c638b3e9df08644e8607e563b5964363ccc42133b2996742", - "shared": "b568ed46d04f6291f8c176dca8aff6d221de4c9cce4b404d5401fbe70a324501", - "result": "acceptable" - }, - { - "tcId": 206, - "comment": "special case for z_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "fe3590fc382da7a82e28d07fafe40d4afc91183a4536e3e6b550fee84a4b7b4b", - "private": "780c5b882720d85e5ddfaf1033e9a1385df9e21689eeda4dcc7444ad28330a50", - "shared": "11fb44e810bce8536a957eaa56e02d04dd866700298f13b04ebeb48e20d93647", - "result": "acceptable" - }, - { - "tcId": 207, - "comment": "special case for z_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "fad9ab3e803b49fc81b27ee69db6fc9fdb82e35453b59ef8fab2a3beb5e1134c", - "private": "209e5e0ae1994bd859ce8992b62ec3a66df2eb50232bcc3a3d27b6614f6b014d", - "shared": "85d9db8f182bc68db67de3471f786b45b1619aec0f32b108ace30ee7b2624305", - "result": "acceptable" - }, - { - "tcId": 208, - "comment": "special case for z_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "98bed955f1516c7a442751ac590046d7d52ca64f76df82be09d32e5d33b49073", - "private": "806d1dee5ff6aea84a848916991a89ef3625583e1bd4ae0b3dd25c2524a4ff46", - "shared": "61d4ef71cbe7be3128be829ab26ed3463eb4ab25937c309788e876b23412aa7c", - "result": "valid" - }, - { - "tcId": 209, - "comment": "special case for z_2 in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "e59be4917b3f05b6fc8748c9b90f1b910273c9c6e17ff96ef415ff3d927d987e", - "private": "00f98b02ae0df5274cc899f526eb1b877289e0963440a57dd97e414cdd2f7c51", - "shared": "5ba4394ed1a664811b01557944becf7585652a8acbdbf806742911207bd79346", - "result": "valid" - }, - { - "tcId": 210, - "comment": "special case for A in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8c9885a26cb334054700a270f7a5f4aac06bad8263b651ebf0712eca1ebb6416", - "private": "d86c18f2be396b3bb72f22e6ece22e273af6e1506a1c09ad4d01bdd2f439f843", - "shared": "a5952588613eb7a5cd49dd526f1f20a4f0ffe9423e82cea302c2dd90ce559955", - "result": "acceptable" - }, - { - "tcId": 211, - "comment": "special case for A in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "f6135fe9741c2c9de7dcf7627ef08832f351cb325dbb3a26f93a2b48620e1727", - "private": "f81aadb9053eb698996d0f781d9cda67f82ddefa3987d276ff5a94ffdf5d255f", - "shared": "cb6fb623084b6197443ec9ba1050c0923332e5e829ae0194269cfaf920a43601", - "result": "acceptable" - }, - { - "tcId": 212, - "comment": "special case for A in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f6ffffffffffffffffffffffffffffbfffffffffffffffffffffffffffffff3f", - "private": "305b4db4321b4923fc559bf91df677d0e12c3a31b16ec655cb708b759d7c114d", - "shared": "9e526079c2fcf12426ae6c2a54b5ffb70f2ec662e29ea5ce0c8385c3b21cd162", - "result": "valid" - }, - { - "tcId": 213, - "comment": "special case for A in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f6ffffffffffffffffffffffffffff3f00000000000000000000000000000040", - "private": "900638d1979802db9b52e4dd84fa19579f61cd7bef3c0b62fcccaeaa15fa484d", - "shared": "6329c7dc2318ec36153ef4f6f91bc6e7d1e008f5293065d9586ab88abb58f241", - "result": "valid" - }, - { - "tcId": 214, - "comment": "special case for A in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f6eba0168be3d3621823089d810f77cd0cae34cda244c5d906c5d4b79df1e858", - "private": "38575cf7c8691ecc79cd5f8d7d4703aa48592ff6e7f64731c2d98a19aeae514f", - "shared": "603f4fc410081f880944e0e13d56fc542a430eec813fad302b7c5ac380576f1c", - "result": "valid" - }, - { - "tcId": 215, - "comment": "special case for A in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "60677a5d934ccbfab8ff5d8f085a0b553f94527d9c49ae140f8ed135e1449b69", - "private": "e88bd02c7016547a24f428bc2a9dcccad6c6f880c17bffcf66fc68459627af4e", - "shared": "834bbad5470e1498c4b0148782dfe630e8bfadff1997de802ac8ce302a1bda28", - "result": "acceptable" - }, - { - "tcId": 216, - "comment": "special case for B in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8d9885a26cb334054700a270f7a5f4aac06bad8263b651ebf0712eca1ebb6416", - "private": "9036ed7d68f7448ac440dc51216b49840dcabd3d5e32e3b4ffc32a5fe9e96742", - "shared": "ec9070ad3491a5ff50d7d0db6c9c844783dde1c6fbd4fe163e9ade1ce9cd041d", - "result": "acceptable" - }, - { - "tcId": 217, - "comment": "special case for B in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "f7135fe9741c2c9de7dcf7627ef08832f351cb325dbb3a26f93a2b48620e1727", - "private": "90c55e77aa0fe4afb1287109fd010f526364dea18d88e2fd870ac01b66e3fa4e", - "shared": "dc6d05b92edcdb5dc334b1fc3dff58fe5b24a5c5f0b2d4311555d0fc945d7759", - "result": "acceptable" - }, - { - "tcId": 218, - "comment": "special case for B in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f7ffffffffffffffffffffffffffffbfffffffffffffffffffffffffffffff3f", - "private": "a021ba2fd4e3ad57bcbf204d6f6c3e8018d8978552633b6dff1b7447bf529459", - "shared": "1b174b189981d81bc6887932083e8488df8bbbed57f9214c9cfa59d59b572359", - "result": "valid" - }, - { - "tcId": 219, - "comment": "special case for B in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f7ffffffffffffffffffffffffffff3f00000000000000000000000000000040", - "private": "3035083e984837587f6b7346af871bf3fc9581c50eb55c83aefabeed68cee349", - "shared": "15a052148abaad1b0f2e7481a34edb61403589439b5bd5e5646cecebe2a1be2b", - "result": "valid" - }, - { - "tcId": 220, - "comment": "special case for B in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f7eba0168be3d3621823089d810f77cd0cae34cda244c5d906c5d4b79df1e858", - "private": "30435ce187f2723f9a3bdea0eef892207e152e4cee8985fa72d2db4147bd2a53", - "shared": "1d048cbe2f8df07c233a8f93706f307d17130c2497fb752eeaa31fe3edfc725a", - "result": "valid" - }, - { - "tcId": 221, - "comment": "special case for B in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "61677a5d934ccbfab8ff5d8f085a0b553f94527d9c49ae140f8ed135e1449b69", - "private": "580f0a9bba7281a30fb033490e0f429f22e3f267852caeacefa3e5291f0e614e", - "shared": "cb92a98b6aa99ac9e3c5750cea6f0846b0181faa5992845b798923d419e82756", - "result": "acceptable" - }, - { - "tcId": 222, - "comment": "special case for C in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c8239b710136fe431fb4d98436157e47c9e78a10f09ff92e98baff159926061c", - "private": "709098feb2e25c67b4bfd3be0a01af409adb6da52b3fbe3d970642dd2c983856", - "shared": "f1bd12d9d32c6f4c5b2dcb3a5c52d9fd454d52ca704c2c137956ec8ad9aef107", - "result": "acceptable" - }, - { - "tcId": 223, - "comment": "special case for C in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "b7a2f79e0de9b58147691b5546d9ec463da8325e1440e58bb20aa129d1b97327", - "private": "185ac62e729f88528950926c0de7c481c924bf9cf26a122f443b861e8b6af640", - "shared": "e6f1c494c9e4bd2325c17183e82d31ab0bbee6c847d4b0e4a99c7c6891117c3f", - "result": "valid" - }, - { - "tcId": 224, - "comment": "special case for C in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "2dc624e1663f42a7b9336350f277541b50b8ddc7ee0d86133ad53273aed4e62e", - "private": "f03743eead7c2f7719794324f271072817d1a04cbda42b232f3bee43f397cc40", - "shared": "aa2a12edf752d279bdb000fb1405a5df8c5f1d41309b4f2bd41aed7ac1ed0149", - "result": "valid" - }, - { - "tcId": 225, - "comment": "special case for C in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0e5eceee9104a64f82c9093b9bf7b4076ee5bc70815af7ee9f942ef015756176", - "private": "a8fbb4f90da45794981405d59ef310621e3c3b6b7760b5e30308c7822c88ae5f", - "shared": "74d5606ba0b6ad1d8ba36ae6f264d6315f479b3984de573e9b001e0555247c32", - "result": "valid" - }, - { - "tcId": 226, - "comment": "special case for CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "737d45477e2beb77a6c38b98e2a19b05c395df7da998cb91f6dfab5819614f27", - "private": "c887886fd07107c7221f6d9dd36c305ec779ceca132ac933ff77dab2beac6345", - "shared": "8cf4538ae5f445cc6d273df4ad300a45d7bb2f6e373a562440f1b37773904e32", - "result": "acceptable" - }, - { - "tcId": 227, - "comment": "special case for CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "873f8b260ea9d9ddac08b7b030727bf0072315ab54075ecc393a37a975882b7e", - "private": "58096ee29361978f630ad1fb00c1267c5a901f99c502f9569b933ad0dcce0f50", - "shared": "d5766753211d9968de4ac2559998f22ef44e8aa879f3328cbc46aa858dcb433c", - "result": "valid" - }, - { - "tcId": 228, - "comment": "special case for CB in multiplication by 2", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "75e1587c5eefc83715d71020aa6be5347bb9ec9d91ce5b28a9bbb74c92ef407e", - "private": "0829a49046dce2c07ab28440dbad146453e128960e85dd2e6a69a1512873dd44", - "shared": "761d8cecf13f93b379a772e5fac5b9ffe996cad9af06152580afe87ff9651c71", - "result": "valid" - }, - { - "tcId": 229, - "comment": "special case for x_2 in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "f85a06065ea2527238fc5ec1b75ead9262e6b1aed61feff83b91230aeb4b7d01", - "private": "587ac36b9a23594632679adea1a826f2f62d79738220fb487464039f36ca2372", - "shared": "f12acd36f6299a4d192c03aa4efeea7df51e2d15d763172e68accf7bc6f5c230", - "result": "acceptable" - }, - { - "tcId": 230, - "comment": "special case for x_2 in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "6e0f1d00b1099d2a71f7be86655feb8988bba5577b02f964043a49f00c749613", - "private": "a8a442b7c0a99227b4cb5c75fb9e5a72cea25eba8a0bdf07271bb4a93c2b6665", - "shared": "b2bbbd173f41d952d329251da973a9500300628177ad0fb79d01e2e263905b38", - "result": "valid" - }, - { - "tcId": 231, - "comment": "special case for x_2 in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "696757ced3097fa960c8390a09e8bd6d390dbde8d1fa170261f3422edc192929", - "private": "d8f7233e9612c00c9dca2c751ec1d3f5f67bad77c2e714a20e71eb3f220a6671", - "shared": "45ecfa275f1daa25d3fadf33cdf89a152afea25eae37e68e00b30c367789887a", - "result": "acceptable" - }, - { - "tcId": 232, - "comment": "special case for x_2 in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "fd84b3f2fbfa16aebf40c27f46e18d77bafa0c7971bedde4909212e771bd3c35", - "private": "d80c7c7557c9907e1b11e844bf1369cba669bc38e9b7b253e51f239bda322374", - "shared": "595e144e07bbe65b38e0e4163d02ad75a65e422e74067db35c90dfa6e055d456", - "result": "acceptable" - }, - { - "tcId": 233, - "comment": "special case for x_2 in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "805485703ccfc4a221ef281267f52b61cebc879f0f13b1e5f521c17352a0784f", - "private": "8002a85115ad7b41c50f84f35fac750ee8e19734807102830ff6a306beed4464", - "shared": "226e16a279ac81e268437eb3e09e07406324cb72a9d4ee58e4cf009147497201", - "result": "acceptable" - }, - { - "tcId": 234, - "comment": "special case for x_2 in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "80642a3279da6bf5fc13db14a569c7089db014225cfcae7dff5a0d25ecc9235b", - "private": "782db0c8e3e68f106fe0c56415e0bd13d812dea0e94cbd18bdf6761295613a6d", - "shared": "790d09b1726d210957ce8f65869ca1ec8fa0b2b06b6bcf9483b3eb55e49e9272", - "result": "acceptable" - }, - { - "tcId": 235, - "comment": "special case for z_2 in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "84e827f78cae0cf063e4340198f788c284e07430b3a94a3873df38b1f872ce02", - "private": "909fb0bdbf53a69a2fe39c8b2497abd4fa57d2d54e046b5f514595e2c0f33d63", - "shared": "684cc83af806bcd9cd251e1858f3c10f0166e0a0cd2be154339a886b13e7c76f", - "result": "valid" - }, - { - "tcId": 236, - "comment": "special case for z_2 in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d445e1df0083bb6b8e886e6632251807171d4e88c41816fc684373c09d7e5d6e", - "private": "78a67909757248665f79371eb014825ab6bd4af3571f140389c636e004bcf46b", - "shared": "e426e4a3c54d3e77f4f157301e0ac7d9e12337a2b58df16780041cf6d6198c5a", - "result": "valid" - }, - { - "tcId": 237, - "comment": "special case for z_2 in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "f26aa6151a4b22390176f6233e742f40f2ecd5137166fb2e1ec9b2f2454ac277", - "private": "286a302d5b076d2aba7c2a4daf9e7cc9d8539b7c0391307db65a2f4220d30f70", - "shared": "862df92e25277bd94f9af2e1dda51f905a6e2a3f6068a92fabfc6c53da21ec11", - "result": "acceptable" - }, - { - "tcId": 238, - "comment": "special case for DA - CB in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "2b02db3c82477fe21aa7a94d85df379f571c8449b43cbd0605d0acc53c472f05", - "private": "a838b70d17161cb38222f7bc69a3c8576032d580275b3b7d63fba08908cb4879", - "shared": "3f438dbf03947995c99fd4cb366ca7e00e8cfbce64c3039c26d9fad00fa49c70", - "result": "valid" - }, - { - "tcId": 239, - "comment": "special case for DA - CB in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "d71dd7db122330c9bbaab5da6cf1f6e1c25345ee6a66b17512b1804ace287359", - "private": "b0733b4203267ab3c94c506acadb949a76cc600486fcd601478fcdef79c29d6c", - "shared": "95f3f1849b0a070184e6077c92ae36ba3324bf1441168b89bb4b9167edd67308", - "result": "acceptable" - }, - { - "tcId": 240, - "comment": "special case for BB in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "737bc07de0729bbcfbee3a08e696f97f3770577e4b01ec108f59caf46406d205", - "private": "d844a36b58aefdb08b981796029a2766101884b348f70eed947c2541064caf6a", - "shared": "6a969af6d236aba08fa83160f699e9ed76fb6355f0662f03dbc5915a3c23063e", - "result": "acceptable" - }, - { - "tcId": 241, - "comment": "special case for BB in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "9758061a7b3e2c02fb5c20875ae6b55b11fb6795990a0f4fdcd1147be5521607", - "private": "a0b7d312d9b832e124d1bc8cb21db545440e3cf14e7473ee9ccbe9b682f2156c", - "shared": "ab39db4aa29ac4017c7446f1ad0c7daa9a37f1b6b4f2e9d2902ccefb84839d28", - "result": "valid" - }, - { - "tcId": 242, - "comment": "special case for BB in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "37cd65d33036205f3449e8655a50d4b0c86fec02100b4f2db7da92dcf5e3aa0a", - "private": "787f1ddd78cc6473d3e63949409ad3f35bfe0ce0738f255dee682f2bfbc80f7f", - "shared": "13de41659e3e308d6e26c94282fcc3e0364ddf0809ddee6c8e7abb5091b02b00", - "result": "acceptable" - }, - { - "tcId": 243, - "comment": "special case for BB in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "a9b6e8081460383adc587c8f91a02c59a7a35576ca62436ccd1b5fef1b92545d", - "private": "4080ae60a85c1fa95aad9beabd98b405e7f28141bf08f2c9a4fdbde1c5680265", - "shared": "69ed8a0a27812ae6741474bd5c6a4e683a126649f7245aa0f91a3a384bcde25a", - "result": "acceptable" - }, - { - "tcId": 244, - "comment": "special case for E in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "fd1a2cd17a93f850deb8c45a2d34539232dfd8a558304209781c6cb58229870e", - "private": "08f9f4a4fac4db413315f74a59818b2452fc7b7685592e26556775f9b86d907f", - "shared": "010218bd67b1b92fee3e7fa4578c13617d73195de10279747e53ba01a254525a", - "result": "valid" - }, - { - "tcId": 245, - "comment": "special case for E in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "b88119e5ae6d9e6b912d52524739e612ef19ab7e5dd3d946cb9bc003c378f81f", - "private": "1888cfae3085867657b09435c42b74cc762457839451a3659db218d4214fdd63", - "shared": "e6b298de9cb6358fbbb00f11890f5714a3858e8f05a2a8d1cf39fe78cc55dd4e", - "result": "valid" - }, - { - "tcId": 246, - "comment": "special case for E in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "7b70e29dce0479cde4a36c7f9786582f104bc0788f046b48af495e67bdb88f36", - "private": "789ce13ed007818d7a5181e629eed944a20a058cfe39669c9831bfa5215a1269", - "shared": "967bbe298494b4a5f95853cfde9dc85970b2a4b5dd2c92782901e853957f5809", - "result": "valid" - }, - { - "tcId": 247, - "comment": "special case for E in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "2a209e2ace0e3d6973ffbf7403f9857ff97a5fdcd27f2c7098b444fc3c166738", - "private": "00022b43775ab2f4b91bc1cb54c97f78026289eaaf02abeed04ca84f736c686c", - "shared": "9f66848681d534e52b659946ea2c92d2fabed43fe6e69032c11153db43dca75b", - "result": "acceptable" - }, - { - "tcId": 248, - "comment": "special case for E in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f50709aca7f314e8d05b5ff97a427e427bd5e85c4e86712125076a771be21448", - "private": "8097a52fc562e8a516682f5363cc5e7c88e9c78e308df0deef40497b35cc127d", - "shared": "ea7572e27a9120de1f13b85710ba69a3471b7b3f5d12bc430c12c4bbf8aa3957", - "result": "valid" - }, - { - "tcId": 249, - "comment": "special case for E in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0f13955978b93d7b9f9a2e70d96df922850a8ffd8412e236fb074aef99d37d54", - "private": "4028802030d8a8221a7160eebbf1846116c1c253abc467d6e43cb850f1459860", - "shared": "e23d63a46be67c7443c07b9371ff6a06afcd7a5794bf2537926074b88190307a", - "result": "valid" - }, - { - "tcId": 250, - "comment": "special case for E in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "18ffe992a729ce70c3b7cdc55bab55f2210d279134b3082a9f682d3a0b131273", - "private": "d8515d45c7ab2b9529816543150068b8e4bb614cf2b68a8a99363975af503d74", - "shared": "33ccaf24e1e26290ed7e462093e9f77607ef52a0626b2cd2511c41cd24c13849", - "result": "valid" - }, - { - "tcId": 251, - "comment": "special case for AA in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c3ba28057728d0533965ec34979fe7bd93cf6cb644e8da038baa87997b8dc20e", - "private": "d8815bd144518fa526befdd373f5f9cff254d5d3c4660e8a90ef2a22c6876a74", - "shared": "74f95b4700f0185f33c5b5528ed5012a3363f8bbd6f6a840aa1f0f3bdb7c9650", - "result": "acceptable" - }, - { - "tcId": 252, - "comment": "special case for AA in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4eb095a86d1e781bb182233075ebf1db109d57135bf91d54fdb18eb371427640", - "private": "a82d996093eefdaf283f4049bba4f5af6ecc2e64894f325ee1f9ca1e156d0567", - "shared": "e9677b854851c41cc489e03981ae78690be6cbf0054ea9834759de3e27bcf03e", - "result": "valid" - }, - { - "tcId": 253, - "comment": "special case for AA in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "83f67d7c92b11c8fb072484642a01f43deb022b54d94a4015e39849a2e2e9555", - "private": "c02609df3d5436c123dcd7ee11f23f1da321666c09f379d37914203340510861", - "shared": "f148716ebe7269a7076f0cf1f22b6978d3c7e3607b0bcc87a8c7a85b9fd20c2f", - "result": "acceptable" - }, - { - "tcId": 254, - "comment": "special case for AA in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "20cc75d376d8453b9d049c84f58eafcf61126c08a03661e735f0a8be228fd466", - "private": "a0e3b78c0f3be2a760b2c916f244df219624fdda2e9e31b15328f4a77690296a", - "shared": "1d5c123e88e9dc7a3b16ec90b60578dfca7e11eab9b88c6eca7bc33d91fde83b", - "result": "valid" - }, - { - "tcId": 255, - "comment": "special case for AA in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ef31b43d19c0a5434deb56129c16298a394a7032a2e52cb997476bdeca325b73", - "private": "701f130a290584cb28c7d6539506a1a054f926a17ef7c568ae43047c05e10f60", - "shared": "2fc065ba8f5040a0a659f6f7330554bd1b9d7c893b91e316e0af90c37af4f135", - "result": "valid" - }, - { - "tcId": 256, - "comment": "special case for AA in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "d8c8e2c6f33a98525df3767d1d04430dab0bda41f1f904c95bc61cc122caca74", - "private": "d0e67f68183a4c1aed9c56864b36278bb7bb75d57a78321bc7c24ff61636607a", - "shared": "ef7612c156078dae3a81e50ef33951cab661fb07731d8f419bc0105c4d6d6050", - "result": "acceptable" - }, - { - "tcId": 257, - "comment": "special case for AA in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "1833619516b80db0c05b225509e6698df028d83b66ed6bac6f0f6308970d2c7d", - "private": "88eb7775dacc32b045ceb35f261b3616315efa98b780e08c79d544edadb5467d", - "shared": "a3cf3d81ec56896a68fca0da6335171d0c622568738c0db26fe117033726a049", - "result": "acceptable" - }, - { - "tcId": 258, - "comment": "special case for AA in multiplication by 3", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "e2e989aad2397fc34b6cbe2db27d5ab69b28048383c91d9e8226d548253fab7e", - "private": "7055b1c0576e7ab6c89fcc1ce49e79c8c371bf9fc2b22b8f8396a9b64c5ae26d", - "shared": "e7f45823a45b6a46192b37d73e8609b5bda68cd7cfbdccaa49082080993e640f", - "result": "valid" - }, - { - "tcId": 259, - "comment": "special case for D in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "b9bd793624d6a7e808486110058853edb25e136bd4d6a795d6d2ef53b25e3804", - "private": "906a9bfcfd71014d18967680d4509eaa41c666424af98bf9ff7ff49eb1baba41", - "shared": "7c6148134c9e8b2ba5daeca41e6a1f3a82d8f75d0b292b23c40fe7f5ce0a2b7a", - "result": "acceptable" - }, - { - "tcId": 260, - "comment": "special case for D in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "e3f444e208da9043f3f74c20e28d7f404bb687a346709abcd555156f88607820", - "private": "28392b1b035a8465aa22aabb571061c6effeed40cc2530b628e4fd40395ae04a", - "shared": "ea5e772bac4693ce69ea3ac761011fa7674037653a433c7f05456e7291cd3c4e", - "result": "acceptable" - }, - { - "tcId": 261, - "comment": "special case for D in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "87b43f90f76d12fb3a469fa8687c27e369d4a82f95cf95e8dc3970de8f86d92b", - "private": "78cbb35204cc88676c14e0ff18171392e998411b23d905d4c4dceab70511f442", - "shared": "81c395aed5cc5f5e2a206a8a4cacecd501df5b81e49433835ad8a3779edffb30", - "result": "acceptable" - }, - { - "tcId": 262, - "comment": "special case for D in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "86441ea06c5cd2a34c6b51261e93a2f30ea7db0f74e14c42f0fc443c6735973c", - "private": "a8225b49ef7b7330e3de787cbc40479644db7ab126370295c94189673430d745", - "shared": "513eba5870dc5187e2552fe3ba8292b516d2af9ecb9a9bdc51eac2ce2de40112", - "result": "acceptable" - }, - { - "tcId": 263, - "comment": "special case for D in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "4624aa4ae9d12725bf92b85f93e3e8cea16b7bd83fda0eb18fab2dbe0e8bf742", - "private": "0841e1a5c7420b94b6cc6991316ebdd608626339c09d0f67b24088588b9d0d49", - "shared": "983b7e236ffaddb4b759b7353fe87846f59fb6f28a3ed65c256176b6609b7c6e", - "result": "acceptable" - }, - { - "tcId": 264, - "comment": "special case for D in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a625a5b7a04cea462d123b485c39ea44a8079aa223c59e9ca97abcd30b500e4b", - "private": "08ecf76e31a23039ea8a15ee474b6251a9d725bff1a5751eb5ecde9d7d4e2f49", - "shared": "c941369b085c7465d50d23ceaf6717ab06e24638f217a7b8055ce8ebd3ca1225", - "result": "valid" - }, - { - "tcId": 265, - "comment": "special case for D in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8a5f2063f259f3317ae3e0b459f82c4677666e49a2eb9bf0369aee663631265b", - "private": "6038fb0a830d1001ca8ea74a613ea98f6ab8512644e55e8d45a29071bd4bef45", - "shared": "a3f7e169db44d0d179c242e66347364ab92744dc6ad80e4775aef7f4ff9d5f34", - "result": "acceptable" - }, - { - "tcId": 266, - "comment": "special case for D in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "54cfb6ad0d03e3115acafee12606397f2bb46a8c5f326a255c494118aead3b62", - "private": "c04cf129f0b33332e2654f8e45225c042d7fa6cbc793c88bd4c731985289b045", - "shared": "401aabfbb73fe6694c446ecfffb43006427a9d4756e049a1ffc79578d62f1660", - "result": "acceptable" - }, - { - "tcId": 267, - "comment": "special case for E in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0ee3bee8cb3a0afcec22fa2233706e8ec29ccf1af212c0a674745ebba34f9d08", - "private": "3806b036c92d7bc0771998d24dbda2945b601d42449bd3ec4bbf3757d01b894d", - "shared": "20322dd024fb5a40f327cf7c00da203734c2a279b9666a9ff7d8527c927b675e", - "result": "valid" - }, - { - "tcId": 268, - "comment": "special case for E in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "797ec7512afbf0ad918d0e4947903be95234f3abf36750a8f854888d117b774e", - "private": "380d9056b5a2f4b3dffb30e6ceb722ac4684245f1befafb5661bc8c7a9ad4c43", - "shared": "46152d59c2d2f3ecf03ce652d2b6978d401d5ede4570a6c911771bdcfb37cd41", - "result": "valid" - }, - { - "tcId": 269, - "comment": "special case for E in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d570c7810f69e502b355253afa7c667bfa5060d90dc86e358ab445f6381e415d", - "private": "384929a42c8d8df146db9508e2f21a4e8cd4d99c1b1338df17a457e88afb0043", - "shared": "37567f7ec0449c7b823cf7b0e219e9dd880e56a1464d0417a9e67eff42332866", - "result": "valid" - }, - { - "tcId": 270, - "comment": "special case for E in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "2c611cb94448f1c7822425a4cf5356236b90a555b1ed4747820ba7f739c8f57d", - "private": "48a986825b2680e2f2547ba75a9599b04ed57f8ed18d98e7099c544efbdf284b", - "shared": "fbf6587ec181116cf1ace7dcd548029d69c130e50fcf6ad5dfcd25c23ee9f939", - "result": "valid" - }, - { - "tcId": 271, - "comment": "special case for B in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "e559c417da7fd5851352f508b90031d49b5d2d0aac88a9c8b5fb6e80165ac10b", - "private": "98452ad7df4e26bc4b3d403f9ebf72bb2d7b6b7d5860dbf6fb9a4f78dc02704a", - "shared": "c7c6f6d7ce1e4f54c727e5900686c34e6a6953254bd470bbbf0c7c18bbddad73", - "result": "acceptable" - }, - { - "tcId": 272, - "comment": "special case for B in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "746d97e7774292a3d703f604e79d8764c99a6a2fe280eaa9811115f5e038f21a", - "private": "a8dbc9be5034ed7fe7f469264f2135e9c67cd30f525570d2d841e4bdeac52349", - "shared": "cf7d2a66ea4dfed94469b2d343533ff302a576f8402ed2187904437038e54665", - "result": "acceptable" - }, - { - "tcId": 273, - "comment": "special case for B in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "1f354aa8ffc4eae2b40dad2ebf830db3feb07e2a1a2da39e55df87c8c613de1d", - "private": "f8d26878dff25ced02d3b27ce74002695bb879b3c4328930934315ecae842b47", - "shared": "b204d3bbcbdc624f9f1a743fa3daa8f4c8785ed088d37d08cd13c601170a461b", - "result": "valid" - }, - { - "tcId": 274, - "comment": "special case for B in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "9c3f0023e1a4832586af2483bbec64ce9f06f3ea806d4019a5e4abb1b5627029", - "private": "d0f5e9c43c95b1ffc36f832b943601d5e17647f7d78e2e7710ace63ff274d447", - "shared": "b9f21465615f39dddcc37520ce9b956f7de9883ac93a870d74e388b8e1775463", - "result": "acceptable" - }, - { - "tcId": 275, - "comment": "special case for B in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d05656aa014d476022dfc55e8d3b4884ed0bdf85209be8b55351394d52be684b", - "private": "700679e8c24df828f2e5212a3263d5e93ea61679988298bab3b480f46f961a48", - "shared": "20f1fc613874495f20562c10b7a8be47bfc12c168d829d6321aa2de17060e40d", - "result": "valid" - }, - { - "tcId": 276, - "comment": "special case for B in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c4a19b8686e18c29359aa548427f06a368d55a8737483d4893523adac6795a4c", - "private": "d0d077c9461f747e5660be85cc620428b4cefe805de0fd254adaa465ea5e784f", - "shared": "652b18ffd41cfb7d1f0b6dc79baa3b2a392ef1617f5cf6259b5b4ff065916a16", - "result": "acceptable" - }, - { - "tcId": 277, - "comment": "special case for B in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4989de79853ff35be8c9f92fc94674feef38a0e65788471c521f8e259adf015d", - "private": "00711ac08ef88c3d43a3cbda67b6fe5f34f54723dbe6d725c8a3569070ab9a4e", - "shared": "679825c259392d86f8edb15328d4faf52300779d979a503a76e27be3d7a85e03", - "result": "valid" - }, - { - "tcId": 278, - "comment": "special case for B in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a981483cb0ea4385ffbb552826c3dd110d4ae89ff52ed0cd6018f99d3387987b", - "private": "989a75b40451139ec36ca6aa043765c61a18be323a5987fcb025c2dad8d4bd40", - "shared": "9cadc14ac153fa383ef66d1833f589100dff90523272e32b06e2c6f1f4424040", - "result": "valid" - }, - { - "tcId": 279, - "comment": "special case for BB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "1df3dfdab74ff38177dac294b2da2f49a348bc3b3bc6ce9312bea5ef3ecdd30b", - "private": "90c3cfedd919a2ccd51fb455649e3ad2da1ef0ff619b59a7f9c55a68a8219645", - "shared": "bcc95fb4890ed311f3fb4f44c2b60866cdddec97db820a7f79f475337e16284a", - "result": "acceptable" - }, - { - "tcId": 280, - "comment": "special case for BB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "fc6b718ba8b47d24b1cfd6b5d0dd8b20fd920960fabc302dbe4f93bd2a06e933", - "private": "e8fef5c9b60f84984e8836d535acb372096ba8159824a0b49a17eccda843bd41", - "shared": "06f1b495b04a0010845c9d39b13bf2784ade860d9632c8847618c0b34297c249", - "result": "valid" - }, - { - "tcId": 281, - "comment": "special case for BB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "b279b6c065f95c7040f148bcb4a3d310e34bdb005931a879be469573deedd041", - "private": "c0e05bde7727db4e352b5e7f035327b4d86a42d513ca116e22d64a4ede56434a", - "shared": "cce7bb644df94501421db49d15e821c7b0aaabecdf8837ab989b1f23bac08f35", - "result": "acceptable" - }, - { - "tcId": 282, - "comment": "special case for BB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "98e2cd4c10554e41b0a3e41082c8b6b61b55447d26c0aa97f9a06baeeb54b55b", - "private": "d87308bf753573f596ac8330b204014b2152dbdfc9881a0d9975058582bdf646", - "shared": "71fdd3405c30805701ae4dfad98c493aecfcf2e3b563e7068373c1b19137c268", - "result": "valid" - }, - { - "tcId": 283, - "comment": "special case for BB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "872897f1bd1885da08b9d03e46811044fbb04186ba30c806f38b94ebdc27186a", - "private": "d80059a8a387e16f6ded6e7e980e806d1f78b470bb61103d0ca70623ccee8b4f", - "shared": "bf280aeecb74ab34e1310aa6fe8dc972f94dc40c7f88b72137ccfe34ed343c13", - "result": "acceptable" - }, - { - "tcId": 284, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c08f72760d9cb4a542aad6e2af777920c44563bd90356168c3608c6b9af2ef0f", - "private": "b0a4fe63515169bd82639b515ff7e5c4ac85bba0a53bbaca80477eb3b4250d44", - "shared": "72566a91ccd2bcf38cf639e4a5fcb296f0b67de192c6091242a62fae467fb635", - "result": "acceptable" - }, - { - "tcId": 285, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4f03849c24d584534d74302220cfdc90e1bc360bb5e297c0fd0fd5f8d799e416", - "private": "984256b12ef154ff6c2e1d030826164cba3614e3df7688d82b59e16201c9114d", - "shared": "24acb4afa63919621df795206c3929b599ec9d253693895d51a0555072e89a34", - "result": "valid" - }, - { - "tcId": 286, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "4959771a931e242d5713d5cb76f33310c6a283df16645604289553809cda6518", - "private": "6847141d5d4377af96a2a647c642ee81600fe48d3467e3a70f3ee312bb621742", - "shared": "5ba2112a41b5bb381f202446fa9f23c54d2de149f9ad233753417263840ea432", - "result": "acceptable" - }, - { - "tcId": 287, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "f6fe690cf547049635bb3a7785537b4379c9ee06b46120493b8bdb152e09c81d", - "private": "e85f1164e2ab6faf62667c74b03ce529b49a0e2041b1ac0fa242e522d2b7694c", - "shared": "a87c9fdf40c409b9edab481b2cc69687ee1ab92e340c3db0107d40b5de6e7a20", - "result": "acceptable" - }, - { - "tcId": 288, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "b468681a1275850c11d37ec736af939a75a7098514e04cfc1c6ca78239a88426", - "private": "281e1bbfa711de69921a64c5d2183c338db5504606ce2b6b4ce1cdd54b41e14a", - "shared": "3be98798f01e71639f3cb8fd4a17bf273e10c67f8974dd9802eed59d847d4020", - "result": "acceptable" - }, - { - "tcId": 289, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "2d71e8457099e3f445f9e2a14f18b0f5914bb35f482f9c069b64bf63710d4228", - "private": "20aacf1902b3cd609d7ee15cc96453cc22e2899d7d17852680f2a728bac6dc4a", - "shared": "338c9917dbf11a0cabe8ad4a65959229bc00f99c211e752b20b8b49b87756d0b", - "result": "valid" - }, - { - "tcId": 290, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "fa8f24e944de5d003746d4630350c0f4f6175a3269c19184824105398fbdd329", - "private": "009e8e9fa993804dce94cecb96b1de2568245a97059e4d7ae116ecdb1badd141", - "shared": "56e2bfc7f6ab7da8fc734afc515e57d0794d002434f9bc8e18bd0b72c0df3c4a", - "result": "acceptable" - }, - { - "tcId": 291, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "ae4e37ef53c79e25e8275a60f2fc1dfc277ebc5d3b88428c6432c3f98494212c", - "private": "f01574643f231ffac055bd235ee74dd416b94c8e55a2ab2b4d13a8b788d90148", - "shared": "17fa1276d9fd5025172736449a1c0ae33512e5037014a18db5903e47bb3bc950", - "result": "acceptable" - }, - { - "tcId": 292, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "95e56a830792478f7c42504043a9cab8e2eebff5fd90983709e29e03c0a41b64", - "private": "3800a42659954281ca266d7cf1ea9db6d79891a406a70f9e84c3570a6a12d24e", - "shared": "167a3b2fdce9413c89ee892daf9f839a2eea80ea8044924035db1724a5b0217c", - "result": "valid" - }, - { - "tcId": 293, - "comment": "special case for x_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "5f16aa7ccabf4da6b686bd28c7460e106bb1b97a823792527765c29a9ad8fc71", - "private": "70a826b186962218dbafca113319daefb5ddf3cf14e15fe3faadc4c0a2e46648", - "shared": "30a4ba793f2dffe1700c61428b4d84b5fcd0aa99a23b903f84a48eca5cc9fb0a", - "result": "acceptable" - }, - { - "tcId": 294, - "comment": "special case for DA + CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "47fb78111805a11982a3d6c5d83e8e189e7fcc462c9abf805d3625be7a6eac11", - "private": "a85a5eda0a269500b3ab0b58495fc254c2691028ac533494b5f86d44e9dc654c", - "shared": "2bf9ab750bd58ff6f877b783eda45a71a65cc9b7c037fcfef4cb5f4c8842f529", - "result": "valid" - }, - { - "tcId": 295, - "comment": "special case for DA + CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "03b8ca5efd1777d6d625a945db52b81f11214daf015d09fdc9df7d47b9850e31", - "private": "183f28ec867624ef5eca4827ed0714a5525ef21d5e35038b24d307a3391a2846", - "shared": "35e9289234bd5e531da65d161a065a14f785076088d741c9a2d886efd7d17921", - "result": "valid" - }, - { - "tcId": 296, - "comment": "special case for DA + CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "4eca5f8731b0fa0c106acf578b83a350fa8173a290f1eba803956de34eeb7671", - "private": "888c6444ff5eb482b2b10bd4e8a01bdccb65f32934d8026106f16a91349f484c", - "shared": "833afb867054b8b9ac70d6013c163e8b7676fd45ae49a1325f3acb75975d8c13", - "result": "acceptable" - }, - { - "tcId": 297, - "comment": "special case for A in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a5562b4ba86b464dff4c2cfae85b384be211771efe8a9697e51d84de47f1eb14", - "private": "c8a85d140ba150f5c6a8d3cb363bcbcb75365e51c61640e974a0725b5e9d5940", - "shared": "8a914760129575c8ab3270d04b0465fc2f327acaf1676463113803bbb2ec8021", - "result": "valid" - }, - { - "tcId": 298, - "comment": "special case for A in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "88ae1631cd08ab54c24a31e1fec860391fe29bc50db23eb66709362ec4264929", - "private": "90a3aeb1417c3d61c1efef1ac052218fb55d3a59c4fe930b5a33cc5183b48547", - "shared": "c1988b6e1f020151ec913b4fb2695bae2c21cc553d0f91cf0c668623a3e5a43d", - "result": "acceptable" - }, - { - "tcId": 299, - "comment": "special case for A in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "cbc4d55d5bfddd0bc5c5edbe3a04836b2c701d25195b26221cbea19311e55a3d", - "private": "b858d7414bd9ab9a3ebea79064ab87bc050e74407f4d4748f62fa4d9d203b640", - "shared": "bb24817bd9fff423dc0972908e2c03fddf4dbe100016b459f28fe9594adb3714", - "result": "valid" - }, - { - "tcId": 300, - "comment": "special case for A in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "d66a2f9f7577e2df4a56cb51962b3056ff5cc0494c60f39511782e79923edd41", - "private": "f825edf1f79eddd715a72b3ac267d6b2e97e18bb13bcafdac5940370b85ba64b", - "shared": "b3b4513f8a3102e1ae782fbc69888177f2c24c569303a5d01ab1c3c5e285524a", - "result": "acceptable" - }, - { - "tcId": 301, - "comment": "special case for DA - CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "de0fed2fab6e01492675bc75cbe45d7b45b0306cec8dc67611699811c9aaef16", - "private": "b0a710b470e324bb56a7d8ff8788d05eb327616129b84972482425ea4ad4f34b", - "shared": "471ba91a99634f9acf34fd7fd58f72682be97ee1c821486d62ba4e448cbc0417", - "result": "valid" - }, - { - "tcId": 302, - "comment": "special case for DA - CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "6418d49fe440a755c9ff1a3582d35dc9b44c818498f15782c95284fe868a914c", - "private": "b898f0329794747d33269a3989b67e43a7ab5a55fa1210b0e5dba193f4fa094e", - "shared": "cdb3ca02d5fdb536dbc7395bab12bdcfd55b1ae771a4176dedb55eb4d755c752", - "result": "acceptable" - }, - { - "tcId": 303, - "comment": "special case for DA - CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a89bcfa236bbccf07c434b59f8655fb085b6cbe5ed6376281df813afba22b752", - "private": "a0528ed9a8ec22ebe9cc2e32fafc3f467500a9a22f5377382df6604edcdf4f44", - "shared": "cd3245403fd9edfcf91c9581ebb2eb7c77ad6837fca372479e78de9faf60a34a", - "result": "valid" - }, - { - "tcId": 304, - "comment": "special case for DA - CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "cdb1f95f6eacc24b6d029c6ed976666dc51794db8e4aa966ba850fd7f5048965", - "private": "f06888bde75d689d056874f6436000497d22d8ad9b95a1c67de1dda4ada3164d", - "shared": "ab7c47ecb0c0167156f44f66a527264b958fc992c21ce98cef3ae214d66bd82d", - "result": "valid" - }, - { - "tcId": 305, - "comment": "special case for DA - CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "9491a82744f1cb6105b76b0442e54e605ac67f47a1b2b3b552d486f75bd98e6a", - "private": "e034fcaa3ae40603f9b22af159fd67ef009380946de92cb1d83cc489e8b35041", - "shared": "1bfa264a7c7229147a20dd021211891e61f5d8c76cd83f0be24bc70e466a815b", - "result": "valid" - }, - { - "tcId": 306, - "comment": "special case for C in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "4d19e156e084fe582a0eb79b2f12b61d0b03f3f229227e798a933eea5a1b6129", - "private": "702a7448c0ed58e1f4e0e332d096a36360beca2f6955c815bc120b3a691d7742", - "shared": "c46057fcf63088b3a80e0be5ce24c8026dfadd341b5d8215b8afcb2a5a02bb2b", - "result": "acceptable" - }, - { - "tcId": 307, - "comment": "special case for C in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "cc4729c4eae292e431ec3a5cf5020e19f9bea50ef3218d9a790034526c3ee14a", - "private": "50025cb508ad4faa06fafd0f4a33b747ccf1b3573885d3426500d51b56300144", - "shared": "d4361e26127adfbe37c2ed8f42cce4ebab8ab74ed9e74f14c3435d612c1a992a", - "result": "acceptable" - }, - { - "tcId": 308, - "comment": "special case for C in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4a474249af8f771f0cfb1116f24fda4c42f4136d2afb766d1b291c73c6668d5a", - "private": "7082fc53299a4d30e5d0c383c035935b1eeebd9408fe4d04b93eec24be52eb47", - "shared": "80dfae7a28bb13d9e51ff199267cec2a19dfc8b6f4974e3446b2f62fe9b62470", - "result": "valid" - }, - { - "tcId": 309, - "comment": "special case for C in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0f2a5cbbe503139531ac0529183da8e624d25286f6e35d1407ab1f4d76ebc260", - "private": "98ff7e711d65cc7fd9d0ac12dfe8b894e0a93602ca9e75bf0eabbf0bfe670148", - "shared": "7a5c373065e339b26ee537cff1cf4597cfcb4bf2dc7c4bcfec9884443281c273", - "result": "valid" - }, - { - "tcId": 310, - "comment": "special case for z_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "2fe11d723dba63559e1b96147893cb7ec862711806316daa86cd4da769d4b22d", - "private": "b080f4ac1e758bbfbfa888a78cb8d624d97b8688002b2017e35f52f3d7c79649", - "shared": "c5edcc5d447071c08dfa8281414ae6a02de753e2f7bb80af5f6253e56db43422", - "result": "valid" - }, - { - "tcId": 311, - "comment": "special case for z_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "98e1211dcf6651fa9f2d00eb083ae5855869a2a53e835f2e03b30c0a19ba8051", - "private": "e815bf9a967e1208af8e74ce9af6d113dab17c01c90f1ae2bc25e3e2f9e3a44a", - "shared": "263a38fe538b50e8e988bf07ae86f33d49886b14c7143efd1d2025c840e36a25", - "result": "valid" - }, - { - "tcId": 312, - "comment": "special case for z_2 in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "2f1b938b81a4c90e1251135ad7fabe835f6a8bc5e22d4b2ab119f6f677877677", - "private": "4051b01cdf90af38f0a96ffb83f8d4133abe4fb035b6fe6f65276447caa7314f", - "shared": "340acf2801de71c18f4c79cfea372bc354e4c8a5eb5c2cce8b45d885df162f45", - "result": "valid" - }, - { - "tcId": 313, - "comment": "special case for CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "340b9f613550d14e3c6256caf029b31cad3fe6db588294e2d3af37605a68d837", - "private": "98c092363184e58ad6ce510bd32b309c9d5a46f8d9ee6f64a69d8180bbc6cb45", - "shared": "9efe5cd71102d899a333a45ea6d2c089604b926db8c2645ce5ff21492f27a314", - "result": "acceptable" - }, - { - "tcId": 314, - "comment": "special case for CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "edfbd6f09aa32435440b0ca8ba436308319613f8f2d501133c526c3ff55c7b3d", - "private": "686e51c00116d1c191aa9d5823b96e5956102e8fe75f5cf2376d99989f6f4342", - "shared": "196182095bcd2ef46b18f64c63607e0ab162a0869e6265ac8ae35e358c3d8a63", - "result": "acceptable" - }, - { - "tcId": 315, - "comment": "special case for CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "9b0538cd618b0a4de09e45420f84d54d74514fbb1a31c1a4aa1e93306f20723f", - "private": "208af2c9442b36b521fc3a1ecefe342aac308bd6e6296ee091c196dc02e7ae40", - "shared": "a3c6b75168211e8e0a49ca815bfe3f469f29864dc8166152b456e7074afa9b5b", - "result": "acceptable" - }, - { - "tcId": 316, - "comment": "special case for CB in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ae8cf2fcdde710c2c1184524bc32430874dfa08c125f61d6919daf8e66db415a", - "private": "c0d861a6d5ff91f91e3bd05934161ff0ab0f3ce7e4a2b5b4fcb31ae34b46664f", - "shared": "deaae6c9952844a3a1d01688e7105b0bbeadc160763c2002b6d0bcf35c22d123", - "result": "valid" - }, - { - "tcId": 317, - "comment": "special case for AA in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "2a59f478402d2829cd3b62e9f7cc01445e8e73a42cb11af00b6b9a9f0e44cb3b", - "private": "70785cad160972b711318659b47b574f6941ef6da1ea06508b2650f57ec9e54a", - "shared": "c204bd15f01a11a2efdabe2e902b7cd0aa079316f60e911b3ee5d46262e98631", - "result": "valid" - }, - { - "tcId": 318, - "comment": "special case for AA in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "836c8e45dd890e658c33e69b6f578a5a774c48b435bc3b91ac693df94a055857", - "private": "60afc8eb1f87df4b55287f3c4698c5f8b997b28a73c573fc273e9c467fb7e44c", - "shared": "c5457487e90932f57b94af2e8750403e09c9ac727e2bd213590462b6937b0753", - "result": "acceptable" - }, - { - "tcId": 319, - "comment": "special case for AA in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "59519ead7995a6df89bb54c840d61a8481881098b8a4f83c6a2f6ba800338257", - "private": "a83c11b2834136b9aaf0152d90e76e3c27177693a2834e8beda0a3571bce6947", - "shared": "4ed6f8d62932541c6bea16e03835f1f758a5c41722b5c9989c9c7cc08e34e37b", - "result": "valid" - }, - { - "tcId": 320, - "comment": "special case for AA in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "32f34da84ab4bfca369c4b884691becf54be7fbed16449dc86969da7ea9abf62", - "private": "b80d8795735806579e71759894939d758853592127efe84fc82eb7cdee45014f", - "shared": "521a5b8149a132d155e6b4ed113900506cfc2f76d2a3e14196d69eb85db3c952", - "result": "acceptable" - }, - { - "tcId": 321, - "comment": "special case for AA in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "82ae48dcf59bc5e469f9a11b18a32d4753ac818692dfae27d675411a2272b363", - "private": "e08ffa45efbe1f96584c76254554adb9177b58ed09609a6ce499e5bd22d35c45", - "shared": "e831d6cee95ca1b4c96bb89457562fff36cb4d08b81da89b810b425ecdbafd78", - "result": "valid" - }, - { - "tcId": 322, - "comment": "special case for AA in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "b33bd3ad14b66896f971cbdf27785fc3aa3cfb39adc6c29257d22ea4df8cbf63", - "private": "688e1bbb5114f34e8531c278b2d9714ba07c32a7aea6e627135bd1fc65238045", - "shared": "350e3ab9d0dbff78f3f2157428beba189333be274827c10d59673f21c0c48a24", - "result": "valid" - }, - { - "tcId": 323, - "comment": "special case for AA in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "18e58df6bfbe184b0e3c7c4bf2a051ed055b793501c0d4fc47bc8a95c4deec7c", - "private": "8036a4e2e93e9ed82d99d71a522aac9289bd9905fe41d01d08a499376a258442", - "shared": "ade71d6460287fe808e947560e67a9d6ff2f96eaa1355d2e9fbbe549e883381b", - "result": "acceptable" - }, - { - "tcId": 324, - "comment": "special case for DA in multiplication by 4", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "772e31e776e8d4f23b7af2037af28a37e68f61e740b3904f4ec4c90157be1478", - "private": "901b20f0cda74076c3d4bf4e02653cd406ed480c355159e22ca44b984f10764f", - "shared": "91a9bec28cf18c7094e2d80d2764df59ada0cb1946be422864bd7ad0e533b663", - "result": "valid" - }, - { - "tcId": 325, - "comment": "special case for z_2 in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a8d55d5c1137e9bb626557f9d6eea8d3120e9364f8bcd9b67934260b1a091801", - "private": "d83eb7affd1bcc1ec0b4823cee5cf0b15b5f57085aa2708ed437a2925329b550", - "shared": "6c1b8e240edfa5db2abb3dc12bcf9e8ac9ca10dd3507083746f6f36dc035d755", - "result": "valid" - }, - { - "tcId": 326, - "comment": "special case for z_2 in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "33c94be58b0f0e6cf363e1b12a2ebfb93040715be91518f21df2953eeab5fb01", - "private": "989eee317b9c254dc023f9e35eff0224bc2e0bc871996b946a96970e7506a85e", - "shared": "d4c3b3467714f2d105904a84cc7e81d7f291304e908041682d8906a683c12125", - "result": "acceptable" - }, - { - "tcId": 327, - "comment": "special case for z_2 in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "a218ae9624b07ce05178b9d0cc1b71dee21f27852a2ceb18610b4052b244f00f", - "private": "b8355455d358f2dd7c5707b2c6973c9c27b99e7d8ac1650c791e5fdbcbea4957", - "shared": "1ebe6ca711a649ae487b332747e3dc0306340560cab6bc6029e44f6a7e0ee41c", - "result": "acceptable" - }, - { - "tcId": 328, - "comment": "special case for z_2 in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "d7067faeafd3e966e57525f930b3317c9e8b9c9a9ae946e76c1e4602a59a7e33", - "private": "8065567ef082b16c20853487f54893012ba4762224e5c59f250dfbf82581e85a", - "shared": "03e7a777e648bdc612189f3cd42d34e35736d3e52e6edc8ac873a58e244a6073", - "result": "acceptable" - }, - { - "tcId": 329, - "comment": "special case for z_2 in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8df9682cbe8802478a8531377e752cdde54738d528d639bea9eaf47702f8bf3b", - "private": "00b51448139a61fe6c5fbf9395877d53d820ef59da3be856458b5eb90985ba53", - "shared": "308ef99dae1064a444fa90775b5dd5b1952d7224a0e5ae031df432640f416208", - "result": "acceptable" - }, - { - "tcId": 330, - "comment": "special case for z_2 in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "7d92706868aa09538638d633c255f333b9da03bc74b49b35941c57820cd3fd47", - "private": "e8eb9f6f62f93dbc325b833aa763a90f13f0acb2c2c4b8b33decd471ce70c45f", - "shared": "f33e2e86443a2c68823b72a2b59d6a028e0a8e283cfe29fea4f7aa22bd1afe72", - "result": "valid" - }, - { - "tcId": 331, - "comment": "special case for E in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "dfb1ffc176aff84db30182d2378f83728f83dd1b33d79856f3da5459cf9df907", - "private": "68a1a7ccc50bab4b01e55e18cbd464aff43131fb0741e68d53cdebfc54f33051", - "shared": "7b535fc31c6c2a3803d8bd45410a1781bd90a09205da28c9df120df23a9fa32d", - "result": "valid" - }, - { - "tcId": 332, - "comment": "special case for E in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "12e81e838b21eac96dc130432571216d7a9b4a817f1938721d2267dd150ebf20", - "private": "e075bcfc165a471b2f76c3003fb0172c82f707137de2fa7082e43a87a255935c", - "shared": "ca23a781da0911e4115a29a9f56447157c23bee187b0c17369c4f7730d781718", - "result": "valid" - }, - { - "tcId": 333, - "comment": "special case for E in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "832a46aec02240d716fe22dea94ad566a3fafbeedcce35c83e41e58076c99749", - "private": "c0e19634dbf6460e1486930c46e8556b3c16d6de959904600549bb3e08603455", - "shared": "cd0686b32ea4cddb8e13ff20a78d380749a5d4f6a3dc55d72f4813d949a0ea57", - "result": "acceptable" - }, - { - "tcId": 334, - "comment": "special case for E in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "8c8033432bcc12d479f67d6d876b1c8e89f16a234b9b093322effa9dee94554d", - "private": "b84caa18acc3db37225d32cab4f60e6fba4acab1277e20425d30f94cab2e2c55", - "shared": "a950aa57bb2beb9ed5d3228c7ef448dab69552f3d3b1e466accf41bfb6d5b874", - "result": "valid" - }, - { - "tcId": 335, - "comment": "special case for E in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "6df799bba6cdf5f46a57ab227f93fba491dad296a2fdb7e491921d610cce8f5e", - "private": "2896818cddf572521943e9f0c5e845f530b740427588a0f6de2504bd5bf40c53", - "shared": "54f5ae57e676d08c8f8a3cf891e36ddaab751093f92f409060c57e745941700e", - "result": "acceptable" - }, - { - "tcId": 336, - "comment": "special case for AA in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0c8090e1cfe7f761cfdf08d944d4aeb7a509a07a6101645b9a4c7c9e9c3d4609", - "private": "a01f0cad98cf2905b812d3530531bb3ac899391abd1eaf4a3ebed96ac6126f58", - "shared": "2d49b09f81f3f6fab2c67e32f1bcead2ad09ac9e0d642b0873becfb64de2ab23", - "result": "valid" - }, - { - "tcId": 337, - "comment": "special case for AA in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "08352936c8afd8543ac95f24bce9a07e3e3235763ea512a584298967b83c070a", - "private": "106b36344cc4a5a389d8168137786806ff03cd4a00f8636bb7e758d456151d59", - "shared": "a199368e683c3036a48f4c5f32b32a547dd39f3d1007ca0a0bebcad0a8ac6f5c", - "result": "valid" - }, - { - "tcId": 338, - "comment": "special case for AA in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "73bdeef8cc044f5ad8d6a241273e1995e0007dc9e6579046df86aa6cd97f5d2a", - "private": "88f9a0d2354adfcbab2d12a0e09b3c7719c944384edfbaa27fe0731cb9c6fc5a", - "shared": "5aa750de4207869ec7fddab34c639559b1eb27ef244aaf2a702c84963b6d6e7c", - "result": "acceptable" - }, - { - "tcId": 339, - "comment": "special case for AA in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "7fdd399b6ef4a3f5cade62e74113b29c27db15203f9b8e398d2c6f230051cd2b", - "private": "0811f2e560a205e96e28bc312bcad45fe8befefb7f6da5faa035311eed80b251", - "shared": "a6947ee089ff28ce3644ea4c6eb33dbb20c7974fb8d853f4e146e2466177502d", - "result": "valid" - }, - { - "tcId": 340, - "comment": "special case for DA - CB in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f0173a96273c646fb63d13b0c686b89e37676fcc7178faf4a6f4601f3068150d", - "private": "40ad984066a69080fb4a315878e736096cc577dae4c42c40d893d8c2173b785a", - "shared": "230b6aa1f24df90a60839179ba5e9de673cff11cab59e8020b20626c22090b0a", - "result": "valid" - }, - { - "tcId": 341, - "comment": "special case for DA - CB in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "255bbe7230cd2bee90d283f418a474ab30146ce5e801a0f5ed60ee8def3e6558", - "private": "48b10cd45639bbbf83a0b28f0dd3ad0b7b00caf48d05534480556a8278116d59", - "shared": "2299e384958bedd2c3d367759155136d1ff76e4434dc1d9e8212cdca52ea8421", - "result": "valid" - }, - { - "tcId": 342, - "comment": "special case for DA - CB in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "21accf97b7fee173001ccfcab21637c175ef5186ff0002502b3d52fa8c51e766", - "private": "e8fad77946e0de4cf4236798490b838948b82cfb29f8e7686001b11e8d961657", - "shared": "97fca065acd3b943c654997c0f125767f9abc4b7c9d8b7246942f12be65d9231", - "result": "valid" - }, - { - "tcId": 343, - "comment": "special case for BB in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "5b40777e80ff6efe378b5e81959ccdcbb4ca04b9d77edc6b3006deb99926fa22", - "private": "d07babed90b27c4eacafdc871703bd036b720a82b5c094dceb4749eeaeb81052", - "shared": "f482531e523d058d6e3fe3a427fc40dbce6dd6f18defbc097bfd7d0cdd2f710d", - "result": "valid" - }, - { - "tcId": 344, - "comment": "special case for BB in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "48d952a2924ff167f037707469ec715da72bb65f49aaf4dce7ec5a17039ddb42", - "private": "68a3049aef8c069b906cf743286d3952a888bf2b9b93bc8775fb5adde06e9f53", - "shared": "de88af905d37417d8331105345dabaab9fd2d3cb1ee902911c1c8eae2991d911", - "result": "acceptable" - }, - { - "tcId": 345, - "comment": "special case for BB in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a5ef265ccbc5c54021d34f82364a4624030f5b9d5ff7e63d7a379e533de5e742", - "private": "18d8c3d2a4e366185a85c38698d937e13bbbafdbdab1a0a83dbbe89badf70756", - "shared": "075d18ccc984761b70752279e7f6a757208f6c11e29480c32b40aba128a4d52b", - "result": "valid" - }, - { - "tcId": 346, - "comment": "special case for x_2 in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "9051e55a4050ef4dce0b0c40811f16371e8b16932541da37f069406d848ea424", - "private": "18efcd5fe345be4985316695391d2c952eee13b0e1ee7584721fbe8b19d4fc5f", - "shared": "212dbf9bc89b6873a60dfc8731a10be11ab2dca4b172142e6c9f06614cd72852", - "result": "acceptable" - }, - { - "tcId": 347, - "comment": "special case for x_2 in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "419adb8b1f2f87de016b0c78d1029a210492eb8cadd164b12cd65b1d57bf3634", - "private": "28ec7c693e222c72ac0815f1fd36661357e0a8da7bc996daeeeafcd21c013451", - "shared": "379f9221abebf3582681a0e857f3da578a1b0121982b96f14b94de5dc8b24528", - "result": "valid" - }, - { - "tcId": 348, - "comment": "special case for x_2 in multiplication by 5", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "13e00dae3b1ccc97ccd649088c4a7f32ca9976214d645667bd082039bbd9ab7a", - "private": "78b35e7ae549308b6414bb610196c04f2af79d4266c86e8a9ce0c02bbdb88d59", - "shared": "cff2596b7afe36f4cab9c70133d7aa0f9914f9abc6c3b9895472e2a5894a8037", - "result": "valid" - }, - { - "tcId": 349, - "comment": "special case for C in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "441c487a48f0a4989d931cd77a6142a0a13d1aabad82623ba8d94b5c374f4f08", - "private": "f0de9c5f8a9372f30c41ca47a55743ce697d46e32e7a9ae26d32503fd5222767", - "shared": "d47c46b4329bedcbc1986b3c6d2aa9bcd027d6b68925175d35bbb536b3440801", - "result": "valid" - }, - { - "tcId": 350, - "comment": "special case for C in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "0e67ee5c6b65aa802259810b2605f8d7accf9b49bf14cb4a536928e883172915", - "private": "686be5a12b310420f9bfb209381fd459a5ccd55c752b88337ebe89e1921ae765", - "shared": "1d730158da880533dbf1e6c64a8e99f9169611660969b0a84fb42dd8dc2efa3d", - "result": "acceptable" - }, - { - "tcId": 351, - "comment": "special case for C in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "dc9d7ef1cb49c191e258663a94e731b9c066c11a17d8b5fdea1987f5d9a00568", - "private": "a0c0337c5bec5ca24dea2f1d701498ae2bad87b8269ac23be113929fe4eb1963", - "shared": "07732529a628badeb8d74946775ba457c700bf8390f46bc523fb64e471c86a7e", - "result": "valid" - }, - { - "tcId": 352, - "comment": "special case for C in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "556b3ee7cd0d37979056ecc1f56a5677a4935be6e49ce28e394f8bfb73d13b6a", - "private": "b8824cfce5550b5e17b12f74e28459cab34eb49895cc36bf645a0cf00e3d2d67", - "shared": "9e3aae35fa1cc80a359878e212180294ff6608dcb4929e91901abbf976f39c16", - "result": "valid" - }, - { - "tcId": 353, - "comment": "special case for C in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "1211be5809605b54f5727d233c783a2a199a3db24ed4499d7b48c7603e4ad371", - "private": "e02dba7335af8fb9168de2fcd310c2e2df4a3e25263e0ab9ada87bfb8258a66b", - "shared": "880f6dc73220307a597670f3282fc366aa66f04a0a9ca30d895fdde337afe825", - "result": "valid" - }, - { - "tcId": 354, - "comment": "special case for CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "505e7851e2352e311ca9536a1fe6c0d95d648197374ce08e4b8a0fbddf62910b", - "private": "30ce71f856ceb874fe580039ca67e896e6d08207a73cd55db7059127c1342b67", - "shared": "ea62b0eda2d7b249a42417675a2b82b1e6c0d69a4e7cef336448844d2f432251", - "result": "valid" - }, - { - "tcId": 355, - "comment": "special case for CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ddf4e90503dd82610c3a034b925a880b72dbde30c626009202b358c6eb00f418", - "private": "e881f46d4141ea69a671649b93b63e97dc67c12521d445862f087b2626fa2b6f", - "shared": "302c4f83b5c5bf30c1e3afd9f643f65bfe56ca1628ee042b1ab7393bafe36c06", - "result": "valid" - }, - { - "tcId": 356, - "comment": "special case for CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "0e9c4431999ef1ce177e900d37ec6ae665e387e2d4fa27cba8e7baebc65c6520", - "private": "e879752683cd73a834251c65749135e06eb9064d3ae35095d88cde14a02ba366", - "shared": "8ff2ac65c85ee2fe9452fce460f8c87f9570d769cadddc87fe93ef8b7657c726", - "result": "acceptable" - }, - { - "tcId": 357, - "comment": "special case for CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "5761d6c08624104d4117ff17c75e9211a591c9ca9aecca3a665a7ed844195225", - "private": "20576ab456da26c18da5fbf06ec4d16564e111bfae2a92b9f6e1927c15770a62", - "shared": "97c91a23c3e4f3ff727d188a352b67ad490b62381566fb3e111cb67aa9e3435c", - "result": "acceptable" - }, - { - "tcId": 358, - "comment": "special case for CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "e92d45b3ec56531266303c5113c46310c41650001065b4d87b02b382fc82662e", - "private": "a8467418b924c2c003c56e1610a35469356360c29d52aa557a2bb30fb8a9a464", - "shared": "24346bb133dd9ae3ff02d2f50510b3a92d9030834d60e5af08b0eebbf1d4dd6f", - "result": "valid" - }, - { - "tcId": 359, - "comment": "special case for CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f38b63459d05e422ad024c2dcea5029a0a7a6b6c4c1d2093ce556aab331e2540", - "private": "f0f5e162923d7c299388bed781199417ade097475515162d9590976a196fb16f", - "shared": "b3453c9c82a2d1d956156de2399cb70dd4e1ec53aea967e035753c1cdae13c39", - "result": "valid" - }, - { - "tcId": 360, - "comment": "special case for CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a7ded0eea45a400b8f5637154d42974aa98c92962314d822ef88b01383a9da4d", - "private": "608fcf787fe789644a09bcab958f0737aa81a9e29d505f51035c78e374b9e46b", - "shared": "ebeb0c7b7a4165cd02a278f3a222c236eed83266b806d13494c1c3f98a2f3425", - "result": "valid" - }, - { - "tcId": 361, - "comment": "special case for CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "7b0ecb4c72ee147789d74813ced3ebe40f45c3da526ed1272952e453e43b796d", - "private": "58a3396d291eb23571b52d98a31549e514e501e8d0958ad9f25fe5a76c503e69", - "shared": "9213a53f22ff0cb5eca87b27b193c773bfdf4c01a193a11f37c157474e15cb07", - "result": "valid" - }, - { - "tcId": 362, - "comment": "special case for x_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "a244413ddc3a205d038d64266833eea1efba51ba62c9c6cdcdbe943be52bb00c", - "private": "d805a7014755dd656f98d2b331f2d2d4912725ef3d03752f26f74dc1ad61666a", - "shared": "66484a4120e0eb0c7e0505e1d2c5d15de9b52b72e094c9bac88634200c557267", - "result": "acceptable" - }, - { - "tcId": 363, - "comment": "special case for x_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ec3c8b0c10b1fa65dbbd17cf1ba5f86381284765709b07c5f0428e3d5bcd3920", - "private": "40cb1fe06b08f068f7080ba07c695eda91a2bebeadd4db95c97dd7c91af2566d", - "shared": "384f2221618e71d456b1551651efdb708a161d7f89f5604b27eb872d4aa93276", - "result": "valid" - }, - { - "tcId": 364, - "comment": "special case for x_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "6330d3e28a8b6126ace165a9dfccc6e4bd40dbc9768cfb16330cb7f27f906230", - "private": "8021464c64c9d6d3c0c852f6972d11969b04c9e066562fa7f0d5fa0d98ebad62", - "shared": "8daf5f4b84730144ea8a53ce39cc907e39a89ed09f0202e7be0d3bda38da663b", - "result": "acceptable" - }, - { - "tcId": 365, - "comment": "special case for x_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8678aa29cbc06e78b218d22a3e66c38ec0da8fdb0f2570c585c62517c9704f37", - "private": "707a2d710b32f55c6eba34898020a2fb981d61b1e822fca84c47d9321e279268", - "shared": "da8b7eba6f72c3f3ef33d8982093492e06be39bb0db29c465d95a8e52ef64341", - "result": "acceptable" - }, - { - "tcId": 366, - "comment": "special case for x_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "303289c2b1079ea59412faccfeba8c113d2299b9dcfedeabc42697b0829c4658", - "private": "204a43dea79d779577581b8c2a51be66e1effce96425b7422b9ca65bdf1a4867", - "shared": "0419a71a08d3fdd574cbc932e8f1605933ddcdd9774f5614269b7ed850c8650e", - "result": "acceptable" - }, - { - "tcId": 367, - "comment": "special case for x_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "3e6e16e02d44ebd94680832e065aeddcbb74af64fbb7c6d8367e7605be13ff5b", - "private": "58e4741735d2589322151947a1ce2f5829908626886941cb1631d25a8a684169", - "shared": "9f2fcd0c756288c1716ecd1f2a74864b93a7717bfaf5248858dcb6fdbea12864", - "result": "valid" - }, - { - "tcId": 368, - "comment": "special case for x_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a7c1716a41ed23a8870438714ff9745fb0e46f7a5baeb37c9a2d83fe477d146c", - "private": "d0af3428ea5205f6bf8d4f1b4e4903cd76f04236a1c0b3ecfdcaf28b21348e63", - "shared": "261ab6267c35a9755359e957473870522b7f923fe839f2b155408649cc5e8004", - "result": "valid" - }, - { - "tcId": 369, - "comment": "special case for DA - CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "dad981552c57541c57ef395ed770ce5edc48f8015461b2ba7aa831ec593ceb15", - "private": "c0ea97e442e5dc1c8142bfab7089ecb9bb9c5ae372f9907c2825e678defae567", - "shared": "9093bfa3ed3491d0891f02ae466e5e13c980df229db7404c5b9d34e4ed21c653", - "result": "valid" - }, - { - "tcId": 370, - "comment": "special case for DA - CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c588dfe6e733d90581cbe112079749d8eb30ab8631134ec29abfb98b32e76522", - "private": "b0333f09ac1eaacd3cd617eb8832e9de488b458b735cb4b5345f517130c25d6b", - "shared": "6e88bb6bf75596bbe5f1fbe91e365a527a156f4f1b57c13ac1e3e6db93191239", - "result": "acceptable" - }, - { - "tcId": 371, - "comment": "special case for DA - CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0670116a435e8d9b7a12ffc4322fd6b149d0b1dc799b5c0957d9d6e42546e824", - "private": "10719099dc63bcc282ef525845c108897ac9fae9590b593e0d505d1cf167c061", - "shared": "e6de74d2c5cea54094d7a70af03c768afe05d52a038bb72d56dcacf0ba502d74", - "result": "valid" - }, - { - "tcId": 372, - "comment": "special case for DA - CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "8b200dd226c5c0f7e116e5388ba162438caf1dddf4edc3b6ba838c21b5929737", - "private": "10e20e4fda57084ca90f7ad572a78aa8e6575c659cd01f30c43c58040c20e860", - "shared": "78c9c3aff9416a538ce3ea8fa553244528d1fbecbcf91695a33ca464ef76b85a", - "result": "valid" - }, - { - "tcId": 373, - "comment": "special case for DA - CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "419a076b179f79720096eaabaf03477e8f89d61f885c8d7f58f6eaa4fa77df5f", - "private": "a8312df473adfec7171e1635f5bad44f0753a88a6b3174ec5ae762703ae25e60", - "shared": "c1a96ccba08bdd82d0fc12e8cde4cc1f25cfd5276dce7f18e407ed0e4a898466", - "result": "acceptable" - }, - { - "tcId": 374, - "comment": "special case for DA + CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "aa34d772e9ace43c4d92f4f85596ab9ccd8c36c4f4cbddc819afe2a33cb8b216", - "private": "109697f400210f9a92de80a8bed264097199bc240e22767b54d8bb22050b7a61", - "shared": "2533b845bb83e3d48cffa8dbd1edd5d601778662d5da03759152a5e0a84b357d", - "result": "valid" - }, - { - "tcId": 375, - "comment": "special case for DA + CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "1f06cfe464ccc0e27a5ec5f9edd9bc7bc822ad2ff5068ca5c963d20edd1a2d22", - "private": "d036308a53c11bebcb02e83688ad74fec43f8462ef4d806272676637d99b3765", - "shared": "eb40a3974b1b0310b1597d1f1f4101c08dca727455a9d8224cd061a7aa3cb628", - "result": "acceptable" - }, - { - "tcId": 376, - "comment": "special case for DA + CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "9d4b2ed7817132af5830e899627ea97dc39bd3772e82f2d05769a918273dc02e", - "private": "786e5a5ff37405c769d0d3788c3c1b05a62a8442c385570e4438bc5f2eaacd67", - "shared": "9509757e289553cfa2cc71313473c3ff1eebce484ee237eae554fda3d3d22f0e", - "result": "valid" - }, - { - "tcId": 377, - "comment": "special case for DA + CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4e056b317a31dd96f8ec14b48474af587d195efcc2a70f01f052ef882d7b3a45", - "private": "c01f66cb094289d728421dd46c6f9718412e1c546dad70e586851be4da58bf67", - "shared": "bad9f7b27dac64b0fc980a41f1cefa50c5ca40c714296c0c4042095c2db60e11", - "result": "valid" - }, - { - "tcId": 378, - "comment": "special case for DA + CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "72c60535e9c423f302d6a10796d954d778032cd4dbd40ca0f359e204d67b6f4c", - "private": "3877d9ce25cededeb572604f2d123df685690c26e181f777ed33302b82082966", - "shared": "51c359768ab0219003af193e2bdb8e5cc9f8e176b8db49e597afca3e7125e370", - "result": "valid" - }, - { - "tcId": 379, - "comment": "special case for DA + CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "5856358ed420047cd084f17ae696bad79a4d26c6d5bb79bfb82bbc6332442d51", - "private": "50b84618d073c4618f9aa69a3b8518da76dbb2127286214fb43a2b44503b9969", - "shared": "fa9fb0df4cfbacd0fbf3262d3a1bf8d7aacb45f73bf94671775e509c8043df7d", - "result": "valid" - }, - { - "tcId": 380, - "comment": "special case for DA + CB in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c31e37b04332abca8315f317171566aef38111f622d8bffa29c23c0151cdad6e", - "private": "109acfa638e112f6bbec21e352a74e8fc9b7ffe5d9dc28634eeb516e59830a63", - "shared": "91ac72b0ed8d7fc4c8846b8a2530d9fb8f0532064880c00dab100c977697db28", - "result": "acceptable" - }, - { - "tcId": 381, - "comment": "special case for z_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "b775e016b32a97f49971121906763f3a0b41689092b9583b6710cf7dee03a61c", - "private": "685c0784aa6d194c1b859bda44c4e27cd1dfdf34776e498dd03d09f87ae68a65", - "shared": "11393bb548813e04fb54133edbe0626458e80981885e1fe5f3377e8ebe9afa52", - "result": "acceptable" - }, - { - "tcId": 382, - "comment": "special case for z_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "f8bd0e7cf6ec6186f205ab03ab72c8f6b3cde8f6ad9b166916a04d43d1d6d546", - "private": "18e9a05a20436cf0dbc3d5b92dac8d996e62ea11fbb3445f29195fc75a8beb69", - "shared": "0a83a224fbfcbc5d0f07f6dd8ebb2e9bbee8134f0fab268002ce837f5495d833", - "result": "acceptable" - }, - { - "tcId": 383, - "comment": "special case for z_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "8dfee48ad8b367488ea4dafcf7086e305356a80901f87c720149a5f522337453", - "private": "00e099eb23125dab5ec35a419d455d0ba8c01da160f9354e9fb21e6a55d55c64", - "shared": "45dc39831f3471d7466bbe29c8142b1a6d6b00c47fea021be2ffc452d9046806", - "result": "valid" - }, - { - "tcId": 384, - "comment": "special case for z_2 in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "8f68bfc57d792c322ebb27f44a37c1c93e7eb15c5d5fcedffc1de850487b3372", - "private": "b0ca251e0dbae7324a6ca0c2c8d6a888edd12d1447d400a47bcba004b648716e", - "shared": "a29005c6b9dbf1707dc2adce4506b55831e8675b7d2d54b0c1037741e3bc611b", - "result": "valid" - }, - { - "tcId": 385, - "comment": "special case for D in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ff0f15adeab334afeda3916785ddd38d252dce9876c2357b643b5dc2c06a3b1d", - "private": "a8b64b8ed397773b8290425ca5c2f7c3e50fac7a4781bd4a54c133781c9a1360", - "shared": "9f04e42c1b2f311d87e1470a4708bba25ac6ffd3f7b486f9b6b502ecbb2c004e", - "result": "valid" - }, - { - "tcId": 386, - "comment": "special case for D in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "1076fdc827f2550ee95ff9a15d044aedfac65b5e9ba809f62438ccea54637a29", - "private": "d0cd0db51ff232afa0919d3106fcb3a8ae581ef12d09c877aa6f31ef74eed068", - "shared": "688000bd60af375b4eeac4a7d0e0782c0e6188eabdc608b732f49b4d6ccab44f", - "result": "valid" - }, - { - "tcId": 387, - "comment": "special case for D in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "ed1c82082b74cc2aaebf3dc772ba09557c0fc14139a8814fc5f9370bb8e98858", - "private": "204a3b5652854ff48e25cd385cabe6360f64ce44fea5621db1fa2f6e219f3063", - "shared": "e0a82f313046024b3cea93b98e2f8ecf228cbfab8ae10b10292c32feccff1603", - "result": "acceptable" - }, - { - "tcId": 388, - "comment": "special case for D in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "12e1589a34094af5f121c9bd3c1119f2b1f05264c573f667a748683c5633a47e", - "private": "88109b1d0e7bace44d41a15d5bcbcd36968c5b8b47c0a2c606b57c4a68cc5f66", - "shared": "1fcc50333eb90706935f25b02f437bfd22b6b16cc375afff8a1aa7432fb86251", - "result": "acceptable" - }, - { - "tcId": 389, - "comment": "special case for DA in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "151f54a8a899711757b3b118fc5501779d621d25227af53d0af00b7583ba8824", - "private": "5082e497c42979cdbfdd1b3b0653cfea6f2ceb7d07639ebf3541866bb60edb62", - "shared": "fac30a74f4ca99f6cf233065e9acd826690cab364bf69320b58095783ed76e11", - "result": "valid" - }, - { - "tcId": 390, - "comment": "special case for DA in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "a819c667ed466bd9a69ea0b38642ee8e53f40a50377b051eb590142dd27e3431", - "private": "f85a8db44f9e56b11729f51682a9769fc504f93597cbe39444616b224532106e", - "shared": "17f6543c4727e7f129ee82477655577635c125a20c3dc8ba206ca3cc4854ca6c", - "result": "acceptable" - }, - { - "tcId": 391, - "comment": "special case for DA in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "40b053d056668982a1f550be95e16348e303945f53a3ac64491a9a56d4095b71", - "private": "505a076641fac398fc7d8c629937f42db559db5e12052ad366d46d7b20e95769", - "shared": "889a8d611e0a7da71475e7c93a2d7f6f7228c787a00ee5cf55474adc376ff762", - "result": "valid" - }, - { - "tcId": 392, - "comment": "special case for DA in multiplication by 6", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "e7dd0549a765bbef34be2e8da18a1bc1b989a8b0614d358ebf38c12a9ca64079", - "private": "e8db2bf1af5b8907420789c56e71414706aef0d9f6ffaed0c249c3b7ab14bf65", - "shared": "37232fb397af27f5fb5ca493284ff1c5d25786b0d716c73b33aca8d42265f318", - "result": "acceptable" - }, - { - "tcId": 393, - "comment": "special case for z_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "1ee1b9a74604ac31c3db83280170e3811504fcc78c7626b5b2c07a99d80daa0a", - "private": "c006ab1762720882017d106b9a4675fdd47005657155c90ca61d4cbf7cc4f973", - "shared": "a1b30418436ba1908804ffcce1be2cdcf50c61a8e3938d95c790abdb786b8022", - "result": "valid" - }, - { - "tcId": 394, - "comment": "special case for z_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "f226c2d6bd7831eda1b51ee5aec29443a507ef9f7a04e2340f349dbf14933844", - "private": "d071807d607953da432d8574d5f3f420676dafdbc6a285a36e1d737624d77c75", - "shared": "a5976fda89954a81e442107f9e416a2b4b481bbd4654ebc0c7b57a78b45b4979", - "result": "acceptable" - }, - { - "tcId": 395, - "comment": "special case for z_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c5197312de3a7a3ee11b29873bae3fc8c85109c66784804f89435db210fcc24b", - "private": "304b526f6fe994731980c0975529bca4d061017fbec56f6070d42678d3e11177", - "shared": "55b5b5eb38b127617ffe00056d84d35a5071d18783e3a82b5f4e131b1538b150", - "result": "acceptable" - }, - { - "tcId": 396, - "comment": "special case for z_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "590ed0b879319c38a19962a5d216ff2bfaf33555518877969c20c054cbe43e56", - "private": "982ddf2c035789379b8a58917d5c3c6c061b503b19a0028e01894c2eb371d079", - "shared": "0080e5b9985a960a832133812a7ab9951c6b2c75894deb3e35509190a6bdf457", - "result": "acceptable" - }, - { - "tcId": 397, - "comment": "special case for z_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "7c5f0143a6682f60ccad16f21150c7bb5bc6f807254d08b353fc96ce07bceb6f", - "private": "78cc3ec0687e3e53d9cec56b79d11bf049d173f127f5b40fae122a6d0016cd76", - "shared": "5241222226638c4bbbc98792cdbd74882ca2e08aa2edf313070425031009e925", - "result": "valid" - }, - { - "tcId": 398, - "comment": "special case for BB in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "010850a0974d3e89c029d252b46f739548294c0f9a23183863f9455b9559c211", - "private": "c86fc76650cf3b58837aa0f0633560415241c6c4f8f293ba0222b7d6a3875773", - "shared": "63788190b10d7451f5fc2b82c421151db4f3e22782e392da6d8d3aba2c344306", - "result": "valid" - }, - { - "tcId": 399, - "comment": "special case for BB in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ad1dd82c23d6a0d5fe0f2a4561d1c16733a3e1e6afa6d902dd077dc43a961628", - "private": "888d51c0a2230369e5b65a814b3213dde2e62f2eb95d0971486b733e4f90c174", - "shared": "e4b40974a166ac49ed831715c071c751752744b891465e6c45001855aacdc362", - "result": "valid" - }, - { - "tcId": 400, - "comment": "special case for BB in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d0c0d6393c41f4d7e0d5e850b7716f401eda1e028a4ed4a05bea8bf81acfd930", - "private": "68bed425d534315584d80f79da6eab9b7e6036b51fe62e1ad933e266640b4673", - "shared": "514a4cd0676f1c3101c8c45c17ad416bd33e20a405544fc1a60449abb22fa104", - "result": "valid" - }, - { - "tcId": 401, - "comment": "special case for E in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "0f460100d88a1d316dff02d1b22ffb2e42d99d0b92474fc3ec7d62567d0cf112", - "private": "98ff2856ef44b4fa14d86782ea793828bdf6f1ef9b669cac1aae338a7bb69376", - "shared": "ed83e810ce5ff0868f8589623bb13478dec1c22326c92765ae5e48c84bbabb24", - "result": "acceptable" - }, - { - "tcId": 402, - "comment": "special case for E in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "13756a411ff3ae0c39222dde0810f08c432463162d81ef061071249a48439e15", - "private": "b0cdbfdd98bd988d7c6a530455c51c57dd33fd2c7aee3961971bd3a31388fc71", - "shared": "ff94862117d3c6edc9dd5f4852fa8a589452b924ca8a75cb23b3d68dfed88c4b", - "result": "valid" - }, - { - "tcId": 403, - "comment": "special case for E in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "8fc1fae969a6185404db22749ef6d225de86773a4d1bf3857eb8fbbd829a1b47", - "private": "e0677644ed4935f01e052e9967302d0fb78ff22bb92fbae0605f3ee54e2f6878", - "shared": "1c94868bc8acb3137498209b2812feb53501389f5aa37fecbfd5cb54e1358e0e", - "result": "valid" - }, - { - "tcId": 404, - "comment": "special case for E in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "7bab0891ecb9e72a15771f0a4fff90547024206339c340b1a2fdb53bcfb86b59", - "private": "887b61553843ca99ad1ca92253a6fe082b82494752513fd53ff6530f54c40572", - "shared": "adbf3b439b16dbc653578f53374ed3a86f9c0bf1f736573349773bc3b8d60734", - "result": "valid" - }, - { - "tcId": 405, - "comment": "special case for AA in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "102e95eadca7c3c28e5d52336c857bad99ea246f299b06334f401276f49ca814", - "private": "00615e4697014fc12484ef53a1440206410a8df78caa0bfff82161db83fea574", - "shared": "3952efb93573ae9ce2162d10e4b8c46435859f3f2778db89f72bc579e695cb51", - "result": "acceptable" - }, - { - "tcId": 406, - "comment": "special case for AA in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "3548c16bf31afdcd445ad9bef0e60d7bd6195aa591ca8c82813cd7d446226720", - "private": "58175113550faad56458fb375a6cb3f05df2f6ff3c4ee09d4a6ba643e022d17a", - "shared": "96128f929fc03c1269d429f609a1a8acac7a758e3446a125ecf4a359a0e37b73", - "result": "acceptable" - }, - { - "tcId": 407, - "comment": "special case for AA in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ba74e766d44855ec93bd441aa41058a4c4ad2be63c639a3f9a87bde51eeaba20", - "private": "009738e1e6efef9e2cad8b416fe90a098eb5cb0199f2df5218166c7b181ea079", - "shared": "fec3e94cb5f316625b090c2c820828ce0f3ee431e8d6e12abccc7ef2bd0be81a", - "result": "valid" - }, - { - "tcId": 408, - "comment": "special case for AA in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "9a5a1d37e5010c356aa80afb347c3d613542ddfa0be7abb8e8cdcd6674411449", - "private": "c82019159be792747a39f388ea48a8c568594e3383273e51100721b376e8ba73", - "shared": "96903bac9dc60b6178d734890c25db4bed9ea4dbcf6fcbcdc90e6f5694c8b21c", - "result": "valid" - }, - { - "tcId": 409, - "comment": "special case for AA in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "630847e28274dbae5491210303c85a359074ee742957b0fc3c9ff55d9e019a50", - "private": "10ac9f8383262ef280faac1e4da15a7de4f2cb74af33b50e0d82dcb85d8bcb70", - "shared": "50050d0ab1ddd2dd90c460ab8f09e1f80e37cae57d4231adae10c10a4a2b003e", - "result": "valid" - }, - { - "tcId": 410, - "comment": "special case for AA in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "11749b00a45067af2c7e7d50f8d178d5a9fedb8f1b69b239763885bc611b136c", - "private": "b84c098382f6e37d510cc33e62ddc664e02c8bb6ed9ed0e5fa78cc099a26fe73", - "shared": "9170c4c628d5fcfd0ec719cf6e1796dab0a69e46d6379fffa247d444a0056041", - "result": "valid" - }, - { - "tcId": 411, - "comment": "special case for AA in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "df1021d8f95950afde77c86ba5ee2f5876ef778376a7fdc7efb8dff0e4836e7b", - "private": "78cde8930a1d81aef6601f71409728854987578b0f8349588c04adbe2c1f6e74", - "shared": "d7d2a82953f680cee0c81c4d00fe628ac530ce682eb7fb3b0af24f804a58ef5c", - "result": "valid" - }, - { - "tcId": 412, - "comment": "special case for x_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "2743ba408d5f68c65324a485086a004b6bbf784cc9e8b1a7dbeb8c4b9414b018", - "private": "b0fe7b06b9950600b3a7ce1d7bb2a1d984194cc9d6c8964504c364dd5c875b74", - "shared": "a6b97da989dccf730f122d455152328051c8ed9abc1815c19eec6501d6cfc77c", - "result": "acceptable" - }, - { - "tcId": 413, - "comment": "special case for x_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "cc275a2cdd9125e52f20ce2abad41f920afa5a643fb7f276ef416f761d689f1e", - "private": "f0c9c3984854d5bd599d3819738a023eb795e93586dc0e5e29b1c870c612d178", - "shared": "b210e368729501d9f9b6ebefbebae38f195f91eaf2a5a3a49288bb615ff2216c", - "result": "valid" - }, - { - "tcId": 414, - "comment": "special case for x_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "4929543101ee7ae239059cd134c35d400e50d0821441351d0fa6c3d54efb342e", - "private": "906c2f12be89702db26fa7ee905ce36525d2dee4e96a879ca07da097a6aa5075", - "shared": "b9e3796c58701ded4237c52994501cee14e18f2fb02b781a8400923484bd4a6c", - "result": "valid" - }, - { - "tcId": 415, - "comment": "special case for x_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "1324e0368597b3181555bb5b2cc7b7ebba46931aeabb6f05ababd4240f0fb933", - "private": "f026031ea373e1d16e6e7e0357bc96bc093f4b6bb76a738cbb54fe6cfd2ea271", - "shared": "6dcdf8e86903b0caded124d8a7da18e623430ca869aaf267d31029d93de99e66", - "result": "acceptable" - }, - { - "tcId": 416, - "comment": "special case for x_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c7f3842297d6941cac63d6f1bdaea0709437c82dbc9161fc1bae6c79d668eb44", - "private": "703f4ac8667d77f9536045cf748f18d42345e39ccab10c18dde0f5170d307f73", - "shared": "385ddbf2505ebf537bf5e976b61a4b69d190ae965b7e4a81ae4e1c16b7148748", - "result": "acceptable" - }, - { - "tcId": 417, - "comment": "special case for x_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "1e4660ba865fb8085afd4692885d74237fa3bca5af4b84ba3de400f16a5ac45c", - "private": "c8a96ae4e77271a0680dd24fcb09f9c5d3ee8316536eec7cc2276597e50fe37f", - "shared": "0fbaea73f9518795e026c1fc1079c3738aeb9ee9c8dc9761d65bbf8f94e30154", - "result": "valid" - }, - { - "tcId": 418, - "comment": "special case for x_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "2488bb6fadb79d46585ff01c160c5b4172799d92bd168edceb65cededc492762", - "private": "d0dde8eda38c3783442864c0cb46a0e9832dcf784c21268a21bed2cace87cd70", - "shared": "510c64151e5d0737fc324bd15fb5d3966908751cd1a06954b556196655ee5540", - "result": "acceptable" - }, - { - "tcId": 419, - "comment": "special case for x_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "a0c1087811af1491171bc51691b8ca84716af36c4baa764ec536280cc1983d6d", - "private": "c09cd47e1ce53604f14e4e13426c8f08962f556bcd81f8d75375b1507c6fda78", - "shared": "23ef825e1c8e6e64428001a7463e32a9701c81cf78203e6ae753740c91570e6b", - "result": "acceptable" - }, - { - "tcId": 420, - "comment": "special case for x_2 in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "cc5c97934607d8b981bce1d6a232bb3aecc3001f698ae1ae84938fbf2861077b", - "private": "e09a5f74f318f02303857aa0208d76913d9e240a80549d12013118bad620597f", - "shared": "0e55a7ec1a2ddbea1ac5981200812232f7f4c3a60ee3c9ab09f2163bd13da329", - "result": "acceptable" - }, - { - "tcId": 421, - "comment": "special case for DA - CB in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "238de7fcc8a3f194c3554c328efb1215d0640ac674b61a98ef934ec004cfd73b", - "private": "706cee5f9b357c03b2f1913294f6e4f0ca5a190a87d30268327d0cb6bdd5bc79", - "shared": "0681036a0d27583ba6f2be7630613171a33fb8a6c8991c53b379999f0f15923b", - "result": "acceptable" - }, - { - "tcId": 422, - "comment": "special case for DA - CB in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ac9fd80a45da109fa2329390e5a951cfc03065d7bb4a7855826ccb22c3bfeb3d", - "private": "40e300cb1ff260574f85b3f04aac478464a86e6203b3d4656418f4305157877b", - "shared": "67b88774f19bd1081d6f23656a135803e34ae1cdcae10818124a78569c299f42", - "result": "valid" - }, - { - "tcId": 423, - "comment": "special case for DA - CB in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a45ab1dc2fa2c50718fb4985d9791401e8d2d34ffe3cd93cffb4e870cce5e855", - "private": "882f78b4558b7faa835904c9235e32f300fc8b5ef0a718406a5c8520ca54d071", - "shared": "a512e864bd898a5ba6551adcebd836c6a78e7871728e1b8ee528d483af276104", - "result": "valid" - }, - { - "tcId": 424, - "comment": "special case for DA - CB in multiplication by 7", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "1761d3d50ba46b446655aa6a8d9b8b75aa5bb24a7953208d5b69fcc38f18ec7a", - "private": "d8649b735590a17d0fc4c378fbf4c2f7d6600569b2e84cbe0ff7bcdbac0b5f71", - "shared": "518b778cf5e976c60235abcf6211a18bad2a8e693ab261074c7fab43dbb5da27", - "result": "valid" - }, - { - "tcId": 425, - "comment": "special case for D in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "dc99ad0031463e4537c01e16629966d1b962c0b4e4872f067ca3c26ccc957001", - "private": "a8edec59ae6ba23813ec54d66df152e0626762b97d4b0c20e0dd8a5695d86e47", - "shared": "6cfa935f24b031ff261a7cd3526660fd6b396c5c30e299575f6a322281191e03", - "result": "acceptable" - }, - { - "tcId": 426, - "comment": "special case for D in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "b32750fd80d2d7c62c6b8e39670654baea5719a3e072e99507fd5bcb23898264", - "private": "1098723ffe567ea6dcc8d04ecc01efafeea0aee44e1c733be8b1e5d97c8b8041", - "shared": "c623e2d2083f18110a525f2b66d89ed82d313b6a2dd082f6b7a6e733134f5a06", - "result": "valid" - }, - { - "tcId": 427, - "comment": "special case for D in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "e7b3205777b375f1b1515a50a16a6067953ff221e12b4f416d74fb28c1c85865", - "private": "a0f20df98b49218ac832f26fa8c218a0d6872eb7aea07c1d43c9ff699b465b47", - "shared": "388ea421650a8d837bad8904018195e99ef494c2d170b93ee721a67d2c108729", - "result": "acceptable" - }, - { - "tcId": 428, - "comment": "special case for DA + CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "21cc338d7869e5863349cc739c8a6946cfc797cb82fbf62dcd2154844b106003", - "private": "30473a77a98374f67d5bd43df231ce142916aea0d271e72333fa47dc441a0247", - "shared": "b9e5728b37435b1d339988f93267d59f3bd1c517851c5a258e74cb64aea73d2d", - "result": "valid" - }, - { - "tcId": 429, - "comment": "special case for DA + CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "c34217c02072d7e2bca0454525030780cfb60215d7ca82dbec8f4a59034c5f43", - "private": "d8657be3a30fc85fb2f3a68e92ace1b31b26e76e6bdb6727aea507cb7c10dc45", - "shared": "20b67b205e22ce87fd44a8e8fd10a6d8890b9270b60e1c6a68b4aa78e6e37961", - "result": "valid" - }, - { - "tcId": 430, - "comment": "special case for DA + CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8abb8cfd60c6f8a4d84d0750d3b40a4f846b30edf2052fef7df84142cd0d9e47", - "private": "882f5578ae4a13d8f5af473bdde1709bf2e059df809ee05b505f34de857c3447", - "shared": "5faba645fc21f9421ebd35c69bdb1d85b46f95e3746ff7f4886bc280a9ab2522", - "result": "acceptable" - }, - { - "tcId": 431, - "comment": "special case for DA + CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "9fd7b49a08f206688d72db737df8e517aa7b764f5de7c9a2b1c3fcbaa985f64c", - "private": "98294db7cbf4958bfb3ed21d5d5c91e13cc8dc27b3c716c86f7167a4819f8741", - "shared": "9cb8a0f4ad86a27b96ca61242eab198db2767d3862dd323e41368fcdcc5fab68", - "result": "acceptable" - }, - { - "tcId": 432, - "comment": "special case for DA + CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c4fefac7acd448e8fd4d6ac4f5dd1bc21f2c67d638444060918fb344aa77e757", - "private": "789bc4047ad81b9b6656eef298b766e8763a2f8ea64e374a603dc1fdf2eee146", - "shared": "4b42fcf84b51b2b82f1f70b3cf49bd9dc6ab2672920a8de37e81ba7e99acf734", - "result": "acceptable" - }, - { - "tcId": 433, - "comment": "special case for DA + CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a8341deecc0be6db11401ef7f884ac3ade35650cc21f14b5cdb0a5cf0ee6b15a", - "private": "801ffe4e0f6eeb8a50c8fe79663ff585f9d6aebcfbf4b7edc676c693900cb141", - "shared": "e55fc931669bd02d1c64689eda62648212b1078c43b5caf97cf9763ff87a3455", - "result": "valid" - }, - { - "tcId": 434, - "comment": "special case for DA + CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "55a0e6631a52f29fb90a1777ccbc69ff94547459d541f72e8316e4d616535a67", - "private": "e04e412383a63b338b70e1be5fd75995350321dee428aa4f3ba62a50a3b0de44", - "shared": "87f7976a17f3e03a7f1eb74e6db950b8c0994f40b7903495599d227725809e01", - "result": "valid" - }, - { - "tcId": 435, - "comment": "special case for DA + CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "7976d520f1a2512d564af41c68313f5351b0156d5118be4817f192798ae9777d", - "private": "382dbe9f10158bfbb7d1d79a35a7809214899a6b8572b35b55875d79bd2f1640", - "shared": "3bb3e30105a71901b115065e39bdb3e053d387b39027b12c92cdf4c638adf00d", - "result": "acceptable" - }, - { - "tcId": 436, - "comment": "special case for AA in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "a26a722f7ba71ccfc96ed8e108d7c9f842d17f92051ee7d429ea7fa7908ab907", - "private": "60c9af7f4d03136a6034ae52deadfd9d4f274ad8122812eb92a53169c8354141", - "shared": "f5cb3a1b76185a29a6360b2142feebb11f3d08f4fd8d73df3a5228624a521c02", - "result": "valid" - }, - { - "tcId": 437, - "comment": "special case for AA in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ca3a2d96f5dda482b002324cbbdcf1dacc9815eab797c7151c3a88c75cded621", - "private": "283fae8bd8b294de2848056449751965abb5c7fa86ba4c2c5cdc3bb524dad140", - "shared": "b0b47868e70465ee2dd737f1ba5a6399e09cd813d72da7585ab45c946cc28d4d", - "result": "valid" - }, - { - "tcId": 438, - "comment": "special case for AA in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "eebd858850b56febb707f27a7aad5ff5ab4b0e0c73b9c86ec4ca0f42e7f38e75", - "private": "401539703ca4980db4ba42c59fc29e83b4189f2ddea53ba54ca966c06898a640", - "shared": "581e4b12b0f39a7cc42dee4513ecfdd20b595f905f17ad8c1fbf1b5cb2068b31", - "result": "acceptable" - }, - { - "tcId": 439, - "comment": "special case for z_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "c800bf799783275eb93312b43dc032ccdfb00a4b77c8b3772cd2fec8db7e4a09", - "private": "c8eb056286e098e6b2c79e42f007ebc6ab3705346cdbdace949b5de1e8c36743", - "shared": "6bf264532fc70a6a7e459f4579eca6b84f8f76ab85c3264b20bca725a6eb6c40", - "result": "valid" - }, - { - "tcId": 440, - "comment": "special case for z_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "7bbc504e04d134eedc13f06dfdfc69c518257a3f374040a49a8d21dac109110c", - "private": "487882956c49c69fd0e2d7277a24fb1dbe4b0365b36a13f63440248bca2fbb42", - "shared": "690305c9e192cd8a513f705b3f101ecdf3db1ea15a09c4a1bce3a8cdc3a1a93f", - "result": "valid" - }, - { - "tcId": 441, - "comment": "special case for z_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "132533db62aff4fa06e96314383bf58ebdec5183a19f2e4cb17552ae19a3366e", - "private": "9876010f4d64c77ffc4d7dccd72b9ac82078deb883609650b8cff8a686719d46", - "shared": "c58591b33e490e4766ff7addff570ce4e89a98338015a55df3d2f232aea3fc4f", - "result": "valid" - }, - { - "tcId": 442, - "comment": "special case for B in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ceb90c56508cf330c7f25bab42b05b5612a8310690107ac63a404c0ade788009", - "private": "a8a5d4f7894a519537babfac736de36054f508dae434b4fe63cd5633846a2647", - "shared": "3d145851b6ff2b92b5807ed1df21eb50c9f24c4474d4721db3abb7356df7b764", - "result": "valid" - }, - { - "tcId": 443, - "comment": "special case for B in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "66a09767a0d83bb18d404e1200375a745d1f1f749d5dc6f84a205efa6a11bc65", - "private": "f83e4647e82c560aa082c59641e13bf366be8f24dc01d14801e67841160bed47", - "shared": "1401829aac4e64bcfa297a7effc60477090d3627a64a35b872ae055d2091785f", - "result": "acceptable" - }, - { - "tcId": 444, - "comment": "special case for B in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "39d431316307c85747bd2bcf4f9e0f8892ee45df15f7806ce65147d97f503478", - "private": "58c6b94bce9b15f64946c2aa6a4e383b0b2d4365b7997eb2310ac4eef1803145", - "shared": "a0ebe6908c5472f937769b9aeb313224437fc5d73f4f866fe7ef41f30e359e09", - "result": "valid" - }, - { - "tcId": 445, - "comment": "special case for C in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "84c92d8ecf3d0cb22dde7d721f04140c2d9c179cc813ce6cf8db2dce6168880d", - "private": "786a97207adbd4b0d6bfc9f49b18660ad3606c12e325044b8690b4fa07874641", - "shared": "07538f1b6583041c4949fafae3349d62f9dd302d3d86857af0dedc0d5ad6741f", - "result": "acceptable" - }, - { - "tcId": 446, - "comment": "special case for C in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "a9cedb9e942a47221e4296953220d10007db327d2acb68da6ef3a4f877b8ef1e", - "private": "282310210e575a59393cf19bbe6e24752dc247706f1e0031e5d39b2de4fff745", - "shared": "1223505fbb534c1bc6108e6b98b4f0af29e11158c02d333d6559beecd6d3e558", - "result": "acceptable" - }, - { - "tcId": 447, - "comment": "special case for C in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "64e1c0c5f59405bbc6c7db41a3485cc9f91c183b0f2b7e1894a7abd8fbbeeb23", - "private": "c8bf2fd4c40d00f1465aada682b12fa92dec10343484ab62b8871337de1d3345", - "shared": "ee031868165f456f75907bf39742b820e0f8e6df9f9768d757d408e1cc92ff7b", - "result": "acceptable" - }, - { - "tcId": 448, - "comment": "special case for C in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "a68d2f55e60eac7983926310f4fae13f95b2bbf140be5ea91751884d900ab44d", - "private": "c06a4a4b70f613136f18c0f88e2245086c3d1a52717210a21ac9d63682f2e740", - "shared": "c954fa7b042c32943e03191e367d54be0085fa8950ef2bec99620df79ecbea4b", - "result": "acceptable" - }, - { - "tcId": 449, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "6d3cd623f26a7453fa05a01ae758ba84d3c58d93d60ce32735a15e0d053d5b12", - "private": "20596e1dc56596823d37698dfa699c79874aaefde797f863ef92135980fb2043", - "shared": "7c3219b3c1fae1f95590ac843efd2084a1f4bd3efa2f592f022032db64ebcd77", - "result": "valid" - }, - { - "tcId": 450, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8f195547346b3d53b7ea4f742b22f1ef7b3cc01a7d3dcd19aa7c5b03f31bd214", - "private": "38141518e8e5efa1d031c6c4d95480239f6c30b8ccd8c751a9e04bd3aec17342", - "shared": "a31f6b249d64a87c4aed329c6c05c3f2240b3ca938ccdc920ba8016c1aeaeb45", - "result": "acceptable" - }, - { - "tcId": 451, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "ffc4fe2c2127a309c739565651e9812f834a86dbadbb78776977f786ecdb0217", - "private": "207147f2b68fef1efc10a04f988f0eb18b273b0b5ed17aa7af32c90480e19b43", - "shared": "4cff9f53ce82064882329a18ea4e4d0bc6d80a631c87c9e6fdc918f9c1bda34a", - "result": "acceptable" - }, - { - "tcId": 452, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "8475babeeab9980d426abd5323dfb335b219e129bddae4d6cebcda50754a6825", - "private": "488084537b840f9c93ca57b3ee80491418d44221113e03f56355302604d03547", - "shared": "248d3d1a49b7d173eb080ab716ac8fde6bd1c3ed8e7fd5b448af21bcdc2c1616", - "result": "acceptable" - }, - { - "tcId": 453, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "81f90a2f6633d30c2b72a25795d2a49463a80b6b0edc5aa68bae4bf738185539", - "private": "28cfc1d03f5c7428ff3e20b137268b33ccc74db03582d2127c566df4ac99f441", - "shared": "66c6e70cf630be90a2c88fcde7f58cff3868660fa96406e8df4ac677dbd85f50", - "result": "valid" - }, - { - "tcId": 454, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "41626e33b3c8f48bd19e49ded307f2b63bde705c4f3cdf9d4f92bf37c48cba42", - "private": "c8e37d10f3d03db3f43e467bddf98f595cb529ad253c20d491282d1400b9e740", - "shared": "06283fcf69dc83e99d92e5336f499a1d8fa75ed2c819b5ae6ea8094454324b27", - "result": "valid" - }, - { - "tcId": 455, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ebb32f781c0e89b252e611f9d8f79f8567874c966598314b2f16aa44cfc07843", - "private": "00237e91406a7b4db61e780c5976fbb926cdace2fbdfdbcfce65e6dbe7782a42", - "shared": "7d2affb43355f5db1294daff55f59b1f17e7d25bca20746f12484d78e5015517", - "result": "valid" - }, - { - "tcId": 456, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "fa75e6f08ca815b4e42af24a8e057c9e00e828e33d12c0e94d1012a758336744", - "private": "489c4184a23a8f5eec68a31b41aa2c0392cd6fb123f10acdb4de75292b4b9a43", - "shared": "ef8e78cab091d667888489fd3a2ec93fb633427d02eb77b328d556f2b2b0e266", - "result": "valid" - }, - { - "tcId": 457, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "4d96320cdb0ca52655e91118c33f93afe4ae69e9e513ff4506750b8ea784ce46", - "private": "c05957fbc3a0e2c22a2aef627651ca1e99307b82a0c6170f7950a334f3004941", - "shared": "c8d85bfa74b4b26461297b350c975183fea9d33ba29c3a4934509c2ecda58a79", - "result": "acceptable" - }, - { - "tcId": 458, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "c0ef1b7c20237db370501f24274e4eba91998ae4545f937007e1c4a2eab63365", - "private": "60111c6629f73635985be964b845f87a88ae5652d45bb1451ce8cfd2ea45fe41", - "shared": "22557e0d8741ed2a63afd5e313aa1579fc0c88c7772e23a676c94b60c89df577", - "result": "acceptable" - }, - { - "tcId": 459, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d534d8ff4d56a73ef7615e94523b17e35edb3d0fb87e98c68536f63f114a8d6c", - "private": "58785889a216d15456582d4e1e3de9e9ca4a432954416d81caf52b2b434c1746", - "shared": "54d7fc17bad00296ba50b0f3d5bf8fb83f82d571952a5fdb5a494120cc61446b", - "result": "valid" - }, - { - "tcId": 460, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "733a711ba01b6e9b64a0be4cdca8c7cf3c66df2435d5248fb4413fec6ee03f70", - "private": "60bef38a3890ec1ed05c299fceb77db5ead4b88d9e931b0f21d664f77df9b544", - "shared": "db6851b12585bc11be9362c96a545c6f2ba55f04009792463b96a38cb9b3f07c", - "result": "valid" - }, - { - "tcId": 461, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "35738dd539d60f69cd1a1cffc8a42b6af68fe7de45392d02831e2a77500ea278", - "private": "5854ee566878ef8b7ebaf5a058306f250edf0c84fd52af2d74b7ce3c1edda746", - "shared": "f6d1a664257fa5de3d4d57f04eda2976bf1e35cc3ac513e1ee84d57d2135ed13", - "result": "acceptable" - }, - { - "tcId": 462, - "comment": "special case for x_2 in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "ce932b5af4be4721f96f7b79ba1c43b20687d4af49c37b58dc894279e04bb578", - "private": "985b551261fce38ddc8ff3add32f5c26811d271b9a1794e249dd76a38df28446", - "shared": "f8f7625ac5bde63f753a9bb4aefbfb9c4647207708af9d774ef08ff1b1e5a354", - "result": "acceptable" - }, - { - "tcId": 463, - "comment": "special case for E in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "e3655448339e4850806eb58abba0c89185511ea72c37c49e9583ee6dd235d213", - "private": "8815052344dcad97efd1341e9072a808cf999e46e52cf04e0cfbcd9901e18d43", - "shared": "5e10dfbff4443efcae2ccc78c289a41460d5a82f79df726b8824ccbef7146d40", - "result": "acceptable" - }, - { - "tcId": 464, - "comment": "special case for E in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "4d16965b1637e9d7ae8feb499ed0553962a9aa0022d1620c928072f6501bc41b", - "private": "b8e032e9e5ffbaa004390f3a0b900bc7cf5d11238b7ec964afc4bda2aa6c3444", - "shared": "19d7b44c1847c44e8f37a22ab69c180fd9d787f204123013e1b16800b9cd0f57", - "result": "acceptable" - }, - { - "tcId": 465, - "comment": "special case for E in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "c6b9e6288737ad40452cec1022871d90af1642d10bd0a97792b1a9c8998e2220", - "private": "7012852211f6536fca79937e7e316c9149b0e20ea03f951e1bb072895ca0e044", - "shared": "db990d979f4f22f766e7826d93554e771b361de461274d6c37baadeb8ef7be4e", - "result": "valid" - }, - { - "tcId": 466, - "comment": "special case for E in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "d566fab505ac4c7a3dc3b9403ef121392cbbe21216e5bcb8eab2dc9408986e34", - "private": "d039c1b9ec4763e0ad8a0ef2b0870297d0f8b487e660595a484105d180e14a47", - "shared": "6d7fc5d4a8f534b1bc0fa5e078104234675c02664736957abdb27df6faf07c00", - "result": "acceptable" - }, - { - "tcId": 467, - "comment": "special case for E in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "468d35ecfb6d9b7272523276cc5e13760519667f0e1e3888da4c56955fe91151", - "private": "58efcbc8777c1b54f09c61a216efd427292eb12312dbb3b32bd45254a6683e47", - "shared": "539c8d629ab51c2f3ea7278fd5f1c31b6c150a82fe3f786b93ffa159fd6d9316", - "result": "valid" - }, - { - "tcId": 468, - "comment": "special case for E in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "1929538743977dfea20bf4927ddabb2f3bb15cac2461054508849718854b5568", - "private": "c8d73446026cd0ea795773c2eb7b16348cd5f228e352dbc77328c2d8b9cde240", - "shared": "dee3fd19c8f296415448b21af44385ec46727bbe67d4839b93efe2f680e76d34", - "result": "valid" - }, - { - "tcId": 469, - "comment": "special case for E in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "2d7ab4c6f59865355ee8e9de57db19aadf7708b7c1d1a818487c340623badc6d", - "private": "98b559523bc778b0418af53c0c32f6ff5cf771ff5df8ae7cbf7c3b72aedb5b43", - "shared": "2a0340aaafa05d00529c09057ed0145f34d2de66a3e149cf084ea97168914f39", - "result": "acceptable" - }, - { - "tcId": 470, - "comment": "special case for E in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "43839f4a6aa206c82c5a73f49d8c9e573826b3ba7235d312987c17aebee62776", - "private": "589815027caf82714e96c9f91bace66ec4ba3e92df3fa14b9b8fe503556e4543", - "shared": "00313717d33e3b41a0865986157582e053502a172b88d01bb7b10831a9fc4e6c", - "result": "valid" - }, - { - "tcId": 471, - "comment": "special case for E in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "3c321e7f0b9e555bc264a2cea617e6b2b562ebab21fe0c226c3e487b7df9a27d", - "private": "80715f67270c99789855ceaea99b9957ccda33326f76bb4474ab52ab1ec37041", - "shared": "9b6be9e6f2fdb5d3321842225d3e91d14828cc53ba6654dabe190b0c3edeb309", - "result": "valid" - }, - { - "tcId": 472, - "comment": "special case for DA - CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "42e5a6b8e9654bb4ad624af3f491877977513cc8775c8fb312ad19dbf3903a28", - "private": "101b990bd83d684126ff047d930c27d086a588dd19683d2629f0e34f4374ab41", - "shared": "223f1eb552308373026d11c954684ce6db870b638b190b9443e50aae219f4e3e", - "result": "acceptable" - }, - { - "tcId": 473, - "comment": "special case for DA - CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "0a51dd90ab985f6deaf72f16c45014da26df848697f6582d75688f5223342b51", - "private": "200089b712d9a2050597779d463712fcd223e3d67879c0fb7606f8f5f0efee40", - "shared": "fb95ce4a3c1f325638b7d47f4216d39a7c6c5da9a01caa297c37b62816555b2a", - "result": "acceptable" - }, - { - "tcId": 474, - "comment": "special case for DA - CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "8842317357bde825ef438a1c53906fb8b04ea360f7ef338c78e668586047936a", - "private": "f04f87f4e623af4c31ceca0bb87fac2d5b12517b5a7284902ad75838e65f1e41", - "shared": "488b8341c9cb1bbf124510b9f8dae4faf2e0dca9b84e00e952a63b5aa328a860", - "result": "valid" - }, - { - "tcId": 475, - "comment": "special case for DA - CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "c71d92d3c92dbfaed755fb32797b667cc86b0e79362498e2aca38c689713b16e", - "private": "383cbd5a3dd0901d09a3cac3d3a77a979cecf15e206a553e4ca3f24b90783945", - "shared": "1129eae97bf75f7314f2e1b403b18737ad830c80429e2ba0d4866b362399855f", - "result": "valid" - }, - { - "tcId": 476, - "comment": "special case for DA - CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "3a21d1cf7b3744d1ad26197335844982c2a0c6a5aa835492bd03c401a4fe6778", - "private": "701df09e57b98aec375745df147b72949a6b2bb2ca3a34881512ee31e790ad42", - "shared": "072f51d94727f392d59dc7caff1f4460452352ec39c32a1c9f071e388833da56", - "result": "valid" - }, - { - "tcId": 477, - "comment": "special case for CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "d128ea3e13325ed6ebd6533a9fd3045a55f25ad8b67def30912843504c1aab29", - "private": "b0ffa5f4922bb117ad75ff43acac62331efaa45536fe88306e4a4cb58db73a47", - "shared": "30512142d3e3a4cad6726d9d35f2e043fca9dfb750884ae22b2547c840f3587b", - "result": "acceptable" - }, - { - "tcId": 478, - "comment": "special case for CB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "e079c8f8423165c7e0a2c48b4abe90aece4e6d903d7a5a1625fad0410cd55b32", - "private": "685e3271d2015741756612a930e858b930acf2018145f382c83d8cced2e22044", - "shared": "5b81b3761a66d199e8ef99d2494bd57a0229d4564a7f6d6055f22aa48681bd3a", - "result": "acceptable" - }, - { - "tcId": 479, - "comment": "special case for BB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "65922a06e9be4e8a5e8aceb1a4e08fe90f01e10ef2dd27315427cedfcf95ec32", - "private": "f8e161d69297e017d7c51b1b1ff3ba703d4c4cf8fc2b8ff47f74c3ff8c7d3541", - "shared": "038de7fdb9cc0030f5c11dda00589f0a95f65658815b06ed013553a02b6c5017", - "result": "valid" - }, - { - "tcId": 480, - "comment": "special case for BB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d36a240e972dc16e9b97a997ada337f02760d05c46d7f8d7b4e9ea9a635c7c64", - "private": "105d7589f8abef0acf0940da84a69e8f2f306fa73c9afd27342287c1dba80044", - "shared": "22b0dea3b3b7ca55eceeaae6443426548c7c15cc7ddf31780318d1c23879c16a", - "result": "valid" - }, - { - "tcId": 481, - "comment": "special case for BB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "4f5b8b9892b8a46df08d76a4745b1c58d4e7a394905435875688ca11f1e9d86a", - "private": "1893d4388b0e90f0b50208aa8f0cc24f576d03641baf1c3eddb2a3efa69c9d40", - "shared": "a25e1306684ad7870a31f0404566e8d28f2d83d4b9497822c57f8781b18fec20", - "result": "acceptable" - }, - { - "tcId": 482, - "comment": "special case for BB in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "aa2f02628269139a7a8a16fde95c9bad7da7ffbd5439c396a7d77b6c3213e67f", - "private": "0065171301bf6b90fb16efa35509161f1bd6b3b93130d490af9fe224dd155f45", - "shared": "bb4431bea7a5871c1be27a2674094627eaaa4425c99cd3fa41bd7e13cbd7bf7e", - "result": "acceptable" - }, - { - "tcId": 483, - "comment": "special case for A in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d995cb287e9a9c5791f3cae3d494a5b516a1e26cbc930f43e73c8b70b69d783b", - "private": "10c81a4e78d82145b266e1d74b3869bf1c27427803ebb11c92ff8073d1e4cc46", - "shared": "330f5d0b5bccc90f7694dfdd9c6449a62d93af8840eaf571e3e0610e0198b03f", - "result": "valid" - }, - { - "tcId": 484, - "comment": "special case for A in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "479afb1e73dc77c3743e51e9ec0bcc61ce66ed084dc10bfa2794b4c3e4953769", - "private": "48b98b4a99eadd73012c07fe5c4a0b9590ac55e821353b41d5f665e17188bc41", - "shared": "bdef00caa514b2f8ab1fb2241e83787a02601ecdff6cf166c4210f8c1ade4211", - "result": "acceptable" - }, - { - "tcId": 485, - "comment": "special case for DA in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "378eda41470b0f238a200f80809ad562ca41e62411a61feb7f7e9b752b554642", - "private": "1897678e38222a61fe105dc6643c1eb5940e8dbc73ed6c00f25a34328f43a641", - "shared": "bfd5b5acd2d89f213a26caf54062f9a24e6f6fd8ddd0cd2e5e47b7fea4a9c537", - "result": "acceptable" - }, - { - "tcId": 486, - "comment": "special case for DA in multiplication by 8", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "0cad7545ade2fd93fcae007c97648348f26d85829bdb7223a63eccb84e56d475", - "private": "a898af8138e11ae45bbcefa737182a571885f92d515c32056c7cb0d7deac4741", - "shared": "c8085877800c175e949cdd88e196eb9c4841da2ac446dfed9085bda5bbec265d", - "result": "valid" - }, - { - "tcId": 487, - "comment": "special case for AA in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "60f27ed0a27804ced237cf3c1cc776650fb320bae6d5acb564e97b56cba25210", - "private": "b0bfef6ec095b5a1f93917d32f16a21d0462c1fde17446f5a590232d9c895f4a", - "shared": "4c300895827382a9d1079028bd6f694a7a12ddac9c76abac6fdf5d29457a3310", - "result": "valid" - }, - { - "tcId": 488, - "comment": "special case for AA in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "f93a73270ac19194b8e4ffd02be4b1438525f84a76224688ea89a9dd6a1bd623", - "private": "60497d4464ed8823c50fbc6b68620826c4f629c1d9193058df6bf857c6aecc4b", - "shared": "7285fbb3f76340a979ab6e288727a2113332cf933809b018b8739a796a09d00b", - "result": "acceptable" - }, - { - "tcId": 489, - "comment": "special case for AA in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "cf80c30fcbfd535666ca1da499e2e99cc537063e2de19458fcf92f5ee34acf47", - "private": "08c6cbe03792a3829f06e8ad54c55db113236ac0dcc9ab6a9a6b10eed1041b48", - "shared": "dabc3bd49f19cf7071802e43c863ed0b1d93a841588098b98a0c581bf4fe0a11", - "result": "acceptable" - }, - { - "tcId": 490, - "comment": "special case for AA in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "698effe0ad42e15ee1f46fde6fc5074ffda183bcf1b2db8647f561ddd191dd60", - "private": "50044da3315dd082e9dfb6a1994aabb331f53e0d1c12633383b2a3c8678cfe4c", - "shared": "a61a3b150b4770532373676298c9a5da28adcc4365b06fe07c959ca80e477a57", - "result": "valid" - }, - { - "tcId": 491, - "comment": "special case for AA in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "bd1565b4a3f8515dff577be6dcb414511d3d4ec2de15e0bd45b28e9cc4caef60", - "private": "285640da7a48252e35ddce60c14addb73097fbc9ac2f87c8d2772ce89aa6be4d", - "shared": "916ab4f3bfc8321e1087d9c5444f8f7a43e9ca6d29e7ba98a19dc05fff34ed4c", - "result": "valid" - }, - { - "tcId": 492, - "comment": "special case for AA in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "b8649e13843f80cf5702398e4a9a8c378f29da96dfd6579f1eb4f7ea34df6765", - "private": "783271c21199ba2e94ead92cd9dd79f70aab378b59497455d327a5907dafcb4a", - "shared": "844a5dd5139554ca7b41cbe6a4796193912e7aa4e201cc68944ce2a55774a10f", - "result": "acceptable" - }, - { - "tcId": 493, - "comment": "special case for AA in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "c396938737abdf791e09a97eba577c437d9b67c2dae94e13eab7296ec0fc737e", - "private": "d0676a0b9a046c62d5b2e740d9cc43fa37965dea93c23254f7bf569f2bebaa4a", - "shared": "10780333b2a6170136265bb5ebc6c818817f2e48ae372528c8f34433fdd6215a", - "result": "valid" - }, - { - "tcId": 494, - "comment": "special case for DA - CB in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "557b825012d98f065bb95a2ab9b2d2d8b83fd2037912508c263f86d7e36c4f24", - "private": "608c84d2b76fccda579e974db3d3b2ce39a6bc0dad440599db22411b60467849", - "shared": "5ce84842dbae8b795b3d545343558045508f271383bfb3dd3943f4101398c864", - "result": "acceptable" - }, - { - "tcId": 495, - "comment": "special case for z_2 in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ae98296d4a2fbcbb40b472f4063231608bb1465c226c8a4a2dff29afd915882a", - "private": "80f233936a8821936d39114c84d929e79760b27680779e5009e1709410dd8e4f", - "shared": "4f11aa0c313195f96f25cadcbf49f06a932d8b051879ea537d1c6dfee7f36d35", - "result": "valid" - }, - { - "tcId": 496, - "comment": "special case for z_2 in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "8b9d249829fbe81333d85050da88998f63fac665679e27dbbe21b745dd14e145", - "private": "c8d80b1a34f21194f047a6f0328bb947e2e7aff6a043553aa07f2abf99aaf048", - "shared": "1d619070bf5626064be10025e74e336c81ef3166b743f99c751fb90587c31d7e", - "result": "valid" - }, - { - "tcId": 497, - "comment": "special case for z_2 in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "61896093e2697c78230afdda12639cbe4342827b8d2b093281f148eb60b9034b", - "private": "9021477b452361580059364c6f94f4981ee94ea3f9b7d37439bc82ae45816f4d", - "shared": "532e797861db56b9d5db8825fb72f8629c2422f8abea721ad2d7b9e77a95b576", - "result": "valid" - }, - { - "tcId": 498, - "comment": "special case for z_2 in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "ccc1dc186229dba9a9360a0f7ff00247a3732625acaacd18ea13a9a8b40fac4f", - "private": "6079dae04c40a59ea4e0c8c17092e4c85ea9133d143307363487836df4e30349", - "shared": "4f678b64fd1f85cbbd5f7e7f3c8ac95ec7500e102e9006d6d42f48fb2473ab02", - "result": "acceptable" - }, - { - "tcId": 499, - "comment": "special case for z_2 in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "69e368c0b7e78eb9f3a53bf458f6e79dc4883bf9458f04a8c12c4ddd94d62151", - "private": "281db6a5ac9a47d4a7b2b91a87f6536ce62d4e5129b8d647b97f9c504014894c", - "shared": "e069fd06702f10f33adb8cf0766880634865b510e2da409241fb5f178050514a", - "result": "valid" - }, - { - "tcId": 500, - "comment": "special case for z_2 in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "f21f9badd98dd8a103cc2ab5484fac6c2bfdd2671ee6e674134a86b89cee9160", - "private": "d830f3c4785829a0f945857e0e85e0ae723702b57783b933cd2a2ad05484fe49", - "shared": "fee218eb1f92864486e83c1731f04bb8c7e6d7143e3915bcbf80fe03ff69dc77", - "result": "valid" - }, - { - "tcId": 501, - "comment": "special case for E in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "e853062b2d6f38d021d645163ea208d0e193a479f11f99971b98e21188fd0b2c", - "private": "10230bd0721f4c8c4b921881dd88c603af501ee80e2102f8acc30cf8b2acd349", - "shared": "64bdfa0207a174ca17eeba8df74d79b25f54510e6174923034a4d6ee0c167e7b", - "result": "acceptable" - }, - { - "tcId": 502, - "comment": "special case for E in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "362eb92dab9fb29f7ed0e03843dcc15797928c2b4e51ec260204179c1c12945f", - "private": "f0a34d6d76896e17cb8f66feda23115ffb96f246b823bb63dec08335787de74c", - "shared": "d7f4583ee4fe86af3a3f1dfcb295ba3a3e37bced7b9c6f000a95336530318902", - "result": "valid" - }, - { - "tcId": 503, - "comment": "special case for E in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "ff543f1e81996e88631f030ceba7e603b13033efd205e68bd36b28468134aa73", - "private": "9073c1d0a173c7ff02dc966a165993d9c4c9357514f7a6bb7aaa4b0827718948", - "shared": "c1b5e5f4401c98fa14eba8aafae30a641bfd8fb132be03413f3bf29290d49e0b", - "result": "acceptable" - }, - { - "tcId": 504, - "comment": "special case for x_2 in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "90ef70844ead1613f69df7d78c057813f866c0d95e6d22caee4a012b9c1c4b33", - "private": "b0c1822566e016c12ae35ec035edd09af3cb7a48f55c9028e05e1178a8c3824e", - "shared": "9369ebb3d2b744341cba77302719a4b2d63aff612872f86d9877a76bc919ca1c", - "result": "valid" - }, - { - "tcId": 505, - "comment": "special case for x_2 in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "88c1ae575ad073dda66c6eacb7b7f436e1f8ad72a0db5c04e5660b7b719e4c4b", - "private": "e06fe64e2117796f997bbcd3bcad3067cf1291640a3a643fb359809a4016834d", - "shared": "335394be9c154901c0b4063300001804b1cd01b27fa562e44f3302168837166e", - "result": "acceptable" - }, - { - "tcId": 506, - "comment": "special case for x_2 in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication", - "Twist" - ], - "public": "dcffc4c1e1fba5fda9d5c98421d99c257afa90921bc212a046d90f6683e8a467", - "private": "707ee81f113a244c9d87608b12158c50f9ac1f2c8948d170ad16ab0ad866d74b", - "shared": "7ecdd54c5e15f7b4061be2c30b5a4884a0256581f87df60d579a3345653eb641", - "result": "acceptable" - }, - { - "tcId": 507, - "comment": "special case for BB in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "6c0044cd10578c5aff1ff4917b041b76c9a9ae23664eb8cf978bd7aa192cf249", - "private": "7089654baacbb65bd00cd8cb9de4680e748075e8842ca69d448fb50fea85e74e", - "shared": "0d8c21fa800ee63ce5e473d4c2975495062d8afa655091122cb41799d374594f", - "result": "valid" - }, - { - "tcId": 508, - "comment": "special case for BB in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "d9089de902e143dcd9107e5a3393a3f7fe05d926c357b47e307a236cb590fd64", - "private": "8089784c52cd67e4536e568218c7b7033b28413f942fca24ed69e43496efa14b", - "shared": "db6fec44bf118316a6bdfbae9af447baede4d82daa16bed596ea6f05d4a51400", - "result": "valid" - }, - { - "tcId": 509, - "comment": "special case for BB in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "8c4a26aa319c2cc4a4158c2bc69a0d5b340b60628a14cf31bb0ae5ddc38ae866", - "private": "00e73e4e013148b9f05273bad626bb126a40ec4558f5425096b48947e0a9de4a", - "shared": "ecc1204bc753c4cec4c9059fd7b504944ebf995ab1b1d49f0b3b325353be3a15", - "result": "valid" - }, - { - "tcId": 510, - "comment": "special case for BB in multiplication by 9", - "flags": [ - "EdgeCaseMultiplication" - ], - "public": "ce7295d1227c9062aab9cf02fc5671fb81632e725367f131d4122824a6132d68", - "private": "78ed4c9bf9f44db8d93388985191ecf59226b9c1205fe7e762c327581c75884e", - "shared": "3740de297ff0122067951e8985247123440e0f27171da99e263d5b4450f59f3d", - "result": "valid" - }, - { - "tcId": 511, - "comment": "private key == -1 (mod order)", - "flags": [ - "EdgeCasePrivateKey" - ], - "public": "6c05871352a451dbe182ed5e6ba554f2034456ffe041a054ff9cc56b8e946376", - "private": "a023cdd083ef5bb82f10d62e59e15a6800000000000000000000000000000050", - "shared": "6c05871352a451dbe182ed5e6ba554f2034456ffe041a054ff9cc56b8e946376", - "result": "valid" - }, - { - "tcId": 512, - "comment": "private key == 1 (mod order) on twist", - "flags": [ - "Twist" - ], - "public": "2eae5ec3dd494e9f2d37d258f873a8e6e9d0dbd1e383ef64d98bb91b3e0be035", - "private": "58083dd261ad91eff952322ec824c682ffffffffffffffffffffffffffffff5f", - "shared": "2eae5ec3dd494e9f2d37d258f873a8e6e9d0dbd1e383ef64d98bb91b3e0be035", - "result": "acceptable" - }, - { - "tcId": 513, - "comment": "special case private key", - "flags": [ - "EdgeCasePrivateKey" - ], - "public": "3e3e7708ef72a6dd78d858025089765b1c30a19715ac19e8d917067d208e0666", - "private": "4855555555555555555555555555555555555555555555555555555555555555", - "shared": "63ef7d1c586476ec78bb7f747e321e01102166bf967a9ea9ba9741f49d439510", - "result": "valid" - }, - { - "tcId": 514, - "comment": "special case private key", - "flags": [ - "EdgeCasePrivateKey" - ], - "public": "9f40bb30f68ab67b1c4b8b664982fdab04ff385cd850deac732f7fb705e6013a", - "private": "4855555555555555555555555555555555555555555555555555555555555555", - "shared": "8b98ef4d6bf30df7f88e58d51505d37ed6845a969fe598747c033dcd08014065", - "result": "valid" - }, - { - "tcId": 515, - "comment": "special case private key", - "flags": [ - "EdgeCasePrivateKey" - ], - "public": "be3b3edeffaf83c54ae526379b23dd79f1cb41446e3687fef347eb9b5f0dc308", - "private": "4855555555555555555555555555555555555555555555555555555555555555", - "shared": "cfa83e098829fe82fd4c14355f70829015219942c01e2b85bdd9ac4889ec2921", - "result": "valid" - }, - { - "tcId": 516, - "comment": "special case private key", - "flags": [ - "EdgeCasePrivateKey" - ], - "public": "3e3e7708ef72a6dd78d858025089765b1c30a19715ac19e8d917067d208e0666", - "private": "b8aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6a", - "shared": "4782036d6b136ca44a2fd7674d8afb0169943230ac8eab5160a212376c06d778", - "result": "valid" - }, - { - "tcId": 517, - "comment": "special case private key", - "flags": [ - "EdgeCasePrivateKey" - ], - "public": "9f40bb30f68ab67b1c4b8b664982fdab04ff385cd850deac732f7fb705e6013a", - "private": "b8aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6a", - "shared": "65fc1e7453a3f8c7ebcd577ade4b8efe1035efc181ab3bdb2fcc7484cbcf1e4e", - "result": "valid" - }, - { - "tcId": 518, - "comment": "special case private key", - "flags": [ - "EdgeCasePrivateKey" - ], - "public": "be3b3edeffaf83c54ae526379b23dd79f1cb41446e3687fef347eb9b5f0dc308", - "private": "b8aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6a", - "shared": "e3c649beae7cc4a0698d519a0a61932ee5493cbb590dbe14db0274cc8611f914", - "result": "valid" - } - ] - } - ] -} diff --git a/packages/backend/webpack.config.js b/packages/backend/webpack.config.js index 2d78fa14d4..9733119573 100644 --- a/packages/backend/webpack.config.js +++ b/packages/backend/webpack.config.js @@ -29,10 +29,6 @@ const webpackConfig = env => { }, module: { rules: [ - { - test: /libsodium-wrappers-sumo[\\/]dist[\\/]modules-sumo[\\/]libsodium-wrappers\.js$/, - loader: root('platform/sodium-loader.cjs'), - }, { test: /\.ts?$/, use: {