@syferit/llvm 0.4.1 → 0.4.3

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.
@@ -10,9 +10,9 @@ export class NativeSourceTransformer {
10
10
  this.prng = new SeededPRNG(this.seed);
11
11
  this.mba = new MBASynthesizer(this.prng);
12
12
  }
13
- transform(sourceCode, lang = _sboxResolve_24b5(22204 ^ (__keyDerivationStateProof_24b5 & 65535 ^ 20412))) {
14
- function unsealTransformCCpp_24b5(_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:8d42dfe5-dbf62d9b]",
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]",
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) !== 0) {
34
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
33
+ if ((_h >>> 4 & 15) !== 9) {
34
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
35
35
  }
36
36
  return _h;
37
37
  }
38
- const __keyDerivationStateProof_24b5 = unsealTransformCCpp_24b5(51434989, 348327167, 1329744661, 2029321735);
39
- const _sboxTable_24b5 = [[99, 78, 82], [77, 16, 42, 41, 200, 130, 180, 120, 56, 230, 48, 242, 142, 124, 104, 87, 17], [46, 237, 26, 254, 178, 115, 112, 66, 23, 222, 224], [10, 195, 242, 172, 98, 55, 64, 11, 254, 166, 214, 132, 74, 29, 40, 24], [241, 188, 213, 137, 73, 16, 47, 38, 213, 137, 177, 97, 49, 250, 23, 197], [203, 130, 168, 126], [184, 117, 112, 92, 45, 129, 160, 243, 89, 119, 119, 36, 238, 170, 213, 136, 90]];
40
- function _sboxResolve_24b5(_slot) {
41
- const _row = _sboxTable_24b5[_slot];
42
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__keyDerivationStateProof_24b5 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
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));
43
43
  }
44
- if (this.options.mode === _sboxResolve_24b5(27952 ^ (__keyDerivationStateProof_24b5 & 65535 ^ 29745)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 46 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 46 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 46 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 46 | 1)) & 15 ^ (__keyDerivationStateProof_24b5 >>> 1 & 255 ^ 133)) === 10) {
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) {
45
45
  return {
46
46
  code: sourceCode,
47
- transformedCount: (6950 ^ __keyDerivationStateProof_24b5 & 65535) / (57872 ^ __keyDerivationStateProof_24b5 >>> 16 & 65535),
47
+ transformedCount: (48616 ^ __enclaveBoundaryCheck_f031 & 65535) / (14995 ^ __enclaveBoundaryCheck_f031 >>> 16 & 65535),
48
48
  seedUsed: this.seed,
49
49
  inoculationInjected: false,
50
- stateKeyDerived: (6530 ^ __keyDerivationStateProof_24b5 & 65535) / (57872 ^ __keyDerivationStateProof_24b5 >>> 16 & 65535)
50
+ stateKeyDerived: (48616 ^ __enclaveBoundaryCheck_f031 & 65535) / (14995 ^ __enclaveBoundaryCheck_f031 >>> 16 & 65535)
51
51
  };
52
- } else if (this.options.mode === _sboxResolve_24b5(4203 ^ (__keyDerivationStateProof_24b5 & 65535 ^ 2409)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 52 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 52 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 52 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 52 | 1)) & 15 ^ (__keyDerivationStateProof_24b5 >>> 9 & 255 ^ 57)) === 52) {
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) {
53
53
  return {
54
54
  code: sourceCode,
55
- transformedCount: 855 ^ (__keyDerivationStateProof_24b5 & 65535 ^ 6743),
55
+ transformedCount: 40442 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 8804),
56
56
  seedUsed: this.seed,
57
57
  inoculationInjected: false,
58
- stateKeyDerived: 19495 ^ (__keyDerivationStateProof_24b5 & 65535 ^ 21799)
58
+ stateKeyDerived: 52883 ^ (__enclaveBoundaryCheck_f031 & 65535 ^ 28941)
59
59
  };
60
- } else if (this.options.mode === _sboxResolve_24b5(29344 ^ (__keyDerivationStateProof_24b5 & 65535 ^ 27555)) && (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 ^ (__keyDerivationStateProof_24b5 >>> 3 & 255 ^ 207)) === 226) {
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) {
61
61
  return {
62
62
  code: sourceCode,
63
- transformedCount: (7030 ^ __keyDerivationStateProof_24b5 & 65535) / (57872 ^ __keyDerivationStateProof_24b5 >>> 16 & 65535),
63
+ transformedCount: (48924 ^ __enclaveBoundaryCheck_f031 & 65535) / (14995 ^ __enclaveBoundaryCheck_f031 >>> 16 & 65535),
64
64
  seedUsed: this.seed,
65
65
  inoculationInjected: false,
66
- stateKeyDerived: (6530 ^ __keyDerivationStateProof_24b5 & 65535) / (57872 ^ __keyDerivationStateProof_24b5 >>> 16 & 65535)
66
+ stateKeyDerived: (48876 ^ __enclaveBoundaryCheck_f031 & 65535) / (14995 ^ __enclaveBoundaryCheck_f031 >>> 16 & 65535)
67
67
  };
68
68
  }
