@syferit/llvm 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,8 +11,8 @@ export class NativeSourceTransformer {
11
11
  this.mba = new MBASynthesizer(this.prng);
12
12
  }
13
13
  transform(sourceCode, lang = 'cpp') {
14
- function assertTpmPcrBankEnvelope_f031(_tok0, _tok1, _tok2, _tok3) {
15
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:820dfdae-8f948867]",
14
+ function assertSeededPRNG_f86f(_tok0, _tok1, _tok2, _tok3) {
15
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:0dac8414-93c06c80]",
16
16
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
17
17
  let _h = 2166136261;
18
18
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -30,52 +30,52 @@ export class NativeSourceTransformer {
30
30
  _h = (_h ^ _h >>> 16) >>> 0;
31
31
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
32
32
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
33
- if ((_h >>> 4 & 15) !== 9) {
33
+ if ((_h >>> 4 & 15) !== 5) {
34
34
  throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
35
35
  }
36
36
  return _h;
37
37
  }
38
- const __enclaveBoundaryCheck_f031 = assertTpmPcrBankEnvelope_f031(199227471, 402430601, 1610007903, 2125363773);
39
- const _sgxEcallCounter_f031 = [[248, 141, 213, 218, 109, 73, 13, 13, 153, 63, 146, 162, 46, 210, 8, 6, 154], [167, 108, 188, 171, 59, 242, 46, 15, 142, 95, 134], [128, 93, 130, 172, 13, 183, 236, 245, 101, 59, 72, 119, 203, 137, 192, 202, 92], [101, 32, 121, 71, 208, 146, 199, 222, 64, 22, 99, 44, 166, 108, 187, 177, 57], [64, 13, 74, 73], [50, 243, 61, 14, 138, 71, 151, 169, 22, 182, 233, 230, 114, 45, 127, 122]];
40
- function _rotateTpmPcrBankSequence_f031(_slot) {
41
- const _row = _sgxEcallCounter_f031[_slot];
42
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__enclaveBoundaryCheck_f031 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
38
+ const __entropyNonceProof_f86f = assertSeededPRNG_f86f(1127118851, 1139972749, 1482004665, 1120174485);
39
+ const _keyDerivationStateIntegrity_f86f = [[51, 211, 48, 61, 139, 39, 130, 186, 23, 150, 20, 21, 115, 13, 106, 105], [31, 135, 14, 19, 99, 25, 124, 103, 198, 100, 212], [198, 110, 237, 232, 107, 170, 5, 31, 151, 28, 154, 176, 40, 177, 48, 52, 132], [163, 69, 178, 179, 6, 241, 98, 100, 178, 103, 181, 155, 245, 154, 23, 31, 97], [152, 36, 148, 145], [103, 5, 97, 85, 210, 127, 207, 236, 66, 243, 107, 94, 164, 81, 163, 163, 59]];
40
+ function _assertOptions_f86f(_slot) {
41
+ const _row = _keyDerivationStateIntegrity_f86f[_slot];
42
+ return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__entropyNonceProof_f86f >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
43
43
  }
44
- if (this.options.mode === _rotateTpmPcrBankSequence_f031(61579 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 20245)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 19 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 19 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 19 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 19 | 1)) & 15 ^ (__enclaveBoundaryCheck_f031 >>> 7 & 255 ^ 151)) === 237) {
44
+ if (this.options.mode === _assertOptions_f86f(62673 ^ (__entropyNonceProof_f86f & 65535 ^ 27783)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 107 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 107 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 107 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 107 | 1)) & 15 ^ (__entropyNonceProof_f86f >>> 8 & 255 ^ 187)) === 32) {
45
45
  return {
46
46
  code: sourceCode,
47
- transformedCount: (48616 ^ __enclaveBoundaryCheck_f031 & 65535) / (14995 ^ __enclaveBoundaryCheck_f031 >>> 16 & 65535),
47
+ transformedCount: (39256 ^ __entropyNonceProof_f86f & 65535) / (58049 ^ __entropyNonceProof_f86f >>> 16 & 65535),
48
48
  seedUsed: this.seed,
49
49
  inoculationInjected: false,
50
- stateKeyDerived: (48616 ^ __enclaveBoundaryCheck_f031 & 65535) / (14995 ^ __enclaveBoundaryCheck_f031 >>> 16 & 65535)
50
+ stateKeyDerived: (39110 ^ __entropyNonceProof_f86f & 65535) / (58049 ^ __entropyNonceProof_f86f >>> 16 & 65535)
51
51
  };
52
- } else if (this.options.mode === _rotateTpmPcrBankSequence_f031(40100 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 9019)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 100 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 100 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 100 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 100 | 1)) & 15 ^ (__enclaveBoundaryCheck_f031 >>> 6 & 255 ^ 57)) === 198) {
52
+ } else if (this.options.mode === _assertOptions_f86f(61778 ^ (__entropyNonceProof_f86f & 65535 ^ 26885)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 71 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 71 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 71 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 71 | 1)) & 15 ^ (__entropyNonceProof_f86f >>> 9 & 255 ^ 20)) === 217) {
53
53
  return {
54
54
  code: sourceCode,
55
- transformedCount: 40442 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 8804),
55
+ transformedCount: 52108 ^ (__entropyNonceProof_f86f & 65535 ^ 21466),
56
56
  seedUsed: this.seed,
57
57
  inoculationInjected: false,
58
- stateKeyDerived: 52883 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 28941)
58
+ stateKeyDerived: 47905 ^ (__entropyNonceProof_f86f & 65535 ^ 9079)
59
59
  };
60
- } else if (this.options.mode === _rotateTpmPcrBankSequence_f031(55259 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 26695)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 27 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 27 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 27 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 27 | 1)) & 15 ^ (__enclaveBoundaryCheck_f031 >>> 5 & 255 ^ 101)) === 154) {
60
+ } else if (this.options.mode === _assertOptions_f86f(60790 ^ (__entropyNonceProof_f86f & 65535 ^ 29986)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 120 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 120 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 120 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 120 | 1)) & 15 ^ (__entropyNonceProof_f86f >>> 20 & 255 ^ 64)) === 103) {
61
61
  return {
62
62
  code: sourceCode,
63
- transformedCount: (48924 ^ __enclaveBoundaryCheck_f031 & 65535) / (14995 ^ __enclaveBoundaryCheck_f031 >>> 16 & 65535),
63
+ transformedCount: (39110 ^ __entropyNonceProof_f86f & 65535) / (58049 ^ __entropyNonceProof_f86f >>> 16 & 65535),
64
64
  seedUsed: this.seed,
65
65
  inoculationInjected: false,
66
- stateKeyDerived: (48876 ^ __enclaveBoundaryCheck_f031 & 65535) / (14995 ^ __enclaveBoundaryCheck_f031 >>> 16 & 65535)
66
+ stateKeyDerived: (39536 ^ __entropyNonceProof_f86f & 65535) / (58049 ^ __entropyNonceProof_f86f >>> 16 & 65535)
67
67
  };
68
68
  }