69
- if (lang === _sboxResolve_24b5(11864 ^ (__keyDerivationStateProof_24b5 & 65535 ^ 14172)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 44 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 44 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 44 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 44 | 1)) & 15 ^ (__keyDerivationStateProof_24b5 >>> 1 & 255 ^ 147)) === 26) {
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) {
70
70
  return this.transformRust(sourceCode);
71
- } else if (lang === _sboxResolve_24b5(8859 ^ (__keyDerivationStateProof_24b5 & 65535 ^ 15262)) && (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 ^ (__keyDerivationStateProof_24b5 >>> 23 & 255 ^ 211)) === 23) {
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) {
72
72
  return this.transformRust(sourceCode);
73
- } else if (lang === _sboxResolve_24b5(55 ^ (__keyDerivationStateProof_24b5 & 65535 ^ 6449)) && (Math.imul(Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 109 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 109 | 1), Math.imul(((sourceCode.seats || sourceCode | 0) | 0) ^ 109 | 1, ((sourceCode.seats || sourceCode | 0) | 0) ^ 109 | 1)) & 15 ^ (__keyDerivationStateProof_24b5 >>> 5 & 255 ^ 166)) === 105) {
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) {
74
74
  return this.transformRust(sourceCode);
75
75
  }
76
- return (__keyDerivationStateProof_24b5 & 255) === 0 ? this.transformCCpp(sourceCode) : (() => {
77
- function verifyProprietaryEnclaveContext_ea1c(_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:22318bd6-4a9eb089]",
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]",
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) !== 14) {
97
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
96
+ if ((_h >>> 4 & 15) !== 12) {
97
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
98
98
  }
99
99
  return _h;
100
100
  }
101
- const __enclaveDigestEnvelope_ea1c = verifyProprietaryEnclaveContext_ea1c(1023436591, 129706199, 1001995653, 1400050561);
102
- if ((__enclaveDigestEnvelope_ea1c & 255) !== 233) {
101
+ const __enclaveBoundaryCheck_6309 = verifyTrim_6309(1209706423, 2129665691, 1660052227, 428813987);
102
+ if ((__enclaveBoundaryCheck_6309 & 255) !== 206) {
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
- transformCCpp(sourceCode) {
109
- function unsealTpmPcrBankEnvelope_1853(_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:992068ef-1bbd9cb0]",
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]",
111
111
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
112
112
  let _h = 2166136261;
113
113
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -125,45 +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) !== 1) {
128
+ if ((_h >>> 4 & 15) !== 14) {
129
129
  throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
130
130
  }
131
131
  return _h;
132
132
  }
133
- const __entropySeedDigest_1853 = unsealTpmPcrBankEnvelope_1853(1494870181, 1281068461, 1215483229, 858214789);
134
- const _sboxTable_1853 = [[113, 240, 97], [75, 172, 83, 242], [1, 128, 62, 201], [225, 97, 235, 129, 111], [200, 93, 220, 103, 44, 163], [163, 50, 186, 95, 23, 133], [149, 19, 157, 60, 254], [104, 213, 121, 0, 198, 86], [51, 178, 79, 236, 183, 46], [6, 135, 3, 205, 138], [250, 101, 229, 143, 119, 199], [223, 71, 197, 126, 34, 189, 37], [161, 51, 191, 89, 91, 220, 58, 181], [144, 17, 149, 62, 248, 119, 239], [109, 197, 122, 4]];
135
- function _sboxResolve_1853(_slot) {
136
- const _row = _sboxTable_1853[_slot];
137
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__entropySeedDigest_1853 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
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));
138
138
  }
139
- const _transformRustAttestation_5c7 = [];
140
- const _sgxBoundaryIntegrity_23d = /\b([a-zA-Z_][a-zA-Z0-9_]{3,20})\b/g;
141
- let _entropyNonceIntegrity_be0;
142
- while ((_entropyNonceIntegrity_be0 = _sgxBoundaryIntegrity_23d.exec(sourceCode)) !== null) {
143
- const w = _entropyNonceIntegrity_be0[16231 ^ (__entropySeedDigest_1853 & 65535 ^ 18046)];
144
- if (![_sboxResolve_1853(17505 ^ (__entropySeedDigest_1853 & 65535 ^ 15737)), _sboxResolve_1853(14865 ^ (__entropySeedDigest_1853 & 65535 ^ 17160)), _sboxResolve_1853(7395 ^ (__entropySeedDigest_1853 & 65535 ^ 26105)), _sboxResolve_1853(27398 ^ (__entropySeedDigest_1853 & 65535 ^ 4637)), _sboxResolve_1853(4338 ^ (__entropySeedDigest_1853 & 65535 ^ 27118)), _sboxResolve_1853(3358 ^ (__entropySeedDigest_1853 & 65535 ^ 29699)), _sboxResolve_1853(28126 ^ (__entropySeedDigest_1853 & 65535 ^ 5312)), _sboxResolve_1853(26113 ^ (__entropySeedDigest_1853 & 65535 ^ 7966)), _sboxResolve_1853(22673 ^ (__entropySeedDigest_1853 & 65535 ^ 8577)), _sboxResolve_1853(25208 ^ (__entropySeedDigest_1853 & 65535 ^ 7017)), _sboxResolve_1853(12302 ^ (__entropySeedDigest_1853 & 65535 ^ 18716)), _sboxResolve_1853(20493 ^ (__entropySeedDigest_1853 & 65535 ^ 10526)), _sboxResolve_1853(28685 ^ (__entropySeedDigest_1853 & 65535 ^ 2329)), _sboxResolve_1853(30532 ^ (__entropySeedDigest_1853 & 65535 ^ 3665))].includes(w)) {
145
- _transformRustAttestation_5c7.push(w);
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);
146
147
  }
147
148
  }
148
- const _seedUsedEnvelope_35a = buildPolymorphicDictionary(this.options.domainProfile ?? _sboxResolve_1853(11417 ^ (__entropySeedDigest_1853 & 65535 ^ 21903)), this.prng, _transformRustAttestation_5c7, this.options.customDictionary ?? []);
149
- const _sgxBoundaryEnvelope_f9b = this.prng.pick(_seedUsedEnvelope_35a.legalInoculations);
150
- const _keyDerivationStateIntegrity_844 = `${this.prng.nextUint32().toString(2063 ^ (__entropySeedDigest_1853 & 65535 ^ 28935)).padStart(12674 ^ (__entropySeedDigest_1853 & 65535 ^ 18578), '0')}-${this.prng.nextUint32().toString(7863 ^ (__entropySeedDigest_1853 & 65535 ^ 26559)).padStart(20660 ^ (__entropySeedDigest_1853 & 65535 ^ 10660), '0')}`;
151
- const _prngProof_e70 = `${_sgxBoundaryEnvelope_f9b} [ATTESTATION_ID:${_keyDerivationStateIntegrity_844}]`;
152
- const _keyDerivationStateProof_322 = (this.prng.nextUint32() & (52489 ^ (__entropySeedDigest_1853 & 65535 ^ 19438))).toString(10290 ^ (__entropySeedDigest_1853 & 65535 ^ 20794));
153
- const _tpmPcrBankVector_172 = `${this.prng.pick(_seedUsedEnvelope_35a.symbols)}_${_keyDerivationStateProof_322}`;
154
- const _SyferitEngineDelta_12a = `${this.prng.pick(_seedUsedEnvelope_35a.stateKeys)}_${_keyDerivationStateProof_322}`;
155
- const _ProprietaryEnclaveDelta_39d = `_mba_add_${_keyDerivationStateProof_322}`;
156
- const _hmacFrameAttestation_452 = `_mba_const_${_keyDerivationStateProof_322}`;
157
- const _monotonicNonceDrift_2c2 = `_euler_quartic_${_keyDerivationStateProof_322}`;
158
- const _langBitmask_b3 = `${this.prng.pick(_seedUsedEnvelope_35a.symbols)}_decoy_${_keyDerivationStateProof_322}`;
159
- const _sgxEcallCounter_8c2 = this.prng.nextUint32() & 2147483646 + ((__entropySeedDigest_1853 & 255) - 24) | 5126 ^ (__entropySeedDigest_1853 & 65535 ^ 27935);
160
- const _enclaveDigestEnvelope_5b7 = this.mba.computeStringKey(_prngProof_e70, _sgxEcallCounter_8c2);
161
- const _keyDerivationStateVector_669 = _enclaveDigestEnvelope_5b7 >>> (3292 ^ (__entropySeedDigest_1853 & 65535 ^ 30144)) & (12401 ^ (__entropySeedDigest_1853 & 65535 ^ 18790));
162
- const _ringBufferProof_6d4 = _prngProof_e70.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
163
- let _generateCryptoSeedIntegrity_2f1 = 18317 ^ (__entropySeedDigest_1853 & 65535 ^ 16021);
164
- const _entropyNonceEnvelope_a4 = sourceCode.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 => {
165
- function attestConstructor_bd05(_tok0, _tok1, _tok2, _tok3) {
166
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:7a82fb10-0285c9a5]",
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]",
167
168
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
168
169
  let _h = 2166136261;