69
- if (lang === _rotateTpmPcrBankSequence_f031(45419 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 3830)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 63 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 63 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 63 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 63 | 1)) & 15 ^ (__enclaveBoundaryCheck_f031 >>> 24 & 255 ^ 157)) === 164) {
69
+ if (lang === _assertOptions_f86f(43424 ^ (__entropyNonceProof_f86f & 65535 ^ 12789)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 101 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 101 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 101 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 101 | 1)) & 15 ^ (__entropyNonceProof_f86f >>> 6 & 255 ^ 104)) === 2) {
70
70
  return this.transformRust(sourceCode);
71
- } else if (lang === _rotateTpmPcrBankSequence_f031(35870 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 13188)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 95 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 95 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 95 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 95 | 1)) & 15 ^ (__enclaveBoundaryCheck_f031 >>> 23 & 255 ^ 61)) === 72) {
71
+ } else if (lang === _assertOptions_f86f(64912 ^ (__entropyNonceProof_f86f & 65535 ^ 26050)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 61 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 61 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 61 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 61 | 1)) & 15 ^ (__entropyNonceProof_f86f >>> 15 & 255 ^ 120)) === 106) {
72
72
  return this.transformRust(sourceCode);
73
- } else if (lang === _rotateTpmPcrBankSequence_f031(52592 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 29419)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 58 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 58 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 58 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 58 | 1)) & 15 ^ (__enclaveBoundaryCheck_f031 >>> 6 & 255 ^ 160)) === 83) {
73
+ } else if (lang === _assertOptions_f86f(49367 ^ (__entropyNonceProof_f86f & 65535 ^ 22660)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 19 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 19 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 19 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 19 | 1)) & 15 ^ (__entropyNonceProof_f86f >>> 15 & 255 ^ 145)) === 135) {
74
74
  return this.transformRust(sourceCode);
75
75
  }