169
170
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -181,20 +182,20 @@ export class NativeSourceTransformer {
181
182
  _h = (_h ^ _h >>> 16) >>> 0;
182
183
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
183
184
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
184
- if ((_h >>> 4 & 15) !== 11) {
185
+ if ((_h >>> 4 & 15) !== 1) {
185
186
  throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
186
187
  }
187
188
  return _h;
188
189
  }
189
- const __entropyNonceIntegrity_bd05 = attestConstructor_bd05(1066410685, 691779107, 531007211, 1660172743);
190
- _generateCryptoSeedIntegrity_2f1++;
191
- const _sgxBoundaryEnvelope_67e = this.prng.nextUint32() & 2147483646 + ((__entropySeedDigest_1853 & 255) - 24) | 5873 ^ (__entropySeedDigest_1853 & 65535 ^ 28648);
192
- const _keyDerivationStateBitmask_ac5 = (16302 ^ (__entropySeedDigest_1853 & 65535 ^ 18103) ^ _sgxBoundaryEnvelope_67e) >>> (17197 ^ (__entropySeedDigest_1853 & 65535 ^ 14901));
193
- const _sourceCodeVector_a5f = (_sgxBoundaryEnvelope_67e ^ _enclaveDigestEnvelope_5b7) >>> (20956 ^ (__entropySeedDigest_1853 & 65535 ^ 10436));
194
- const _hkdfSaltRotation_b6c = [matchHeader, ` const unsigned int ${_SyferitEngineDelta_12a} = ${_tpmPcrBankVector_172}(${_sgxEcallCounter_8c2}u);`, ` if (${_monotonicNonceDrift_2c2}(${_SyferitEngineDelta_12a}, ${_keyDerivationStateBitmask_ac5}u, ${_sourceCodeVector_a5f}u) == 0u) { return ${_langBitmask_b3}(${_SyferitEngineDelta_12a}); }`].join('\n');
195
- return (__entropyNonceIntegrity_bd05 & 255) === 181 ? _hkdfSaltRotation_b6c : (() => {
196
- function assertEntropyNonceEnvelope_ac0(_tok0, _tok1, _tok2, _tok3) {
197
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:934cfb88-9da00fab]",
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]",
198
199
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
199
200
  let _h = 2166136261;
200
201
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -217,23 +218,23 @@ export class NativeSourceTransformer {
217
218
  }
218
219
  return _h;
219
220
  }
220
- const __hmacFrameAttestation_ac0 = assertEntropyNonceEnvelope_ac0(1674653269, 1801793215, 2073288303, 1755584955);
221
- if ((__hmacFrameAttestation_ac0 & 255) !== 192) {
221
+ const __enclaveBoundaryCheck_f627 = verifyTpmPcrBankBitmask_f627(617451933, 402406237, 896420327, 525065699);
222
+ if ((__enclaveBoundaryCheck_f627 & 255) !== 205) {
222
223
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
223
224
  }
224
225
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
225
226
  })();
226
227
  });
227
- const _stateKeyDerivedProof_c8b = [`/* [Syferit Native C/C++ Adversarial Protection Engine v0.4.0] */`, `#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_${_keyDerivationStateProof_322}[] = "${_ringBufferProof_6d4}";`, ``, `SYFERIT_NOINLINE static unsigned int ${_tpmPcrBankVector_172}(unsigned int _tok) {`, ` unsigned int _h = (2166136261u ^ _tok);`, ` for (unsigned int _i = 0; _syferit_attestation_${_keyDerivationStateProof_322}[_i] != '\\0'; ++_i) {`, ` _h ^= (unsigned char)_syferit_attestation_${_keyDerivationStateProof_322}[_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) != ${_keyDerivationStateVector_669}u) {`, ` volatile int *_trap = (volatile int *)0; *_trap = 0;`, ` }`, ` return _h;`, `}`, ``, `static inline unsigned int ${_hmacFrameAttestation_452}(unsigned int _c1, unsigned int _c2, unsigned int _k) {`, ` return _c1 ^ (_k ^ _c2);`, `}`, ``, `static inline unsigned int ${_ProprietaryEnclaveDelta_39d}(unsigned int _x, unsigned int _y) {`, ` return (_x ^ _y) + ((_x & _y) << 1u);`, `}`, ``, `static inline unsigned int ${_monotonicNonceDrift_2c2}(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 = ${_hmacFrameAttestation_452}(_c1, _c2, _k);`, ` return ((_u4 & 15u) == _expected) ? 1u : 0u;`, `}`, ``, `SYFERIT_NOINLINE static int ${_langBitmask_b3}(unsigned int _k) {`, ` unsigned int _acc = ${_ProprietaryEnclaveDelta_39d}(_k, 0x5A17E9B3u);`, ` return (int)(_acc ^ 0xDEADBEEFu);`, `}`, ``].join('\n');
228
- return (__entropySeedDigest_1853 & 255) === 24 ? {
229
- code: `${_stateKeyDerivedProof_c8b}\n${_entropyNonceEnvelope_a4}`,
230
- transformedCount: _generateCryptoSeedIntegrity_2f1,
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,
231
232
  seedUsed: this.seed,
232
233
  inoculationInjected: true,
233
- stateKeyDerived: _enclaveDigestEnvelope_5b7 >>> (29657 ^ (__entropySeedDigest_1853 & 65535 ^ 2753))
234
+ stateKeyDerived: _ringBufferVector_d4 >>> (51220 ^ (__entropySeedDigest_f7a5 & 65535 ^ 17394))
234
235
  } : (() => {
235
- function auditCode_b269(_tok0, _tok1, _tok2, _tok3) {
236
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:01791830-fc96d943]",
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]",
237
238
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
238
239
  let _h = 2166136261;
239
240
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -251,21 +252,21 @@ export class NativeSourceTransformer {
251
252
  _h = (_h ^ _h >>> 16) >>> 0;
252
253
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
253
254
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
254
- if ((_h >>> 4 & 15) !== 14) {
255
+ if ((_h >>> 4 & 15) !== 11) {
255
256
  throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
256
257
  }
257
258
  return _h;
258
259
  }
259
- const __hmacFrameAttestation_b269 = auditCode_b269(1808873791, 2137597971, 1917982151, 1739822747);
260
- if ((__hmacFrameAttestation_b269 & 255) !== 239) {
260
+ const __enclaveBoundaryCheck_2103 = verifyProprietaryEnclaveContext_2103(1465053317, 744545519, 592350711, 1234689143);
261
+ if ((__enclaveBoundaryCheck_2103 & 255) !== 189) {
261
262
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
262
263
  }
263
264
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
264
265
  })();
265
266
  }
266
- transformRust(sourceCode) {
267
- function verifyKeyDerivationStateVector_f787(_tok0, _tok1, _tok2, _tok3) {
268
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:b00f1a6f-e5301fbf]",
267
+ 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]",
269
270
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
270
271
  let _h = 2166136261;
271
272
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -283,42 +284,43 @@ export class NativeSourceTransformer {
283
284
  _h = (_h ^ _h >>> 16) >>> 0;
284
285
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
285
286
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
286
- if ((_h >>> 4 & 15) !== 1) {
287
+ if ((_h >>> 4 & 15) !== 13) {
287
288
  throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
288
289
  }
289
290
  return _h;
290
291
  }
291
- const __keyDerivationStateVector_f787 = verifyKeyDerivationStateVector_f787(483428515, 256933089, 436776715, 1274681799);
292
- const _sboxTable_f787 = [[109, 248, 225, 216], [37, 215, 213, 163, 136, 99, 13, 84, 52, 213, 146, 139, 139, 8, 8, 239, 231], [13, 141, 169, 153, 157, 1, 59, 214, 249, 120, 157, 113, 69, 235, 227, 213]];
293
- function _sboxResolve_f787(_slot) {
294
- const _row = _sboxTable_f787[_slot];
295
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__keyDerivationStateVector_f787 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
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));
296
297
  }