76
- return (__enclaveBoundaryCheck_f031 & 255) === 158 ? this.transformCCpp(sourceCode) : (() => {
77
- function verifyTrim_6309(_tok0, _tok1, _tok2, _tok3) {
78
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:3e39a1a0-5db35e13]",
76
+ return (__entropyNonceProof_f86f & 255) === 86 ? this.transformCCpp(sourceCode) : (() => {
77
+ function verifyHmacSequenceFrame_1f57(_tok0, _tok1, _tok2, _tok3) {
78
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:fd47fa13-61d8c15e]",
79
79
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
80
80
  let _h = 2166136261;
81
81
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -93,21 +93,21 @@ export class NativeSourceTransformer {
93
93
  _h = (_h ^ _h >>> 16) >>> 0;
94
94
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
95
95
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
96
- if ((_h >>> 4 & 15) !== 12) {
97
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
96
+ if ((_h >>> 4 & 15) !== 2) {
97
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
98
98
  }
99
99
  return _h;
100
100
  }
101
- const __enclaveBoundaryCheck_6309 = verifyTrim_6309(1209706423, 2129665691, 1660052227, 428813987);
102
- if ((__enclaveBoundaryCheck_6309 & 255) !== 206) {
101
+ const __tpmPcrBankIntegrity_1f57 = verifyHmacSequenceFrame_1f57(275634065, 781395343, 281557115, 1522645073);
102
+ if ((__tpmPcrBankIntegrity_1f57 & 255) !== 33) {
103
103
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
104
104
  }
105
105
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
106
106
  })();
107
107
  }
108
108
  transformCCpp(rawSourceCode) {
109
- function evaluateHashString_f7a5(_tok0, _tok1, _tok2, _tok3) {
110
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:d4b35286-9427bf23]",
109
+ function attestTransformedCount_e786(_tok0, _tok1, _tok2, _tok3) {
110
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:58e9f375-f6dffe25]",
111
111
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
112
112
  let _h = 2166136261;
113
113
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -125,46 +125,46 @@ export class NativeSourceTransformer {
125
125
  _h = (_h ^ _h >>> 16) >>> 0;
126
126
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
127
127
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
128
- if ((_h >>> 4 & 15) !== 14) {
129
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
128
+ if ((_h >>> 4 & 15) !== 0) {
129
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
130
130
  }
131
131
  return _h;
132
132
  }
133
- const __entropySeedDigest_f7a5 = evaluateHashString_f7a5(1691481363, 1299489391, 186881601, 2073645353);
134
- const _stateKeyDerivedSequence_f7a5 = [[143, 222, 244], [125, 186, 204, 187], [83, 146, 171, 118], [51, 115, 128, 72, 157], [30, 43, 97, 44, 98, 189], [237, 12, 77, 6, 65, 147], [167, 225, 48, 235, 44], [154, 199, 226, 201, 20, 36], [125, 172, 218, 151, 193, 24], [80, 145, 172, 116, 180], [40, 87, 144, 64, 133, 213], [13, 53, 126, 39, 112, 175, 206], [215, 5, 82, 2, 5, 50, 143, 126], [174, 255, 2, 247, 46, 65, 144], [159, 215, 231, 179]];
135
- function _assertRingBufferAttestation_f7a5(_slot) {
136
- const _row = _stateKeyDerivedSequence_f7a5[_slot];
137
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__entropySeedDigest_f7a5 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
133
+ const __entropySeedDigest_e786 = attestTransformedCount_e786(639205625, 453945799, 1932735579, 1944553813);
134
+ const _transformCCppProof_e786 = [[109, 91, 38], [95, 53, 30, 85], [45, 23, 253, 36], [21, 200, 174, 26, 115], [252, 166, 147, 194, 64, 56], [207, 139, 127, 176, 35, 236], [129, 124, 94, 153, 2], [116, 76, 52, 123, 242, 175], [95, 41, 8, 65, 163, 133], [50, 238, 254, 42, 150], [6, 210, 166, 18, 99, 88], [235, 190, 128, 213, 78, 20, 24], [181, 152, 96, 188, 103, 183, 253, 40], [140, 120, 80, 129, 12, 206, 162], [121, 90, 57, 97]];
135
+ function _verifyPrng_e786(_slot) {
136
+ const _row = _transformCCppProof_e786[_slot];
137
+ return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__entropySeedDigest_e786 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
138
138
  }
139
- const _enclaveDigestVector_f7f = rawSourceCode.replace(/\/\*[\s\S]*?\*\//g, '').replace(/(?<!:)\/\/.*$/gm, '');
140
- const _seedUsedEnvelope_3d7 = [];
141
- const _trimEnvelope_416 = /\b([a-zA-Z_][a-zA-Z0-9_]{3,20})\b/g;
142
- let _prngEnvelope_87c;
143
- while ((_prngEnvelope_87c = _trimEnvelope_416.exec(_enclaveDigestVector_f7f)) !== null) {
144
- const w = _prngEnvelope_87c[52101 ^ (__entropySeedDigest_f7a5 & 65535 ^ 16482)];
145
- if (![_assertRingBufferAttestation_f7a5(55673 ^ (__entropySeedDigest_f7a5 & 65535 ^ 21151)), _assertRingBufferAttestation_f7a5(41333 ^ (__entropySeedDigest_f7a5 & 65535 ^ 10898)), _assertRingBufferAttestation_f7a5(36886 ^ (__entropySeedDigest_f7a5 & 65535 ^ 7154)), _assertRingBufferAttestation_f7a5(35361 ^ (__entropySeedDigest_f7a5 & 65535 ^ 452)), _assertRingBufferAttestation_f7a5(58810 ^ (__entropySeedDigest_f7a5 & 65535 ^ 28248)), _assertRingBufferAttestation_f7a5(55168 ^ (__entropySeedDigest_f7a5 & 65535 ^ 23651)), _assertRingBufferAttestation_f7a5(53366 ^ (__entropySeedDigest_f7a5 & 65535 ^ 23446)), _assertRingBufferAttestation_f7a5(60545 ^ (__entropySeedDigest_f7a5 & 65535 ^ 26464)), _assertRingBufferAttestation_f7a5(58947 ^ (__entropySeedDigest_f7a5 & 65535 ^ 28077)), _assertRingBufferAttestation_f7a5(58961 ^ (__entropySeedDigest_f7a5 & 65535 ^ 28094)), _assertRingBufferAttestation_f7a5(58936 ^ (__entropySeedDigest_f7a5 & 65535 ^ 28116)), _assertRingBufferAttestation_f7a5(33434 ^ (__entropySeedDigest_f7a5 & 65535 ^ 2423)), _assertRingBufferAttestation_f7a5(51898 ^ (__entropySeedDigest_f7a5 & 65535 ^ 16720)), _assertRingBufferAttestation_f7a5(48838 ^ (__entropySeedDigest_f7a5 & 65535 ^ 13613))].includes(w)) {
146
- _seedUsedEnvelope_3d7.push(w);
139
+ const _seedUsedBitmask_41c = rawSourceCode.replace(/\/\*[\s\S]*?\*\//g, '').replace(/(?<!:)\/\/.*$/gm, '');
140
+ const _hmacFrameBitmask_71a = [];
141
+ const _tpmPcrBankBitmask_353 = /\b([a-zA-Z_][a-zA-Z0-9_]{3,20})\b/g;
142
+ let _hkdfSaltRotation_c23;
143
+ while ((_hkdfSaltRotation_c23 = _tpmPcrBankBitmask_353.exec(_seedUsedBitmask_41c)) !== null) {
144
+ const w = _hkdfSaltRotation_c23[19235 ^ (__entropySeedDigest_e786 & 65535 ^ 23334)];
145
+ if (![_verifyPrng_e786(14135 ^ (__entropySeedDigest_e786 & 65535 ^ 10035)), _verifyPrng_e786(10449 ^ (__entropySeedDigest_e786 & 65535 ^ 14548)), _verifyPrng_e786(13896 ^ (__entropySeedDigest_e786 & 65535 ^ 9806)), _verifyPrng_e786(3707 ^ (__entropySeedDigest_e786 & 65535 ^ 7804)), _verifyPrng_e786(4403 ^ (__entropySeedDigest_e786 & 65535 ^ 307)), _verifyPrng_e786(30512 ^ (__entropySeedDigest_e786 & 65535 ^ 26417)), _verifyPrng_e786(2695 ^ (__entropySeedDigest_e786 & 65535 ^ 6789)), _verifyPrng_e786(8903 ^ (__entropySeedDigest_e786 & 65535 ^ 12996)), _verifyPrng_e786(793 ^ (__entropySeedDigest_e786 & 65535 ^ 4885)), _verifyPrng_e786(2824 ^ (__entropySeedDigest_e786 & 65535 ^ 6917)), _verifyPrng_e786(4064 ^ (__entropySeedDigest_e786 & 65535 ^ 8174)), _verifyPrng_e786(9167 ^ (__entropySeedDigest_e786 & 65535 ^ 13248)), _verifyPrng_e786(18177 ^ (__entropySeedDigest_e786 & 65535 ^ 22281)), _verifyPrng_e786(17715 ^ (__entropySeedDigest_e786 & 65535 ^ 21818))].includes(w)) {
146
+ _hmacFrameBitmask_71a.push(w);
147
147
  }
148
148
  }
149
- const _ringBufferBitmask_13 = buildPolymorphicDictionary(this.options.domainProfile ?? _assertRingBufferAttestation_f7a5(41972 ^ (__entropySeedDigest_f7a5 & 65535 ^ 10268)), this.prng, _seedUsedEnvelope_3d7, this.options.customDictionary ?? []);
150
- const _SeededPRNGBitmask_fd6 = this.prng.pick(_ringBufferBitmask_13.legalInoculations);
151
- const _pcrPolicyBitmask_c27 = `${this.prng.nextUint32().toString(52687 ^ (__entropySeedDigest_f7a5 & 65535 ^ 17977)).padStart(48064 ^ (__entropySeedDigest_f7a5 & 65535 ^ 12334), '0')}-${this.prng.nextUint32().toString(43269 ^ (__entropySeedDigest_f7a5 & 65535 ^ 8947)).padStart(48701 ^ (__entropySeedDigest_f7a5 & 65535 ^ 13779), '0')}`;
152
- const _langBitmask_4ad = `${_SeededPRNGBitmask_fd6} [ATTESTATION_ID:${_pcrPolicyBitmask_c27}]`;
153
- const _transformedCountVector_1ba = (this.prng.nextUint32() & (5901 ^ (__entropySeedDigest_f7a5 & 65535 ^ 25364))).toString(65299 ^ (__entropySeedDigest_f7a5 & 65535 ^ 29925));
154
- const _entropyNonceSequence_a5f = `${this.prng.pick(_ringBufferBitmask_13.symbols)}_${_transformedCountVector_1ba}`;
155
- const _transformIntegrity_555 = `${this.prng.pick(_ringBufferBitmask_13.stateKeys)}_${_transformedCountVector_1ba}`;
156
- const _enclaveDigestBitmask_ce2 = `_fold_carry_${_transformedCountVector_1ba}`;
157
- const _sgxEcallCounter_53a = `_unmask_scalar_${_transformedCountVector_1ba}`;
158
- const _monotonicNonceDrift_8a8 = `_verify_quorum_${_transformedCountVector_1ba}`;
159
- const _SoltrixStudiosDelta_647 = `${this.prng.pick(_ringBufferBitmask_13.symbols)}_decoy_${_transformedCountVector_1ba}`;
160
- const _tpmPcrBankEnvelope_2cb = this.prng.nextUint32() & 2147483646 + ((__entropySeedDigest_f7a5 & 255) - 230) | 51979 ^ (__entropySeedDigest_f7a5 & 65535 ^ 16620);
161
- const _ringBufferVector_d4 = this.mba.computeStringKey(_langBitmask_4ad, _tpmPcrBankEnvelope_2cb);
162
- const _tpmPcrBankSequence_bca = _ringBufferVector_d4 >>> (56560 ^ (__entropySeedDigest_f7a5 & 65535 ^ 22290)) & (64179 ^ (__entropySeedDigest_f7a5 & 65535 ^ 29018));
163
- const _hkdfSaltRotation_982 = _langBitmask_4ad.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
164
- let _transformRustEnvelope_d1d = 55043 ^ (__entropySeedDigest_f7a5 & 65535 ^ 23781);
165
- const _sgxBoundaryProof_82c = _enclaveDigestVector_f7f.replace(/(\b(?:int|long|short|unsigned|uint32_t|int32_t|uint64_t|int64_t|double|float|bool|auto)\s+[a-zA-Z_][a-zA-Z0-9_]*\s*\([^;{}]*\)\s*\{)/g, matchHeader => {
166
- function unsealHmacFrameSequence_5264(_tok0, _tok1, _tok2, _tok3) {
167
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:1e9faa70-8f5bd621]",
149
+ const _transformCCppProof_958 = buildPolymorphicDictionary(this.options.domainProfile ?? _verifyPrng_e786(20684 ^ (__entropySeedDigest_e786 & 65535 ^ 16582)), this.prng, _hmacFrameBitmask_71a, this.options.customDictionary ?? []);
150
+ const _keyDerivationStateIntegrity_d63 = this.prng.pick(_transformCCppProof_958.legalInoculations);
151
+ const _tpmPcrBankIntegrity_62a = `${this.prng.nextUint32().toString(6483 ^ (__entropySeedDigest_e786 & 65535 ^ 2375)).padStart(32327 ^ (__entropySeedDigest_e786 & 65535 ^ 28235), '0')}-${this.prng.nextUint32().toString(3404 ^ (__entropySeedDigest_e786 & 65535 ^ 7512)).padStart(15044 ^ (__entropySeedDigest_e786 & 65535 ^ 10952), '0')}`;
152
+ const _SyferitEngineDelta_678 = `${_keyDerivationStateIntegrity_d63} [ATTESTATION_ID:${_tpmPcrBankIntegrity_62a}]`;
153
+ const _modeVector_7b5 = (this.prng.nextUint32() & (42941 ^ (__entropySeedDigest_e786 & 65535 ^ 18502))).toString(24093 ^ (__entropySeedDigest_e786 & 65535 ^ 19977));
154
+ const _codeProof_491 = `${this.prng.pick(_transformCCppProof_958.symbols)}_${_modeVector_7b5}`;
155
+ const _keyDerivationStateVector_5c6 = `${this.prng.pick(_transformCCppProof_958.stateKeys)}_${_modeVector_7b5}`;
156
+ const _entropyNonceBitmask_456 = `_fold_carry_${_modeVector_7b5}`;
157
+ const _ringBufferIntegrity_bd = `_unmask_scalar_${_modeVector_7b5}`;
158
+ const _tpmPcrBankProof_ae4 = `_verify_quorum_${_modeVector_7b5}`;
159
+ const _inoculationInjectedEnvelope_d29 = `${this.prng.pick(_transformCCppProof_958.symbols)}_decoy_${_modeVector_7b5}`;
160
+ const _optionsIntegrity_6f2 = this.prng.nextUint32() & 2147483646 + ((__entropySeedDigest_e786 & 255) - 4) | 22134 ^ (__entropySeedDigest_e786 & 65535 ^ 18035);
161
+ const _transformedCountEnvelope_bff = this.mba.computeStringKey(_SyferitEngineDelta_678, _optionsIntegrity_6f2);
162
+ const _generateCryptoSeedSequence_94f = _transformedCountEnvelope_bff >>> (2450 ^ (__entropySeedDigest_e786 & 65535 ^ 6546)) & (17256 ^ (__entropySeedDigest_e786 & 65535 ^ 21347));
163
+ const _constructorVector_5b0 = _SyferitEngineDelta_678.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
164
+ let _sourceCodeProof_e42 = 18772 ^ (__entropySeedDigest_e786 & 65535 ^ 22864);
165
+ const _seedBitmask_f6f = _seedUsedBitmask_41c.replace(/(\b(?:int|long|short|unsigned|uint32_t|int32_t|uint64_t|int64_t|double|float|bool|auto)\s+[a-zA-Z_][a-zA-Z0-9_]*\s*\([^;{}]*\)\s*\{)/g, matchHeader => {
166
+ function unsealGenerateCryptoSeed_893(_tok0, _tok1, _tok2, _tok3) {
167
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:3087108b-6df335ec]",
168
168
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
169
169
  let _h = 2166136261;
170
170
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -182,20 +182,20 @@ export class NativeSourceTransformer {
182
182
  _h = (_h ^ _h >>> 16) >>> 0;
183
183
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
184
184
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
185
- if ((_h >>> 4 & 15) !== 1) {
185
+ if ((_h >>> 4 & 15) !== 10) {
186
186
  throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
187
187
  }
188
188
  return _h;
189
189
  }
190
- const __ringBufferBitmask_5264 = unsealHmacFrameSequence_5264(1207109031, 1569390757, 1555231905, 1825740097);
191
- _transformRustEnvelope_d1d++;
192
- const _stateKeyDerivedSequence_eca = this.prng.nextUint32() & 2147483646 + ((__entropySeedDigest_f7a5 & 255) - 230) | 48268 ^ (__entropySeedDigest_f7a5 & 65535 ^ 14187);
193
- const _trimEnvelope_abd = (55515 ^ (__entropySeedDigest_f7a5 & 65535 ^ 21308) ^ _stateKeyDerivedSequence_eca) >>> (52071 ^ (__entropySeedDigest_f7a5 & 65535 ^ 16513));
194
- const _SoltrixStudiosDelta_a86 = (_stateKeyDerivedSequence_eca ^ _ringBufferVector_d4) >>> (49915 ^ (__entropySeedDigest_f7a5 & 65535 ^ 18717));
195
- const _SeededPRNGBitmask_ad9 = [matchHeader, ` const unsigned int ${_transformIntegrity_555} = ${_entropyNonceSequence_a5f}(${_tpmPcrBankEnvelope_2cb}u);`, ` if (${_monotonicNonceDrift_8a8}(${_transformIntegrity_555}, ${_trimEnvelope_abd}u, ${_SoltrixStudiosDelta_a86}u) == 0u) { return ${_SoltrixStudiosDelta_647}(${_transformIntegrity_555}); }`].join('\n');
196
- return (__ringBufferBitmask_5264 & 255) === 22 ? _SeededPRNGBitmask_ad9 : (() => {
197
- function verifyTpmPcrBankBitmask_f627(_tok0, _tok1, _tok2, _tok3) {
198
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:88d5d866-0e51e087]",
190
+ const __tpmPcrBankBitmask_893 = unsealGenerateCryptoSeed_893(2047517111, 728402459, 470181365, 1693598601);
191
+ _sourceCodeProof_e42++;
192
+ const _SyferitEngineDelta_4ee = this.prng.nextUint32() & 2147483646 + ((__entropySeedDigest_e786 & 255) - 4) | 23383 ^ (__entropySeedDigest_e786 & 65535 ^ 19282);
193
+ const _generateCryptoSeedSequence_cf1 = (16914 ^ (__entropySeedDigest_e786 & 65535 ^ 21015) ^ _SyferitEngineDelta_4ee) >>> (30041 ^ (__entropySeedDigest_e786 & 65535 ^ 25949));
194
+ const _transformedCountEnvelope_7e2 = (_SyferitEngineDelta_4ee ^ _transformedCountEnvelope_bff) >>> (23450 ^ (__entropySeedDigest_e786 & 65535 ^ 19358));
195
+ const _tpmPcrBankIntegrity_fbe = [matchHeader, ` const unsigned int ${_keyDerivationStateVector_5c6} = ${_codeProof_491}(${_optionsIntegrity_6f2}u);`, ` if (${_tpmPcrBankProof_ae4}(${_keyDerivationStateVector_5c6}, ${_generateCryptoSeedSequence_cf1}u, ${_transformedCountEnvelope_7e2}u) == 0u) { return ${_inoculationInjectedEnvelope_d29}(${_keyDerivationStateVector_5c6}); }`].join('\n');
196
+ return (__tpmPcrBankBitmask_893 & 255) === 161 ? _tpmPcrBankIntegrity_fbe : (() => {
197
+ function isolateStateKeyDerived_756b(_tok0, _tok1, _tok2, _tok3) {
198
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:91955be2-6602a341]",
199
199
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
200
200
  let _h = 2166136261;
201
201
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -213,60 +213,32 @@ export class NativeSourceTransformer {
213
213
  _h = (_h ^ _h >>> 16) >>> 0;
214
214
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
215
215
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
216
- if ((_h >>> 4 & 15) !== 12) {
217
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
216
+ if ((_h >>> 4 & 15) !== 0) {
217
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
218
218
  }
219
219
  return _h;
220
220
  }
221
- const __enclaveBoundaryCheck_f627 = verifyTpmPcrBankBitmask_f627(617451933, 402406237, 896420327, 525065699);
222
- if ((__enclaveBoundaryCheck_f627 & 255) !== 205) {
221
+ const __entropyNonceAttestation_756b = isolateStateKeyDerived_756b(142789347, 1485510279, 1308564359, 1482361891);
222
+ if ((__entropyNonceAttestation_756b & 255) !== 7) {
223
223
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
224
224
  }
225
225
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
226
226
  })();
227
227
  });
228
- const _optionsSequence_ab9 = [`/* [Protected by Soltrix Studios — Syferit Code Defense Engine | https://syferit.soltrixstudios.com] */`, `#if defined(__GNUC__) || defined(__clang__)`, ` #define SYFERIT_USED __attribute__((used))`, ` #define SYFERIT_NOINLINE __attribute__((noinline))`, `#elif defined(_MSC_VER)`, ` #define SYFERIT_USED`, ` #define SYFERIT_NOINLINE __declspec(noinline)`, `#else`, ` #define SYFERIT_USED`, ` #define SYFERIT_NOINLINE`, `#endif`, ``, `SYFERIT_USED static const char _syferit_attestation_${_transformedCountVector_1ba}[] = "${_hkdfSaltRotation_982}";`, ``, `SYFERIT_NOINLINE static unsigned int ${_entropyNonceSequence_a5f}(unsigned int _tok) {`, ` unsigned int _h = (2166136261u ^ _tok);`, ` for (unsigned int _i = 0; _syferit_attestation_${_transformedCountVector_1ba}[_i] != '\\0'; ++_i) {`, ` _h ^= (unsigned char)_syferit_attestation_${_transformedCountVector_1ba}[_i];`, ` _h *= 16777619u;`, ` _h ^= (_h >> 13);`, ` }`, ` _h = (_h ^ (_h >> 16)) * 2246822507u;`, ` _h = (_h ^ (_h >> 13)) * 3266489909u;`, ` _h = (_h ^ (_h >> 16));`, ` if ((_h & 0xFFFFu) == 0u) _h |= 0x1337u;`, ` if (((_h >> 16) & 0xFFFFu) == 0u) _h |= 0x73310000u;`, ` if (((_h >> 4) & 0xFu) != ${_tpmPcrBankSequence_bca}u) {`, ` volatile int *_trap = (volatile int *)0; *_trap = 0;`, ` }`, ` return _h;`, `}`, ``, `static inline unsigned int ${_sgxEcallCounter_53a}(unsigned int _c1, unsigned int _c2, unsigned int _k) {`, ` return _c1 ^ (_k ^ _c2);`, `}`, ``, `static inline unsigned int ${_enclaveDigestBitmask_ce2}(unsigned int _x, unsigned int _y) {`, ` return (_x ^ _y) + ((_x & _y) << 1u);`, `}`, ``, `static inline unsigned int ${_monotonicNonceDrift_8a8}(unsigned int _k, unsigned int _c1, unsigned int _c2) {`, ` unsigned int _u = _k | 1u;`, ` unsigned int _u2 = _u * _u;`, ` unsigned int _u4 = _u2 * _u2;`, ` unsigned int _expected = ${_sgxEcallCounter_53a}(_c1, _c2, _k);`, ` return ((_u4 & 15u) == _expected) ? 1u : 0u;`, `}`, ``, `SYFERIT_NOINLINE static int ${_SoltrixStudiosDelta_647}(unsigned int _k) {`, ` unsigned int _acc = ${_enclaveDigestBitmask_ce2}(_k, 0x5A17E9B3u);`, ` return (int)(_acc ^ 0xDEADBEEFu);`, `}`, ``].join('\n');
229
- return (__entropySeedDigest_f7a5 & 255) === 230 ? {
230
- code: `${_optionsSequence_ab9}\n${_sgxBoundaryProof_82c}`,
231
- transformedCount: _transformRustEnvelope_d1d,
228
+ const _langAttestation_adc = [`/* [Protected by Soltrix Studios — Syferit Code Defense Engine | https://syferit.soltrixstudios.com] */`, `#if defined(__GNUC__) || defined(__clang__)`, ` #define SYFERIT_USED __attribute__((used))`, ` #define SYFERIT_NOINLINE __attribute__((noinline))`, `#elif defined(_MSC_VER)`, ` #define SYFERIT_USED`, ` #define SYFERIT_NOINLINE __declspec(noinline)`, `#else`, ` #define SYFERIT_USED`, ` #define SYFERIT_NOINLINE`, `#endif`, ``, `SYFERIT_USED static const char _syferit_attestation_${_modeVector_7b5}[] = "${_constructorVector_5b0}";`, ``, `SYFERIT_NOINLINE static unsigned int ${_codeProof_491}(unsigned int _tok) {`, ` unsigned int _h = (2166136261u ^ _tok);`, ` for (unsigned int _i = 0; _syferit_attestation_${_modeVector_7b5}[_i] != '\\0'; ++_i) {`, ` _h ^= (unsigned char)_syferit_attestation_${_modeVector_7b5}[_i];`, ` _h *= 16777619u;`, ` _h ^= (_h >> 13);`, ` }`, ` _h = (_h ^ (_h >> 16)) * 2246822507u;`, ` _h = (_h ^ (_h >> 13)) * 3266489909u;`, ` _h = (_h ^ (_h >> 16));`, ` if ((_h & 0xFFFFu) == 0u) _h |= 0x1337u;`, ` if (((_h >> 16) & 0xFFFFu) == 0u) _h |= 0x73310000u;`, ` if (((_h >> 4) & 0xFu) != ${_generateCryptoSeedSequence_94f}u) {`, ` volatile int *_trap = (volatile int *)0; *_trap = 0;`, ` }`, ` return _h;`, `}`, ``, `static inline unsigned int ${_ringBufferIntegrity_bd}(unsigned int _c1, unsigned int _c2, unsigned int _k) {`, ` return _c1 ^ (_k ^ _c2);`, `}`, ``, `static inline unsigned int ${_entropyNonceBitmask_456}(unsigned int _x, unsigned int _y) {`, ` return (_x ^ _y) + ((_x & _y) << 1u);`, `}`, ``, `static inline unsigned int ${_tpmPcrBankProof_ae4}(unsigned int _k, unsigned int _c1, unsigned int _c2) {`, ` unsigned int _u = _k | 1u;`, ` unsigned int _u2 = _u * _u;`, ` unsigned int _u4 = _u2 * _u2;`, ` unsigned int _expected = ${_ringBufferIntegrity_bd}(_c1, _c2, _k);`, ` return ((_u4 & 15u) == _expected) ? 1u : 0u;`, `}`, ``, `SYFERIT_NOINLINE static int ${_inoculationInjectedEnvelope_d29}(unsigned int _k) {`, ` unsigned int _acc = ${_entropyNonceBitmask_456}(_k, 0x5A17E9B3u);`, ` return (int)(_acc ^ 0xDEADBEEFu);`, `}`, ``].join('\n');
229
+ return (__entropySeedDigest_e786 & 255) === 4 ? {
230
+ code: `${_langAttestation_adc}\n${_seedBitmask_f6f}`,
231
+ transformedCount: _sourceCodeProof_e42,
232
232
  seedUsed: this.seed,
233
233
  inoculationInjected: true,
234
- stateKeyDerived: _ringBufferVector_d4 >>> (51220 ^ (__entropySeedDigest_f7a5 & 65535 ^ 17394))
234
+ stateKeyDerived: _transformedCountEnvelope_bff >>> (1363 ^ (__entropySeedDigest_e786 & 65535 ^ 5463))
235
235
  } : (() => {
236
- function verifyProprietaryEnclaveContext_2103(_tok0, _tok1, _tok2, _tok3) {
237
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:c2635dfa-e2338ad4]",
238
- _tokVec = [_tok0, _tok1, _tok2, _tok3];
239
- let _h = 2166136261;
240
- for (let _s = 0; _s < _tokVec.length; _s++) {
241
- _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
242
- _h = Math.imul(_h, 16777619) >>> 0;
243
- _h ^= _h >>> 13;
244
- }
245
- for (let _i = 0; _i < _legalAttestation.length; _i++) {
246
- _h ^= _legalAttestation.charCodeAt(_i);
247
- _h = Math.imul(_h, 16777619) >>> 0;
248
- _h ^= _h >>> 13;
249
- }
250
- _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
251
- _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
252
- _h = (_h ^ _h >>> 16) >>> 0;
253
- if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
254
- if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
255
- if ((_h >>> 4 & 15) !== 11) {
256
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
257
- }
258
- return _h;
259
- }
260
- const __enclaveBoundaryCheck_2103 = verifyProprietaryEnclaveContext_2103(1465053317, 744545519, 592350711, 1234689143);
261
- if ((__enclaveBoundaryCheck_2103 & 255) !== 189) {
262
- throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
263
- }
264
236
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
265
237
  })();
266
238
  }
267
239
  transformRust(rawSourceCode) {
268
- function isolateHmacFrameBitmask_ce0f(_tok0, _tok1, _tok2, _tok3) {
269
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:bda21546-3ebf940b]",
240
+ function rotateKeyDerivationStateSequence_17ad(_tok0, _tok1, _tok2, _tok3) {
241
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:dc7d8b11-5b083507]",
270
242
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
271
243
  let _h = 2166136261;
272
244
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -284,43 +256,43 @@ export class NativeSourceTransformer {
284
256
  _h = (_h ^ _h >>> 16) >>> 0;
285
257
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
286
258
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
287
- if ((_h >>> 4 & 15) !== 13) {
288
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
259
+ if ((_h >>> 4 & 15) !== 8) {
260
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
289
261
  }
290
262
  return _h;
291
263
  }
292
- const __keyDerivationStateProof_ce0f = isolateHmacFrameBitmask_ce0f(691541715, 326694549, 2114492251, 1198468195);
293
- const _monotonicNonceDrift_ce0f = [[161, 160, 85, 235], [145, 143, 41, 206, 212, 75, 217, 97, 64, 61, 222, 150, 199, 208, 124, 26, 51], [121, 101, 29, 142, 209, 233, 119, 41, 45, 64, 201, 102, 185, 179, 95, 250]];
294
- function _auditSeedUsed_ce0f(_slot) {
295
- const _row = _monotonicNonceDrift_ce0f[_slot];
296
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__keyDerivationStateProof_ce0f >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
264
+ const __enclaveBoundaryCheck_17ad = rotateKeyDerivationStateSequence_17ad(1579390861, 1737462651, 581713287, 1875811163);
265
+ const _sgxEcallCounter_17ad = [[248, 135, 9, 202], [214, 98, 253, 173, 27, 174, 21, 66, 135, 0, 234, 117, 24, 181, 32, 249, 116], [176, 94, 209, 111, 8, 178, 35, 200, 148, 43, 181, 71, 240, 152, 11, 219]];
266
+ function _assertRingBufferIntegrity_17ad(_slot) {
267
+ const _row = _sgxEcallCounter_17ad[_slot];
268
+ return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__enclaveBoundaryCheck_17ad >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
297
269
  }
298
- const _tpmPcrBankBitmask_e78 = rawSourceCode.replace(/\/\*[\s\S]*?\*\//g, '').replace(/(?<!:)\/\/.*$/gm, '');
299
- const _sgxBoundaryProof_de4 = [];
300
- const _ringBufferBitmask_943 = /\bfn\s+([a-zA-Z_][a-zA-Z0-9_]*)/g;
301
- let _monotonicNonceDrift_257;
302
- while ((_monotonicNonceDrift_257 = _ringBufferBitmask_943.exec(_tpmPcrBankBitmask_e78)) !== null) {
303
- if (_monotonicNonceDrift_257[60069 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 30326)] && _monotonicNonceDrift_257[43303 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 13812)].length >= (46947 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 11189))) {
304
- _sgxBoundaryProof_de4.push(_monotonicNonceDrift_257[57574 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 31797)]);
270
+ const _SeededPRNGBitmask_472 = rawSourceCode.replace(/\/\*[\s\S]*?\*\//g, '').replace(/(?<!:)\/\/.*$/gm, '');
271
+ const _inoculationInjectedEnvelope_d63 = [];
272
+ const _transformedCountEnvelope_c2 = /\bfn\s+([a-zA-Z_][a-zA-Z0-9_]*)/g;
273
+ let _keyDerivationStateBitmask_1d1;
274
+ while ((_keyDerivationStateBitmask_1d1 = _transformedCountEnvelope_c2.exec(_SeededPRNGBitmask_472)) !== null) {
275
+ if (_keyDerivationStateBitmask_1d1[41367 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 24605)] && _keyDerivationStateBitmask_1d1[34533 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 18287)].length >= (48221 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 32210))) {
276
+ _inoculationInjectedEnvelope_d63.push(_keyDerivationStateBitmask_1d1[34953 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 18691)]);
305
277
  }
306
278
  }
307
- const _transformRustEnvelope_65b = buildPolymorphicDictionary(this.options.domainProfile ?? _auditSeedUsed_ce0f(33789 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 7983)), this.prng, _sgxBoundaryProof_de4, this.options.customDictionary ?? []);
308
- const _generateCryptoSeedIntegrity_118 = this.prng.pick(_transformRustEnvelope_65b.legalInoculations);
309
- const _hmacFrameBitmask_1aa = `${this.prng.nextUint32().toString(38271 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 2493)).padStart(57330 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 17192), '0')}-${this.prng.nextUint32().toString(45796 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 11814)).padStart(50529 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 22971), '0')}`;
310
- const _SeededPRNGBitmask_2a7 = `${_generateCryptoSeedIntegrity_118} [ATTESTATION_ID:${_hmacFrameBitmask_1aa}]`;
311
- const _tpmPcrBankEnvelope_a3a = (this.prng.nextUint32() & (30378 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 5511))).toString(35174 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 5540));
312
- const _enclaveDigestAttestation_ba6 = `${this.prng.pick(_transformRustEnvelope_65b.symbols)}_${_tpmPcrBankEnvelope_a3a}`.toLowerCase();
313
- const _ringBufferVector_9c = `${this.prng.pick(_transformRustEnvelope_65b.stateKeys)}_${_tpmPcrBankEnvelope_a3a}`.toLowerCase();
314
- const _hashStringAttestation_17a = `_verify_quorum_${_tpmPcrBankEnvelope_a3a}`;
315
- const _SoltrixStudiosDelta_fa6 = `_fold_carry_${_tpmPcrBankEnvelope_a3a}`;
316
- const _hkdfSaltRotation_7b3 = this.prng.nextUint32() & 2147483646 + ((__keyDerivationStateProof_ce0f & 255) - 210) | 48148 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 8391);
317
- const _modeProof_e2f = this.mba.computeStringKey(_SeededPRNGBitmask_2a7, _hkdfSaltRotation_7b3);
318
- const _seedUsedEnvelope_57f = _modeProof_e2f >>> (38040 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 2126)) & (57060 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 16953));
319
- const _tpmUnsealOffset_2f0 = _SeededPRNGBitmask_2a7.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
320
- let _pcrPolicyBitmask_4e9 = 64896 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 24914);
321
- const _SyferitEngineDelta_98 = _tpmPcrBankBitmask_e78.replace(/(\b(?:pub\s+)?fn\s+[a-zA-Z_][a-zA-Z0-9_]*\s*\([^{;]*\)(?:\s*->\s*[^{;]+)?\s*\{)/g, matchHeader => {
322
- function auditTransformedCount_b15e(_tok0, _tok1, _tok2, _tok3) {
323
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:65eda4a3-3a44aac5]",
279
+ const _keyDerivationStateIntegrity_b20 = buildPolymorphicDictionary(this.options.domainProfile ?? _assertRingBufferIntegrity_17ad(44663 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 28668)), this.prng, _inoculationInjectedEnvelope_d63, this.options.customDictionary ?? []);
280
+ const _MBASynthesizerVector_8e2 = this.prng.pick(_keyDerivationStateIntegrity_b20.legalInoculations);
281
+ const _prngAttestation_65b = `${this.prng.nextUint32().toString(41795 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 25304)).padStart(39813 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 23046), '0')}-${this.prng.nextUint32().toString(55340 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 6583)).padStart(50624 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 1091), '0')}`;
282
+ const _ringBufferIntegrity_aa8 = `${_MBASynthesizerVector_8e2} [ATTESTATION_ID:${_prngAttestation_65b}]`;
283
+ const _entropyNonceBitmask_cb1 = (this.prng.nextUint32() & (17896 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 31644))).toString(65388 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 16119));
284
+ const _tpmUnsealOffset_cb5 = `${this.prng.pick(_keyDerivationStateIntegrity_b20.symbols)}_${_entropyNonceBitmask_cb1}`.toLowerCase();
285
+ const _generateCryptoSeedSequence_374 = `${this.prng.pick(_keyDerivationStateIntegrity_b20.stateKeys)}_${_entropyNonceBitmask_cb1}`.toLowerCase();
286
+ const _stateKeyDerivedBitmask_f8b = `_verify_quorum_${_entropyNonceBitmask_cb1}`;
287
+ const _seedUsedBitmask_66 = `_fold_carry_${_entropyNonceBitmask_cb1}`;
288
+ const _hmacFrameSequence_3b0 = this.prng.nextUint32() & 2147483646 + ((__enclaveBoundaryCheck_17ad & 255) - 139) | 40632 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 24370);
289
+ const _hmacFrameBitmask_9c2 = this.mba.computeStringKey(_ringBufferIntegrity_aa8, _hmacFrameSequence_3b0);
290
+ const _SoltrixStudiosDelta_240 = _hmacFrameBitmask_9c2 >>> (53449 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 4422)) & (36934 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 20930));
291
+ const _optionsIntegrity_49c = _ringBufferIntegrity_aa8.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
292
+ let _sgxEcallCounter_c7e = 55957 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 6942);
293
+ const _pcrPolicyBitmask_7b7 = _SeededPRNGBitmask_472.replace(/(\b(?:pub\s+)?fn\s+[a-zA-Z_][a-zA-Z0-9_]*\s*\([^{;]*\)(?:\s*->\s*[^{;]+)?\s*\{)/g, matchHeader => {
294
+ function verifyProprietaryEnclaveContext_e7b6(_tok0, _tok1, _tok2, _tok3) {
295
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:3c5d399b-735121c2]",
324
296
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
325
297
  let _h = 2166136261;
326
298
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -338,19 +310,19 @@ export class NativeSourceTransformer {
338
310
  _h = (_h ^ _h >>> 16) >>> 0;
339
311
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
340
312
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
341
- if ((_h >>> 4 & 15) !== 11) {
342
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
313
+ if ((_h >>> 4 & 15) !== 4) {
314
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
343
315
  }
344
316
  return _h;
345
317
  }
346
- const __hmacRingSequence_b15e = auditTransformedCount_b15e(824615395, 318302073, 400403237, 1812864463);
347
- _pcrPolicyBitmask_4e9++;
348
- const _tpmPcrBankEnvelope_fd5 = this.prng.nextUint32() & 2147483646 + ((__keyDerivationStateProof_ce0f & 255) - 210) | 41407 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 15724);
349
- const _prngEnvelope_8ad = (61795 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 28080) ^ _tpmPcrBankEnvelope_fd5) >>> (60367 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 30493));
350
- const _seedUsedEnvelope_66b = (_tpmPcrBankEnvelope_fd5 ^ _modeProof_e2f) >>> (53827 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 20113));
351
- return (__hmacRingSequence_b15e & 255) === 187 ? [matchHeader, ` let ${_ringBufferVector_9c}: u32 = ${_enclaveDigestAttestation_ba6}(${_hkdfSaltRotation_7b3}u32);`, ` if !${_hashStringAttestation_17a}(${_ringBufferVector_9c}, ${_prngEnvelope_8ad}u32, ${_seedUsedEnvelope_66b}u32) { panic!("ASSERTION_INVARIANT: State quorum mismatch"); }`].join('\n') : (() => {
352
- function assertRingBufferAttestation_9283(_tok0, _tok1, _tok2, _tok3) {
353
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:a77048ef-c6397bd4]",
318
+ const __hmacFrameBitmask_e7b6 = verifyProprietaryEnclaveContext_e7b6(377696233, 1451407987, 2136455217, 1117657493);
319
+ _sgxEcallCounter_c7e++;
320
+ const _hmacFrameSequence_24 = this.prng.nextUint32() & 2147483646 + ((__enclaveBoundaryCheck_17ad & 255) - 139) | 46291 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 30041);
321
+ const _ProprietaryEnclaveDelta_ad8 = (33012 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 16766) ^ _hmacFrameSequence_24) >>> (34449 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 18202));
322
+ const _tpmPcrBankBitmask_72c = (_hmacFrameSequence_24 ^ _hmacFrameBitmask_9c2) >>> (60380 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 10839));
323
+ return (__hmacFrameBitmask_e7b6 & 255) === 79 ? [matchHeader, ` let ${_generateCryptoSeedSequence_374}: u32 = ${_tpmUnsealOffset_cb5}(${_hmacFrameSequence_3b0}u32);`, ` if !${_stateKeyDerivedBitmask_f8b}(${_generateCryptoSeedSequence_374}, ${_ProprietaryEnclaveDelta_ad8}u32, ${_tpmPcrBankBitmask_72c}u32) { panic!("ASSERTION_INVARIANT: State quorum mismatch"); }`].join('\n') : (() => {
324
+ function auditTransform_a572(_tok0, _tok1, _tok2, _tok3) {
325
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:fd41c67c-0e0cbd0a]",
354
326
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
355
327
  let _h = 2166136261;
356
328
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -368,61 +340,33 @@ export class NativeSourceTransformer {
368
340
  _h = (_h ^ _h >>> 16) >>> 0;
369
341
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
370
342
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
371
- if ((_h >>> 4 & 15) !== 6) {
343
+ if ((_h >>> 4 & 15) !== 11) {
372
344
  throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
373
345
  }
374
346
  return _h;
375
347
  }
376
- const __tpmPcrBankBitmask_9283 = assertRingBufferAttestation_9283(582100193, 1728518059, 940807361, 1758422643);
377
- if ((__tpmPcrBankBitmask_9283 & 255) !== 104) {
348
+ const __keyDerivationStateIntegrity_a572 = auditTransform_a572(396288811, 1492908329, 622640215, 1994881589);
349
+ if ((__keyDerivationStateIntegrity_a572 & 255) !== 189) {
378
350
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
379
351
  }
380
352
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
381
353
  })();
382
354
  });
383
- const _enclaveDigestBitmask_53e = [`// [Protected by Soltrix Studios — Syferit Code Defense Engine | https://syferit.soltrixstudios.com]`, `#[used]`, `static _SYFERIT_ATTESTATION_${_tpmPcrBankEnvelope_a3a.toUpperCase()}: &[u8] = b"${_tpmUnsealOffset_2f0}\\0";`, ``, `#[inline(never)]`, `fn ${_enclaveDigestAttestation_ba6}(_tok: u32) -> u32 {`, ` let mut _h: u32 = 2166136261u32 ^ _tok;`, ` let mut _i: usize = 0;`, ` while _i + 1 < _SYFERIT_ATTESTATION_${_tpmPcrBankEnvelope_a3a.toUpperCase()}.len() {`, ` _h ^= _SYFERIT_ATTESTATION_${_tpmPcrBankEnvelope_a3a.toUpperCase()}[_i] as u32;`, ` _h = _h.wrapping_mul(16777619u32);`, ` _h ^= _h >> 13;`, ` _i += 1;`, ` }`, ` _h = (_h ^ (_h >> 16)).wrapping_mul(2246822507u32);`, ` _h = (_h ^ (_h >> 13)).wrapping_mul(3266489909u32);`, ` _h = _h ^ (_h >> 16);`, ` if (_h & 0xFFFFu32) == 0 { _h |= 0x1337u32; }`, ` if ((_h >> 16) & 0xFFFFu32) == 0 { _h |= 0x73310000u32; }`, ` if ((_h >> 4) & 0xFu32) != ${_seedUsedEnvelope_57f}u32 {`, ` panic!("ASSERTION_INVARIANT: Attestation keyframe corrupted");`, ` }`, ` _h`, `}`, ``, `#[inline(always)]`, `fn ${_SoltrixStudiosDelta_fa6}(_x: u32, _y: u32) -> u32 {`, ` (_x ^ _y).wrapping_add((_x & _y) << 1)`, `}`, ``, `#[inline(always)]`, `fn ${_hashStringAttestation_17a}(_k: u32, _c1: u32, _c2: u32) -> bool {`, ` let _u: u32 = _k | 1u32;`, ` let _u2: u32 = _u.wrapping_mul(_u);`, ` let _u4: u32 = _u2.wrapping_mul(_u2);`, ` let _expected: u32 = _c1 ^ (_k ^ _c2);`, ` (_u4 & 15u32) == ${_SoltrixStudiosDelta_fa6}(_expected, 0u32)`, `}`, ``].join('\n');
384
- return (__keyDerivationStateProof_ce0f & 255) === 210 ? {
385
- code: `${_enclaveDigestBitmask_53e}\n${_SyferitEngineDelta_98}`,
386
- transformedCount: _pcrPolicyBitmask_4e9,
355
+ const _ProprietaryEnclaveDelta_c3f = [`// [Protected by Soltrix Studios — Syferit Code Defense Engine | https://syferit.soltrixstudios.com]`, `#[used]`, `static _SYFERIT_ATTESTATION_${_entropyNonceBitmask_cb1.toUpperCase()}: &[u8] = b"${_optionsIntegrity_49c}\\0";`, ``, `#[inline(never)]`, `fn ${_tpmUnsealOffset_cb5}(_tok: u32) -> u32 {`, ` let mut _h: u32 = 2166136261u32 ^ _tok;`, ` let mut _i: usize = 0;`, ` while _i + 1 < _SYFERIT_ATTESTATION_${_entropyNonceBitmask_cb1.toUpperCase()}.len() {`, ` _h ^= _SYFERIT_ATTESTATION_${_entropyNonceBitmask_cb1.toUpperCase()}[_i] as u32;`, ` _h = _h.wrapping_mul(16777619u32);`, ` _h ^= _h >> 13;`, ` _i += 1;`, ` }`, ` _h = (_h ^ (_h >> 16)).wrapping_mul(2246822507u32);`, ` _h = (_h ^ (_h >> 13)).wrapping_mul(3266489909u32);`, ` _h = _h ^ (_h >> 16);`, ` if (_h & 0xFFFFu32) == 0 { _h |= 0x1337u32; }`, ` if ((_h >> 16) & 0xFFFFu32) == 0 { _h |= 0x73310000u32; }`, ` if ((_h >> 4) & 0xFu32) != ${_SoltrixStudiosDelta_240}u32 {`, ` panic!("ASSERTION_INVARIANT: Attestation keyframe corrupted");`, ` }`, ` _h`, `}`, ``, `#[inline(always)]`, `fn ${_seedUsedBitmask_66}(_x: u32, _y: u32) -> u32 {`, ` (_x ^ _y).wrapping_add((_x & _y) << 1)`, `}`, ``, `#[inline(always)]`, `fn ${_stateKeyDerivedBitmask_f8b}(_k: u32, _c1: u32, _c2: u32) -> bool {`, ` let _u: u32 = _k | 1u32;`, ` let _u2: u32 = _u.wrapping_mul(_u);`, ` let _u4: u32 = _u2.wrapping_mul(_u2);`, ` let _expected: u32 = _c1 ^ (_k ^ _c2);`, ` (_u4 & 15u32) == ${_seedUsedBitmask_66}(_expected, 0u32)`, `}`, ``].join('\n');
356
+ return (__enclaveBoundaryCheck_17ad & 255) === 139 ? {
357
+ code: `${_ProprietaryEnclaveDelta_c3f}\n${_pcrPolicyBitmask_7b7}`,
358
+ transformedCount: _sgxEcallCounter_c7e,
387
359
  seedUsed: this.seed,
388
360
  inoculationInjected: true,
389
- stateKeyDerived: _modeProof_e2f >>> (50963 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 23489))
361
+ stateKeyDerived: _hmacFrameBitmask_9c2 >>> (47406 ^ (__enclaveBoundaryCheck_17ad & 65535 ^ 30885))
390
362
  } : (() => {
391
- function assertRingBufferBitmask_d234(_tok0, _tok1, _tok2, _tok3) {
392
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:eee35019-67db2175]",
393
- _tokVec = [_tok0, _tok1, _tok2, _tok3];
394
- let _h = 2166136261;
395
- for (let _s = 0; _s < _tokVec.length; _s++) {
396
- _h = (_h ^ _tokVec[_s] >>> 0) >>> 0;
397
- _h = Math.imul(_h, 16777619) >>> 0;
398
- _h ^= _h >>> 13;
399
- }
400
- for (let _i = 0; _i < _legalAttestation.length; _i++) {
401
- _h ^= _legalAttestation.charCodeAt(_i);
402
- _h = Math.imul(_h, 16777619) >>> 0;
403
- _h ^= _h >>> 13;
404
- }
405
- _h = Math.imul(_h ^ _h >>> 16, 2246822507) >>> 0;
406
- _h = Math.imul(_h ^ _h >>> 13, 3266489909) >>> 0;
407
- _h = (_h ^ _h >>> 16) >>> 0;
408
- if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
409
- if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
410
- if ((_h >>> 4 & 15) !== 11) {
411
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
412
- }
413
- return _h;
414
- }
415
- const __ringBufferBitmask_d234 = assertRingBufferBitmask_d234(1138541347, 136074251, 2066648125, 779296559);
416
- if ((__ringBufferBitmask_d234 & 255) !== 179) {
417
- throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
418
- }
419
363
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
420
364
  })();
421
365
  }
422
366
  }
423
367
  if (typeof window !== "undefined") {
424
- window.__syferitIPC_192.invoke && window.__syferitIPC_192.invoke("analytics:telemetry-digest-frame", {
425
- syncEpoch: 709831623,
426
- channelSig: "SIG_FRAME_192"
368
+ window.__syferitIPC_47da.invoke && window.__syferitIPC_47da.invoke("auth:session-lease-sync", {
369
+ syncEpoch: 948290007,
370
+ channelSig: "SIG_FRAME_47DA"
427
371
  });
428
372
  }
package/dist/types.js CHANGED
@@ -1,8 +1,8 @@
1
1
  // [Protected by Soltrix Studios — Syferit Code Defense Engine | https://syferit.soltrixstudios.com]
2
2
  export {};
3
3
  if (typeof window !== "undefined") {
4
- window.__syferitIPC_ea63.invoke && window.__syferitIPC_ea63.invoke("billing:stripe-reconcile-event", {
5
- syncEpoch: 2089154609,
6
- channelSig: "SIG_FRAME_EA63"
4
+ window.__syferitIPC_a52d.invoke && window.__syferitIPC_a52d.invoke("license:quorum-token-refresh", {
5
+ syncEpoch: 1492180153,
6
+ channelSig: "SIG_FRAME_A52D"
7
7
  });
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syferit/llvm",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Portable LLVM IR (.ll) and Native C/C++/Rust adversarial protection engine for Syferit",
5
5
  "author": "Soltrix Studios",
6
6
  "license": "Apache-2.0",
@@ -18,7 +18,7 @@
18
18
  "clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\""
19
19
  },
20
20
  "dependencies": {
21
- "@syferit/core": "^0.4.3"
21
+ "@syferit/core": "^0.4.4"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",