297
- const _entropyNonceEnvelope_cb1 = [];
298
- const _keyDerivationStateBitmask_f34 = /\bfn\s+([a-zA-Z_][a-zA-Z0-9_]*)/g;
299
- let _keyDerivationStateIntegrity_d2a;
300
- while ((_keyDerivationStateIntegrity_d2a = _keyDerivationStateBitmask_f34.exec(sourceCode)) !== null) {
301
- if (_keyDerivationStateIntegrity_d2a[16355 ^ (__keyDerivationStateVector_f787 & 65535 ^ 19452)] && _keyDerivationStateIntegrity_d2a[26674 ^ (__keyDerivationStateVector_f787 & 65535 ^ 7213)].length >= (29301 ^ (__keyDerivationStateVector_f787 & 65535 ^ 1647))) {
302
- _entropyNonceEnvelope_cb1.push(_keyDerivationStateIntegrity_d2a[11138 ^ (__keyDerivationStateVector_f787 & 65535 ^ 24477)]);
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)]);
303
305
  }
304
306
  }
305
- const _langBitmask_bbe = buildPolymorphicDictionary(this.options.domainProfile ?? _sboxResolve_f787(9763 ^ (__keyDerivationStateVector_f787 & 65535 ^ 21053)), this.prng, _entropyNonceEnvelope_cb1, this.options.customDictionary ?? []);
306
- const _keyDerivationStateProof_77b = this.prng.pick(_langBitmask_bbe.legalInoculations);
307
- const _MBASynthesizerSequence_99a = `${this.prng.nextUint32().toString(11501 ^ (__keyDerivationStateVector_f787 & 65535 ^ 22755)).padStart(7334 ^ (__keyDerivationStateVector_f787 & 65535 ^ 26800), '0')}-${this.prng.nextUint32().toString(10866 ^ (__keyDerivationStateVector_f787 & 65535 ^ 24188)).padStart(14358 ^ (__keyDerivationStateVector_f787 & 65535 ^ 19456), '0')}`;
308
- const _trimAttestation_9cb = `${_keyDerivationStateProof_77b} [ATTESTATION_ID:${_MBASynthesizerSequence_99a}]`;
309
- const _entropyNonceIntegrity_d6b = (this.prng.nextUint32() & (57270 ^ (__keyDerivationStateVector_f787 & 65535 ^ 21591))).toString(27214 ^ (__keyDerivationStateVector_f787 & 65535 ^ 7744));
310
- const _transformRustAttestation_3af = `${this.prng.pick(_langBitmask_bbe.symbols)}_${_entropyNonceIntegrity_d6b}`.toLowerCase();
311
- const _tpmUnsealOffset_d75 = `${this.prng.pick(_langBitmask_bbe.stateKeys)}_${_entropyNonceIntegrity_d6b}`.toLowerCase();
312
- const _sourceCodeVector_a5f = `_euler_quartic_${_entropyNonceIntegrity_d6b}`;
313
- const _tpmPcrBankEnvelope_fe0 = `_mba_add_${_entropyNonceIntegrity_d6b}`;
314
- const _seedUsedEnvelope_39e = this.prng.nextUint32() & 2147483646 + ((__keyDerivationStateVector_f787 & 255) - 30) | 4301 ^ (__keyDerivationStateVector_f787 & 65535 ^ 25810);
315
- const _enclaveDigestEnvelope_59a = this.mba.computeStringKey(_trimAttestation_9cb, _seedUsedEnvelope_39e);
316
- const _modeBitmask_505 = _enclaveDigestEnvelope_59a >>> (24189 ^ (__keyDerivationStateVector_f787 & 65535 ^ 10855)) & (1905 ^ (__keyDerivationStateVector_f787 & 65535 ^ 29536));
317
- const _monotonicNonceDrift_58 = _trimAttestation_9cb.replace(/\\/g, '\\\\').replace(/"/g, '\\"');
318
- let _transformedCountVector_3e = 1268 ^ (__keyDerivationStateVector_f787 & 65535 ^ 28906);
319
- const _hkdfSaltRotation_645 = sourceCode.replace(/(\b(?:pub\s+)?fn\s+[a-zA-Z_][a-zA-Z0-9_]*\s*\([^{;]*\)(?:\s*->\s*[^{;]+)?\s*\{)/g, matchHeader => {
320
- function auditSourceCode_561c(_tok0, _tok1, _tok2, _tok3) {
321
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:bf09a1e1-7651a3f2]",
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]",
322
324
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
323
325
  let _h = 2166136261;
324
326
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -336,19 +338,19 @@ export class NativeSourceTransformer {
336
338
  _h = (_h ^ _h >>> 16) >>> 0;
337
339
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
338
340
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
339
- if ((_h >>> 4 & 15) !== 7) {
341
+ if ((_h >>> 4 & 15) !== 11) {
340
342
  throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
341
343
  }
342
344
  return _h;
343
345
  }
344
- const __hmacFrameAttestation_561c = auditSourceCode_561c(356163763, 1463699779, 1576206991, 1303750601);
345
- _transformedCountVector_3e++;
346
- const _keyDerivationStateBitmask_a46 = this.prng.nextUint32() & 2147483646 + ((__keyDerivationStateVector_f787 & 255) - 30) | 22638 ^ (__keyDerivationStateVector_f787 & 65535 ^ 11377);
347
- const _constructorSequence_84c = (20583 ^ (__keyDerivationStateVector_f787 & 65535 ^ 9336) ^ _keyDerivationStateBitmask_a46) >>> (7204 ^ (__keyDerivationStateVector_f787 & 65535 ^ 26682));
348
- const _sgxBoundaryEnvelope_a55 = (_keyDerivationStateBitmask_a46 ^ _enclaveDigestEnvelope_59a) >>> (26544 ^ (__keyDerivationStateVector_f787 & 65535 ^ 5038));
349
- return (__hmacFrameAttestation_561c & 255) === 120 ? [matchHeader, ` let ${_tpmUnsealOffset_d75}: u32 = ${_transformRustAttestation_3af}(${_seedUsedEnvelope_39e}u32);`, ` if !${_sourceCodeVector_a5f}(${_tpmUnsealOffset_d75}, ${_constructorSequence_84c}u32, ${_sgxBoundaryEnvelope_a55}u32) { panic!("ASSERTION_INVARIANT: State quorum mismatch"); }`].join('\n') : (() => {
350
- function evaluateMBASynthesizer_69a9(_tok0, _tok1, _tok2, _tok3) {
351
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:9f51f20e-53e3c0d6]",
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]",
352
354
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
353
355
  let _h = 2166136261;
354
356
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -366,28 +368,28 @@ export class NativeSourceTransformer {
366
368
  _h = (_h ^ _h >>> 16) >>> 0;
367
369
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
368
370
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
369
- if ((_h >>> 4 & 15) !== 10) {
370
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
371
+ if ((_h >>> 4 & 15) !== 6) {
372
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
371
373
  }
372
374
  return _h;
373
375
  }
374
- const __entropyNonceIntegrity_69a9 = evaluateMBASynthesizer_69a9(1146352529, 1047982531, 1798857551, 211688441);
375
- if ((__entropyNonceIntegrity_69a9 & 255) !== 175) {
376
+ const __tpmPcrBankBitmask_9283 = assertRingBufferAttestation_9283(582100193, 1728518059, 940807361, 1758422643);
377
+ if ((__tpmPcrBankBitmask_9283 & 255) !== 104) {
376
378
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
377
379
  }
378
380
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
379
381
  })();
380
382
  });
381
- const _SyferitEngineDelta_c91 = [`// [Syferit Native Rust Adversarial Protection Engine v0.4.0]`, `#[used]`, `static _SYFERIT_ATTESTATION_${_entropyNonceIntegrity_d6b.toUpperCase()}: &[u8] = b"${_monotonicNonceDrift_58}\\0";`, ``, `#[inline(never)]`, `fn ${_transformRustAttestation_3af}(_tok: u32) -> u32 {`, ` let mut _h: u32 = 2166136261u32 ^ _tok;`, ` let mut _i: usize = 0;`, ` while _i + 1 < _SYFERIT_ATTESTATION_${_entropyNonceIntegrity_d6b.toUpperCase()}.len() {`, ` _h ^= _SYFERIT_ATTESTATION_${_entropyNonceIntegrity_d6b.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) != ${_modeBitmask_505}u32 {`, ` panic!("ASSERTION_INVARIANT: Attestation keyframe corrupted");`, ` }`, ` _h`, `}`, ``, `#[inline(always)]`, `fn ${_tpmPcrBankEnvelope_fe0}(_x: u32, _y: u32) -> u32 {`, ` (_x ^ _y).wrapping_add((_x & _y) << 1)`, `}`, ``, `#[inline(always)]`, `fn ${_sourceCodeVector_a5f}(_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) == ${_tpmPcrBankEnvelope_fe0}(_expected, 0u32)`, `}`, ``].join('\n');
382
- return (__keyDerivationStateVector_f787 & 255) === 30 ? {
383
- code: `${_SyferitEngineDelta_c91}\n${_hkdfSaltRotation_645}`,
384
- transformedCount: _transformedCountVector_3e,
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,
385
387
  seedUsed: this.seed,
386
388
  inoculationInjected: true,
387
- stateKeyDerived: _enclaveDigestEnvelope_59a >>> (480 ^ (__keyDerivationStateVector_f787 & 65535 ^ 30206))
389
+ stateKeyDerived: _modeProof_e2f >>> (50963 ^ (__keyDerivationStateProof_ce0f & 65535 ^ 23489))
388
390
  } : (() => {
389
- function assertPrng_6e97(_tok0, _tok1, _tok2, _tok3) {
390
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:7c2dc751-eea8adad]",
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]",
391
393
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
392
394
  let _h = 2166136261;
393
395
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -405,16 +407,22 @@ export class NativeSourceTransformer {
405
407
  _h = (_h ^ _h >>> 16) >>> 0;
406
408
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
407
409
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
408
- if ((_h >>> 4 & 15) !== 0) {
410
+ if ((_h >>> 4 & 15) !== 11) {
409
411
  throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
410
412
  }
411
413
  return _h;
412
414
  }
413
- const __keyDerivationStateVector_6e97 = assertPrng_6e97(1535767, 1483207771, 43316767, 1324193581);
414
- if ((__keyDerivationStateVector_6e97 & 255) !== 8) {
415
+ const __ringBufferBitmask_d234 = assertRingBufferBitmask_d234(1138541347, 136074251, 2066648125, 779296559);
416
+ if ((__ringBufferBitmask_d234 & 255) !== 179) {
415
417
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
416
418
  }
417
419
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
418
420
  })();
419
421
  }
422
+ }
423
+ 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"
427
+ });
420
428
  }
package/dist/types.js CHANGED
@@ -1 +1,8 @@
1
- export {};
1
+ // [Protected by Soltrix Studios — Syferit Code Defense Engine | https://syferit.soltrixstudios.com]
2
+ export {};
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"
7
+ });
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syferit/llvm",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
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.1"
21
+ "@syferit/core": "^0.4.3"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -1,21 +0,0 @@
1
- import type { NativeProtectionOptions, NativeTransformResult } from './types.js';
2
- /**
3
- * Portable LLVM Intermediate Representation (`.ll`) Transformer Engine
4
- *
5
- * Implements the exact 6-layer Iron Dome on textual LLVM IR modules:
6
- * 1. Statutory Legal Inoculation Global (`@.syferit.legal.attestation` in `.rodata`)
7
- * 2. Hash-Bound Runtime State Key Derivation Function (`define internal i32 @verify...`)
8
- * 3. Symmetric Euler Quartic Residue Opaque Predicates (`(u | 1)^4 & 15 == 1`)
9
- * 4. True Non-Linear Polynomial MBA on `add i32`, `sub i32`, `xor i32`
10
- * 5. Key-Relative Constant Masking on immediate integer operands
11
- * 6. 3-Layer Procedural CFG Anti-Fingerprinting + AST Identifier Harvesting
12
- */
13
- export declare class LlvmIrTransformer {
14
- private options;
15
- private prng;
16
- private mba;
17
- private seed;
18
- constructor(options?: NativeProtectionOptions);
19
- transform(irCode: string): NativeTransformResult;
20
- }
21
- //# sourceMappingURL=irTransformer.d.ts.map
@@ -1,26 +0,0 @@
1
- import type { NativeProtectionOptions, NativeTransformResult, NativeTargetLanguage } from './types.js';
2
- /**
3
- * Native C / C++ / Rust Source-Level Adversarial Transformer
4
- *
5
- * Applies the full 6-layer Syferit Iron Dome directly to native C, C++, and Rust
6
- * source files before compilation (providing 100% compiler-version-independent
7
- * protection across MSVC, GCC, Clang, rustc, Android NDK, and Xcode):
8
- *
9
- * 1. Statutory Legal Inoculation (`__attribute__((used))` / `#[used]` in `.rodata`/`.rdata`)
10
- * 2. Hash-Bound Runtime State Key Derivation (FNV-1a + MurmurHash3 over legal notice)
11
- * 3. Symmetric Euler Quartic Residue Predicates (`((u | 1)^4 & 15) == 1`)
12
- * 4. True Non-Linear Polynomial MBA on integer arithmetic & constants
13
- * 5. Dynamic S-Box String Literal Encryption (blinds `strings` & Ghidra XREFs)
14
- * 6. 3-Layer Procedural CFG Anti-Fingerprinting + Identifier Harvesting
15
- */
16
- export declare class NativeSourceTransformer {
17
- private options;
18
- private prng;
19
- private mba;
20
- private seed;
21
- constructor(options?: NativeProtectionOptions);
22
- transform(sourceCode: string, lang?: NativeTargetLanguage): NativeTransformResult;
23
- private transformCCpp;
24
- private transformRust;
25
- }
26
- //# sourceMappingURL=nativeSourceTransformer.d.ts.map