@syferit/llvm 0.4.2 → 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.
@@ -10,9 +10,9 @@ export class LlvmIrTransformer {
10
10
  this.prng = new SeededPRNG(this.seed);
11
11
  this.mba = new MBASynthesizer(this.prng);
12
12
  }
13
- transform(irCode) {
14
- function attestSeedUsed_487(_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:693ebfa3-bb72f186]",
13
+ transform(rawIrCode) {
14
+ function unsealMBASynthesizer_aeff(_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:b83d16ec-63cbf83f]",
16
16
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
17
17
  let _h = 2166136261;
18
18
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -30,65 +30,66 @@ export class LlvmIrTransformer {
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) !== 2) {
34
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
33
+ if ((_h >>> 4 & 15) !== 5) {
34
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
35
35
  }
36
36
  return _h;
37
37
  }
38
- const __ringBufferAttestation_487 = attestSeedUsed_487(1556388775, 1395924625, 943595669, 1171267043);
39
- const _sboxTable_487 = [[71, 21, 141, 203, 215, 121, 231, 100, 35, 208, 121, 163, 191, 67, 207, 7], [35, 197, 101, 169, 183, 91, 215, 13, 10, 166, 79], [10, 172, 72, 130, 95, 104, 248, 181, 203, 222, 63, 106, 92, 243, 157, 206, 200], [226, 139, 60, 101], [208, 102, 242, 72, 21, 146, 34, 255, 129, 4, 245, 16, 6, 185, 87, 148, 114], [186, 80, 195], [104, 42, 161, 218, 229, 152, 15, 107, 93, 236, 171, 193, 211, 118, 227, 36, 52], [77, 13, 156, 245, 200, 103, 234, 76, 56, 203, 70, 190, 142, 89, 198, 3, 17], [57, 214, 116], [10, 166, 88, 152, 98, 42, 170, 215, 254, 131, 12, 112, 74, 240, 146, 212], [225, 153, 6, 52, 16], [229, 32, 183]];
40
- function _sboxResolve_487(_slot) {
41
- const _row = _sboxTable_487[_slot];
42
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__ringBufferAttestation_487 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
38
+ const __enclaveDigestSequence_aeff = unsealMBASynthesizer_aeff(1132396427, 1261691285, 89362837, 1064025629);
39
+ const _entropyNonceProof_aeff = [[49, 77, 66, 72, 137, 193, 208, 231, 21, 56, 38, 32, 113, 171, 184, 132], [29, 45, 48, 44, 97, 179, 170, 176, 196, 30, 26], [246, 30, 6, 49, 67, 116, 144, 112, 179, 248, 204, 250, 53, 74, 76, 79, 138], [176, 243, 241, 224], [128, 196, 216, 231, 13, 62, 38, 62, 101, 178, 130, 140, 203, 16, 26, 17, 92], [108, 184, 190], [84, 104, 143, 113, 153, 164, 167, 166, 5, 26, 120, 89, 154, 207, 210, 221, 246], [49, 79, 84, 84, 180, 139, 140, 139, 32, 125, 19, 60, 103, 144, 137, 128, 211], [15, 62, 43], [196, 30, 13, 29, 84, 114, 103, 90, 160, 235, 249, 245, 60, 88, 79, 73], [179, 225, 245, 187, 98], [183, 136, 138]];
40
+ function _auditMode_aeff(_slot) {
41
+ const _row = _entropyNonceProof_aeff[_slot];
42
+ return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__enclaveDigestSequence_aeff >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
43
43
  }
44
- if (this.options.mode === _sboxResolve_487(29497 ^ (__ringBufferAttestation_487 & 65535 ^ 9499)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 105 | 1, ((irCode.seats || irCode | 0) | 0) ^ 105 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 105 | 1, ((irCode.seats || irCode | 0) | 0) ^ 105 | 1)) & 15 ^ (__ringBufferAttestation_487 >>> 14 & 255 ^ 84)) === 206) {
44
+ if (this.options.mode === _auditMode_aeff(57746 ^ (__enclaveDigestSequence_aeff & 65535 ^ 8134)) && (Math.imul(Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 73 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 73 | 1), Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 73 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 73 | 1)) & 15 ^ (__enclaveDigestSequence_aeff >>> 17 & 255 ^ 190)) === 82) {
45
45
  return {
46
- code: irCode,
47
- transformedCount: (21508 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535),
46
+ code: rawIrCode,
47
+ transformedCount: (65238 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535),
48
48
  seedUsed: this.seed,
49
49
  inoculationInjected: false,
50
- stateKeyDerived: (22352 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535)
50
+ stateKeyDerived: (65318 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535)
51
51
  };
52
- } else if (this.options.mode === _sboxResolve_487(11206 ^ (__ringBufferAttestation_487 & 65535 ^ 32229)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 70 | 1, ((irCode.seats || irCode | 0) | 0) ^ 70 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 70 | 1, ((irCode.seats || irCode | 0) | 0) ^ 70 | 1)) & 15 ^ (__ringBufferAttestation_487 >>> 18 & 255 ^ 127)) === 87) {
52
+ } else if (this.options.mode === _auditMode_aeff(33049 ^ (__enclaveDigestSequence_aeff & 65535 ^ 32588)) && (Math.imul(Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 69 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 69 | 1), Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 69 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 69 | 1)) & 15 ^ (__enclaveDigestSequence_aeff >>> 18 & 255 ^ 24)) === 108) {
53
53
  return {
54
- code: irCode,
55
- transformedCount: 19791 ^ (__ringBufferAttestation_487 & 65535 ^ 7021),
54
+ code: rawIrCode,
55
+ transformedCount: 34925 ^ (__enclaveDigestSequence_aeff & 65535 ^ 30265),
56
56
  seedUsed: this.seed,
57
57
  inoculationInjected: false,
58
- stateKeyDerived: 8068 ^ (__ringBufferAttestation_487 & 65535 ^ 18854)
58
+ stateKeyDerived: 48333 ^ (__enclaveDigestSequence_aeff & 65535 ^ 17049)
59
59
  };
60
- } else if (this.options.mode === _sboxResolve_487(25735 ^ (__ringBufferAttestation_487 & 65535 ^ 12967)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 29 | 1, ((irCode.seats || irCode | 0) | 0) ^ 29 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 29 | 1, ((irCode.seats || irCode | 0) | 0) ^ 29 | 1)) & 15 ^ (__ringBufferAttestation_487 >>> 19 & 255 ^ 33)) === 58) {
60
+ } else if (this.options.mode === _auditMode_aeff(33925 ^ (__enclaveDigestSequence_aeff & 65535 ^ 31443)) && (Math.imul(Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 46 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 46 | 1), Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 46 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 46 | 1)) & 15 ^ (__enclaveDigestSequence_aeff >>> 2 & 255 ^ 54)) === 174) {
61
61
  return {
62
- code: irCode,
63
- transformedCount: (22176 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535),
62
+ code: rawIrCode,
63
+ transformedCount: (65318 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535),
64
64
  seedUsed: this.seed,
65
65
  inoculationInjected: false,
66
- stateKeyDerived: (22176 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535)
66
+ stateKeyDerived: (65318 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535)
67
67
  };
68
68
  }
69
- const _ringBufferProof_16e = [];
70
- const _codeIntegrity_2bd = /define\s+[^@]*@([a-zA-Z_][a-zA-Z0-9_]*)\s*\(/g;
71
- let _tpmUnsealOffset_6e6;
72
- while ((_tpmUnsealOffset_6e6 = _codeIntegrity_2bd.exec(irCode)) !== null) {
73
- if (_tpmUnsealOffset_6e6[12928 ^ (__ringBufferAttestation_487 & 65535 ^ 25763)] && _tpmUnsealOffset_6e6[27000 ^ (__ringBufferAttestation_487 & 65535 ^ 16219)].length >= (28753 ^ (__ringBufferAttestation_487 & 65535 ^ 9847))) {
74
- _ringBufferProof_16e.push(_tpmUnsealOffset_6e6[18721 ^ (__ringBufferAttestation_487 & 65535 ^ 7938)]);
69
+ const _seedProof_aab = rawIrCode.replace(/^\s*;.*$/gm, '');
70
+ const _ProprietaryEnclaveDelta_4c5 = [];
71
+ const _hmacFrameBitmask_40f = /define\s+[^@]*@([a-zA-Z_][a-zA-Z0-9_]*)\s*\(/g;
72
+ let _tpmUnsealOffset_d47;
73
+ while ((_tpmUnsealOffset_d47 = _hmacFrameBitmask_40f.exec(_seedProof_aab)) !== null) {
74
+ if (_tpmUnsealOffset_d47[38003 ^ (__enclaveDigestSequence_aeff & 65535 ^ 27174)] && _tpmUnsealOffset_d47[43806 ^ (__enclaveDigestSequence_aeff & 65535 ^ 21835)].length >= (40251 ^ (__enclaveDigestSequence_aeff & 65535 ^ 25451))) {
75
+ _ProprietaryEnclaveDelta_4c5.push(_tpmUnsealOffset_d47[54874 ^ (__enclaveDigestSequence_aeff & 65535 ^ 10255)]);
75
76
  }
76
77
  }
77
- const _hashStringIntegrity_fc7 = buildPolymorphicDictionary(this.options.domainProfile ?? _sboxResolve_487(4554 ^ (__ringBufferAttestation_487 & 65535 ^ 18411)), this.prng, _ringBufferProof_16e, this.options.customDictionary ?? []);
78
- const _transformedCountIntegrity_121 = this.prng.pick(_hashStringIntegrity_fc7.legalInoculations);
79
- const _hmacFrameVector_dcb = `${this.prng.nextUint32().toString(5424 ^ (__ringBufferAttestation_487 & 65535 ^ 17154)).padStart(30277 ^ (__ringBufferAttestation_487 & 65535 ^ 8303), '0')}-${this.prng.nextUint32().toString(16784 ^ (__ringBufferAttestation_487 & 65535 ^ 6050)).padStart(11590 ^ (__ringBufferAttestation_487 & 65535 ^ 31596), '0')}`;
80
- const _ringBufferAttestation_eb9 = `${_transformedCountIntegrity_121} [ATTESTATION_ID:${_hmacFrameVector_dcb}]`;
81
- const _tpmPcrBankVector_1d5 = (this.prng.nextUint32() & (43595 ^ (__ringBufferAttestation_487 & 65535 ^ 918))).toString(4183 ^ (__ringBufferAttestation_487 & 65535 ^ 18021));
82
- const _fnMatchRegexAttestation_859 = `${this.prng.pick(_hashStringIntegrity_fc7.symbols)}_${_tpmPcrBankVector_1d5}`;
83
- const _pcrPolicyBitmask_ade = `${this.prng.pick(_hashStringIntegrity_fc7.stateKeys)}_${_tpmPcrBankVector_1d5}`;
84
- const _SeededPRNGProof_568 = this.prng.nextUint32() & 2147483646 + ((__ringBufferAttestation_487 & 255) - 34) | 31748 ^ (__ringBufferAttestation_487 & 65535 ^ 10791);
85
- const _inoculationInjectedIntegrity_e2c = this.mba.computeStringKey(_ringBufferAttestation_eb9, _SeededPRNGProof_568);
86
- const _stateKeyDerivedVector_f48 = _inoculationInjectedIntegrity_e2c >>> (22359 ^ (__ringBufferAttestation_487 & 65535 ^ 369)) & (32466 ^ (__ringBufferAttestation_487 & 65535 ^ 10495));
87
- let _ProprietaryEnclaveDelta_fe9 = 26190 ^ (__ringBufferAttestation_487 & 65535 ^ 12396);
88
- let _optionsBitmask_9bc = 3283 ^ (__ringBufferAttestation_487 & 65535 ^ 23280);
89
- const _LlvmIrTransformerBitmask_961 = irCode.replace(/(define\s+[^@{]+@[a-zA-Z0-9_$.]+\s*\([^)]*\)[^{]*\{)([\s\S]*?)(\n\})/g, (_fullMatch, header, body, footer) => {
90
- function auditRingBufferBitmask_3c3a(_tok0, _tok1, _tok2, _tok3) {
91
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:f994852d-045bf4d6]",
78
+ const _inoculationInjectedProof_227 = buildPolymorphicDictionary(this.options.domainProfile ?? _auditMode_aeff(53373 ^ (__enclaveDigestSequence_aeff & 65535 ^ 11818)), this.prng, _ProprietaryEnclaveDelta_4c5, this.options.customDictionary ?? []);
79
+ const _rawIrCodeVector_9ab = this.prng.pick(_inoculationInjectedProof_227.legalInoculations);
80
+ const _sgxBoundaryAttestation_9a9 = `${this.prng.nextUint32().toString(52142 ^ (__enclaveDigestSequence_aeff & 65535 ^ 13802)).padStart(59844 ^ (__enclaveDigestSequence_aeff & 65535 ^ 6040), '0')}-${this.prng.nextUint32().toString(64081 ^ (__enclaveDigestSequence_aeff & 65535 ^ 1045)).padStart(37489 ^ (__enclaveDigestSequence_aeff & 65535 ^ 27693), '0')}`;
81
+ const _keyDerivationStateProof_606 = `${_rawIrCodeVector_9ab} [ATTESTATION_ID:${_sgxBoundaryAttestation_9a9}]`;
82
+ const _stateKeyDerivedAttestation_687 = (this.prng.nextUint32() & (26558 ^ (__enclaveDigestSequence_aeff & 65535 ^ 26133))).toString(63204 ^ (__enclaveDigestSequence_aeff & 65535 ^ 2208));
83
+ const _SeededPRNGProof_4d3 = `${this.prng.pick(_inoculationInjectedProof_227.symbols)}_${_stateKeyDerivedAttestation_687}`;
84
+ const _enclaveDigestSequence_a7c = `${this.prng.pick(_inoculationInjectedProof_227.stateKeys)}_${_stateKeyDerivedAttestation_687}`;
85
+ const _monotonicNonceDrift_6be = this.prng.nextUint32() & 2147483646 + ((__enclaveDigestSequence_aeff & 255) - 84) | 61473 ^ (__enclaveDigestSequence_aeff & 65535 ^ 3700);
86
+ const _optionsProof_750 = this.mba.computeStringKey(_keyDerivationStateProof_606, _monotonicNonceDrift_6be);
87
+ const _generateCryptoSeedProof_aff = _optionsProof_750 >>> (46700 ^ (__enclaveDigestSequence_aeff & 65535 ^ 18492)) & (33651 ^ (__enclaveDigestSequence_aeff & 65535 ^ 32040));
88
+ let _constructorBitmask_656 = 37513 ^ (__enclaveDigestSequence_aeff & 65535 ^ 27869);
89
+ let _LlvmIrTransformerEnvelope_910 = 37609 ^ (__enclaveDigestSequence_aeff & 65535 ^ 27836);
90
+ const _replaceBitmask_4d8 = _seedProof_aab.replace(/(define\s+[^@{]+@[a-zA-Z0-9_$.]+\s*\([^)]*\)[^{]*\{)([\s\S]*?)(\n\})/g, (_fullMatch, header, body, footer) => {
91
+ function verifyRingBufferEnvelope_e350(_tok0, _tok1, _tok2, _tok3) {
92
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:3e23ba7e-e5b9f251]",
92
93
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
93
94
  let _h = 2166136261;
94
95
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -106,19 +107,19 @@ export class LlvmIrTransformer {
106
107
  _h = (_h ^ _h >>> 16) >>> 0;
107
108
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
108
109
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
109
- if ((_h >>> 4 & 15) !== 7) {
110
+ if ((_h >>> 4 & 15) !== 3) {
110
111
  throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
111
112
  }
112
113
  return _h;
113
114
  }
114
- const __keyDerivationStateEnvelope_3c3a = auditRingBufferBitmask_3c3a(1148425439, 1127381255, 1884211585, 1955396027);
115
- _ProprietaryEnclaveDelta_fe9++;
116
- const _modeAttestation_4b7 = `%${_pcrPolicyBitmask_ade}_k${_ProprietaryEnclaveDelta_fe9}`;
117
- const _ProprietaryEnclaveDelta_8b9 = body.match(/^(\s*[a-zA-Z0-9_$.]+:\s*\n)/);
118
- let _constructorEnvelope_ffa = `\n ${_modeAttestation_4b7} = call i32 @${_fnMatchRegexAttestation_859}(i32 ${_SeededPRNGProof_568})\n`;
119
- const _sgxBoundaryAttestation_15d = body.replace(/^(\s*)(%[a-zA-Z0-9_$.]+)\s*=\s*(add|sub|xor)(?:\s+nsw|\s+nuw)*\s+i32\s+([^,\n]+),\s*([^\n]+)$/gm, (_instMatch, indent, destReg, op, lhsRaw, rhsRaw) => {
120
- function assertOptions_7024(_tok0, _tok1, _tok2, _tok3) {
121
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:a1ac85d0-4de4040e]",
115
+ const __hmacRingSequence_e350 = verifyRingBufferEnvelope_e350(197491879, 1024501543, 277008559, 154134057);
116
+ _constructorBitmask_656++;
117
+ const _trimVector_274 = `%${_enclaveDigestSequence_a7c}_k${_constructorBitmask_656}`;
118
+ const _entropyNonceVector_54d = body.match(/^(\s*[a-zA-Z0-9_$.]+:\s*\n)/);
119
+ let _replaceBitmask_ade = `\n ${_trimVector_274} = call i32 @${_SeededPRNGProof_4d3}(i32 ${_monotonicNonceDrift_6be})\n`;
120
+ const _keyDerivationStateAttestation_9dc = body.replace(/^(\s*)(%[a-zA-Z0-9_$.]+)\s*=\s*(add|sub|xor)(?:\s+nsw|\s+nuw)*\s+i32\s+([^,\n]+),\s*([^\n]+)$/gm, (_instMatch, indent, destReg, op, lhsRaw, rhsRaw) => {
121
+ function evaluateTpmPcrBankAttestation_4c80(_tok0, _tok1, _tok2, _tok3) {
122
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:426353a0-15e97de5]",
122
123
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
123
124
  let _h = 2166136261;
124
125
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -136,160 +137,160 @@ export class LlvmIrTransformer {
136
137
  _h = (_h ^ _h >>> 16) >>> 0;
137
138
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
138
139
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
139
- if ((_h >>> 4 & 15) !== 10) {
140
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
140
+ if ((_h >>> 4 & 15) !== 9) {
141
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
141
142
  }
142
143
  return _h;
143
144
  }
144
- const __keyDerivationStateEnvelope_7024 = assertOptions_7024(1577303941, 1204876597, 1231920795, 2132254411);
145
- const _prngIntegrity_2f = lhsRaw.trim();
146
- let _harvestedEnvelope_a86 = rhsRaw.trim();
147
- const _ringBufferAttestation_385 = _optionsBitmask_9bc++;
148
- const _inoculationInjectedIntegrity_fd1 = [];
149
- if (/^-?\d+$/.test(_harvestedEnvelope_a86)) {
150
- const literalVal = parseInt(_harvestedEnvelope_a86, 4301 ^ (__ringBufferAttestation_487 & 65535 ^ 18149)) | 4980 ^ (__ringBufferAttestation_487 & 65535 ^ 17750);
151
- const mask = this.prng.nextUint32() & 2147483646 + ((__ringBufferAttestation_487 & 255) - 34) | 32655 ^ (__ringBufferAttestation_487 & 65535 ^ 10668);
152
- const c1 = literalVal ^ mask | 3599 ^ (__ringBufferAttestation_487 & 65535 ^ 22573);
153
- const c2 = mask ^ _inoculationInjectedIntegrity_e2c | 4842 ^ (__ringBufferAttestation_487 & 65535 ^ 17608);
154
- const tMask1 = `%_m_kxor_${_ringBufferAttestation_385}`;
155
- const tMask2 = `%_m_const_${_ringBufferAttestation_385}`;
156
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tMask1} = xor i32 ${_modeAttestation_4b7}, ${c2}`);
157
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tMask2} = xor i32 ${c1}, ${tMask1}`);
158
- _harvestedEnvelope_a86 = tMask2;
145
+ const __entropyNonceProof_4c80 = evaluateTpmPcrBankAttestation_4c80(945191605, 1525392371, 1139291919, 612333859);
146
+ const _modeProof_527 = lhsRaw.trim();
147
+ let _hashStringProof_f81 = rhsRaw.trim();
148
+ const _codeAttestation_5cc = _LlvmIrTransformerEnvelope_910++;
149
+ const _ringBufferEnvelope_f91 = [];
150
+ if (/^-?\d+$/.test(_hashStringProof_f81)) {
151
+ const literalVal = parseInt(_hashStringProof_f81, 44750 ^ (__enclaveDigestSequence_aeff & 65535 ^ 20624)) | 42133 ^ (__enclaveDigestSequence_aeff & 65535 ^ 23233);
152
+ const mask = this.prng.nextUint32() & 2147483646 + ((__enclaveDigestSequence_aeff & 255) - 84) | 59359 ^ (__enclaveDigestSequence_aeff & 65535 ^ 6538);
153
+ const c1 = literalVal ^ mask | 50527 ^ (__enclaveDigestSequence_aeff & 65535 ^ 15115);
154
+ const c2 = mask ^ _optionsProof_750 | 36688 ^ (__enclaveDigestSequence_aeff & 65535 ^ 28932);
155
+ const tMask1 = `%_m_kxor_${_codeAttestation_5cc}`;
156
+ const tMask2 = `%_m_const_${_codeAttestation_5cc}`;
157
+ _ringBufferEnvelope_f91.push(`${indent}${tMask1} = xor i32 ${_trimVector_274}, ${c2}`);
158
+ _ringBufferEnvelope_f91.push(`${indent}${tMask2} = xor i32 ${c1}, ${tMask1}`);
159
+ _hashStringProof_f81 = tMask2;
159
160
  }
160
- if (op === _sboxResolve_487(10116 ^ (__ringBufferAttestation_487 & 65535 ^ 29090)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 31 | 1, ((irCode.seats || irCode | 0) | 0) ^ 31 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 31 | 1, ((irCode.seats || irCode | 0) | 0) ^ 31 | 1)) & 15 ^ (__ringBufferAttestation_487 >>> 20 & 255 ^ 42)) === 169) {
161
- const tXor = `%_m_axor_${_ringBufferAttestation_385}`;
162
- const tAnd = `%_m_aand_${_ringBufferAttestation_385}`;
163
- const tShl = `%_m_ashl_${_ringBufferAttestation_385}`;
164
- const tBase = `%_m_abase_${_ringBufferAttestation_385}`;
165
- const tU0 = `%_m_u0_${_ringBufferAttestation_385}`;
166
- const tU1 = `%_m_u1_${_ringBufferAttestation_385}`;
167
- const tU2 = `%_m_u2_${_ringBufferAttestation_385}`;
168
- const tU4 = `%_m_u4_${_ringBufferAttestation_385}`;
169
- const tQ1 = `%_m_q1_${_ringBufferAttestation_385}`;
170
- const tKOne1 = `%_m_ko1_${_ringBufferAttestation_385}`;
171
- const tKOne2 = `%_m_ko2_${_ringBufferAttestation_385}`;
172
- const tZero = `%_m_zinv_${_ringBufferAttestation_385}`;
173
- const oneMask = this.prng.nextUint32() & (22316 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535) | (22194 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535);
174
- const oneC1 = (22352 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535) ^ oneMask | (22352 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535);
175
- const oneC2 = oneMask ^ _inoculationInjectedIntegrity_e2c | (22194 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535);
176
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tXor} = xor i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
177
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tAnd} = and i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
178
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
179
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
180
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU0} = xor i32 ${_prngIntegrity_2f}, ${_modeAttestation_4b7}`);
181
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
182
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
183
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
184
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
185
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tKOne1} = xor i32 ${_modeAttestation_4b7}, ${oneC2}`);
186
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
187
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
188
- _inoculationInjectedIntegrity_fd1.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
189
- return _inoculationInjectedIntegrity_fd1.join('\n');
190
- } else if (op === _sboxResolve_487(18067 ^ (__ringBufferAttestation_487 & 65535 ^ 4276)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 58 | 1, ((irCode.seats || irCode | 0) | 0) ^ 58 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 58 | 1, ((irCode.seats || irCode | 0) | 0) ^ 58 | 1)) & 15 ^ (__ringBufferAttestation_487 >>> 5 & 255 ^ 120)) === 200) {
191
- const tXor = `%_m_axor_${_ringBufferAttestation_385}`;
192
- const tAnd = `%_m_aand_${_ringBufferAttestation_385}`;
193
- const tShl = `%_m_ashl_${_ringBufferAttestation_385}`;
194
- const tBase = `%_m_abase_${_ringBufferAttestation_385}`;
195
- const tU0 = `%_m_u0_${_ringBufferAttestation_385}`;
196
- const tU1 = `%_m_u1_${_ringBufferAttestation_385}`;
197
- const tU2 = `%_m_u2_${_ringBufferAttestation_385}`;
198
- const tU4 = `%_m_u4_${_ringBufferAttestation_385}`;
199
- const tQ1 = `%_m_q1_${_ringBufferAttestation_385}`;
200
- const tKOne1 = `%_m_ko1_${_ringBufferAttestation_385}`;
201
- const tKOne2 = `%_m_ko2_${_ringBufferAttestation_385}`;
202
- const tZero = `%_m_zinv_${_ringBufferAttestation_385}`;
203
- const oneMask = this.prng.nextUint32() & 2147483646 + ((__ringBufferAttestation_487 & 255) - 34) | 7799 ^ (__ringBufferAttestation_487 & 65535 ^ 18516);
204
- const oneC1 = 32466 ^ (__ringBufferAttestation_487 & 65535 ^ 10481) ^ oneMask | 15927 ^ (__ringBufferAttestation_487 & 65535 ^ 26645);
205
- const oneC2 = oneMask ^ _inoculationInjectedIntegrity_e2c | 30302 ^ (__ringBufferAttestation_487 & 65535 ^ 8316);
206
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tXor} = xor i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
207
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tAnd} = and i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
208
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
209
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
210
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU0} = xor i32 ${_prngIntegrity_2f}, ${_modeAttestation_4b7}`);
211
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
212
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
213
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
214
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
215
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tKOne1} = xor i32 ${_modeAttestation_4b7}, ${oneC2}`);
216
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
217
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
218
- _inoculationInjectedIntegrity_fd1.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
219
- return _inoculationInjectedIntegrity_fd1.join('\n');
220
- } else if (op === _sboxResolve_487(23605 ^ (__ringBufferAttestation_487 & 65535 ^ 2577)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 123 | 1, ((irCode.seats || irCode | 0) | 0) ^ 123 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 123 | 1, ((irCode.seats || irCode | 0) | 0) ^ 123 | 1)) & 15 ^ (__ringBufferAttestation_487 >>> 24 & 255 ^ 90)) === 105) {
221
- const tXor = `%_m_axor_${_ringBufferAttestation_385}`;
222
- const tAnd = `%_m_aand_${_ringBufferAttestation_385}`;
223
- const tShl = `%_m_ashl_${_ringBufferAttestation_385}`;
224
- const tBase = `%_m_abase_${_ringBufferAttestation_385}`;
225
- const tU0 = `%_m_u0_${_ringBufferAttestation_385}`;
226
- const tU1 = `%_m_u1_${_ringBufferAttestation_385}`;
227
- const tU2 = `%_m_u2_${_ringBufferAttestation_385}`;
228
- const tU4 = `%_m_u4_${_ringBufferAttestation_385}`;
229
- const tQ1 = `%_m_q1_${_ringBufferAttestation_385}`;
230
- const tKOne1 = `%_m_ko1_${_ringBufferAttestation_385}`;
231
- const tKOne2 = `%_m_ko2_${_ringBufferAttestation_385}`;
232
- const tZero = `%_m_zinv_${_ringBufferAttestation_385}`;
233
- const oneMask = this.prng.nextUint32() & (21588 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535) | (22194 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535);
234
- const oneC1 = (22194 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535) ^ oneMask | (22176 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535);
235
- const oneC2 = oneMask ^ _inoculationInjectedIntegrity_e2c | (22352 ^ __ringBufferAttestation_487 & 65535) / (14444 ^ __ringBufferAttestation_487 >>> 16 & 65535);
236
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tXor} = xor i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
237
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tAnd} = and i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
238
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
239
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
240
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU0} = xor i32 ${_prngIntegrity_2f}, ${_modeAttestation_4b7}`);
241
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
242
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
243
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
244
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
245
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tKOne1} = xor i32 ${_modeAttestation_4b7}, ${oneC2}`);
246
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
247
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
248
- _inoculationInjectedIntegrity_fd1.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
249
- return _inoculationInjectedIntegrity_fd1.join('\n');
161
+ if (op === _auditMode_aeff(43511 ^ (__enclaveDigestSequence_aeff & 65535 ^ 22439)) && (Math.imul(Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 67 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 67 | 1), Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 67 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 67 | 1)) & 15 ^ (__enclaveDigestSequence_aeff >>> 20 & 255 ^ 107)) === 53) {
162
+ const tXor = `%_m_axor_${_codeAttestation_5cc}`;
163
+ const tAnd = `%_m_aand_${_codeAttestation_5cc}`;
164
+ const tShl = `%_m_ashl_${_codeAttestation_5cc}`;
165
+ const tBase = `%_m_abase_${_codeAttestation_5cc}`;
166
+ const tU0 = `%_m_u0_${_codeAttestation_5cc}`;
167
+ const tU1 = `%_m_u1_${_codeAttestation_5cc}`;
168
+ const tU2 = `%_m_u2_${_codeAttestation_5cc}`;
169
+ const tU4 = `%_m_u4_${_codeAttestation_5cc}`;
170
+ const tQ1 = `%_m_q1_${_codeAttestation_5cc}`;
171
+ const tKOne1 = `%_m_ko1_${_codeAttestation_5cc}`;
172
+ const tKOne2 = `%_m_ko2_${_codeAttestation_5cc}`;
173
+ const tZero = `%_m_zinv_${_codeAttestation_5cc}`;
174
+ const oneMask = this.prng.nextUint32() & (65238 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535) | (65370 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535);
175
+ const oneC1 = (65318 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535) ^ oneMask | (65370 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535);
176
+ const oneC2 = oneMask ^ _optionsProof_750 | (65318 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535);
177
+ _ringBufferEnvelope_f91.push(`${indent}${tXor} = xor i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
178
+ _ringBufferEnvelope_f91.push(`${indent}${tAnd} = and i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
179
+ _ringBufferEnvelope_f91.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
180
+ _ringBufferEnvelope_f91.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
181
+ _ringBufferEnvelope_f91.push(`${indent}${tU0} = xor i32 ${_modeProof_527}, ${_trimVector_274}`);
182
+ _ringBufferEnvelope_f91.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
183
+ _ringBufferEnvelope_f91.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
184
+ _ringBufferEnvelope_f91.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
185
+ _ringBufferEnvelope_f91.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
186
+ _ringBufferEnvelope_f91.push(`${indent}${tKOne1} = xor i32 ${_trimVector_274}, ${oneC2}`);
187
+ _ringBufferEnvelope_f91.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
188
+ _ringBufferEnvelope_f91.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
189
+ _ringBufferEnvelope_f91.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
190
+ return _ringBufferEnvelope_f91.join('\n');
191
+ } else if (op === _auditMode_aeff(56862 ^ (__enclaveDigestSequence_aeff & 65535 ^ 8271)) && (Math.imul(Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 81 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 81 | 1), Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 81 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 81 | 1)) & 15 ^ (__enclaveDigestSequence_aeff >>> 22 & 255 ^ 27)) === 205) {
192
+ const tXor = `%_m_axor_${_codeAttestation_5cc}`;
193
+ const tAnd = `%_m_aand_${_codeAttestation_5cc}`;
194
+ const tShl = `%_m_ashl_${_codeAttestation_5cc}`;
195
+ const tBase = `%_m_abase_${_codeAttestation_5cc}`;
196
+ const tU0 = `%_m_u0_${_codeAttestation_5cc}`;
197
+ const tU1 = `%_m_u1_${_codeAttestation_5cc}`;
198
+ const tU2 = `%_m_u2_${_codeAttestation_5cc}`;
199
+ const tU4 = `%_m_u4_${_codeAttestation_5cc}`;
200
+ const tQ1 = `%_m_q1_${_codeAttestation_5cc}`;
201
+ const tKOne1 = `%_m_ko1_${_codeAttestation_5cc}`;
202
+ const tKOne2 = `%_m_ko2_${_codeAttestation_5cc}`;
203
+ const tZero = `%_m_zinv_${_codeAttestation_5cc}`;
204
+ const oneMask = this.prng.nextUint32() & 2147483646 + ((__enclaveDigestSequence_aeff & 255) - 84) | 64205 ^ (__enclaveDigestSequence_aeff & 65535 ^ 1176);
205
+ const oneC1 = 58098 ^ (__enclaveDigestSequence_aeff & 65535 ^ 7335) ^ oneMask | 53423 ^ (__enclaveDigestSequence_aeff & 65535 ^ 12027);
206
+ const oneC2 = oneMask ^ _optionsProof_750 | 47074 ^ (__enclaveDigestSequence_aeff & 65535 ^ 18870);
207
+ _ringBufferEnvelope_f91.push(`${indent}${tXor} = xor i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
208
+ _ringBufferEnvelope_f91.push(`${indent}${tAnd} = and i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
209
+ _ringBufferEnvelope_f91.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
210
+ _ringBufferEnvelope_f91.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
211
+ _ringBufferEnvelope_f91.push(`${indent}${tU0} = xor i32 ${_modeProof_527}, ${_trimVector_274}`);
212
+ _ringBufferEnvelope_f91.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
213
+ _ringBufferEnvelope_f91.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
214
+ _ringBufferEnvelope_f91.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
215
+ _ringBufferEnvelope_f91.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
216
+ _ringBufferEnvelope_f91.push(`${indent}${tKOne1} = xor i32 ${_trimVector_274}, ${oneC2}`);
217
+ _ringBufferEnvelope_f91.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
218
+ _ringBufferEnvelope_f91.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
219
+ _ringBufferEnvelope_f91.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
220
+ return _ringBufferEnvelope_f91.join('\n');
221
+ } else if (op === _auditMode_aeff(36928 ^ (__enclaveDigestSequence_aeff & 65535 ^ 28178)) && (Math.imul(Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 69 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 69 | 1), Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 69 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 69 | 1)) & 15 ^ (__enclaveDigestSequence_aeff >>> 2 & 255 ^ 203)) === 93) {
222
+ const tXor = `%_m_axor_${_codeAttestation_5cc}`;
223
+ const tAnd = `%_m_aand_${_codeAttestation_5cc}`;
224
+ const tShl = `%_m_ashl_${_codeAttestation_5cc}`;
225
+ const tBase = `%_m_abase_${_codeAttestation_5cc}`;
226
+ const tU0 = `%_m_u0_${_codeAttestation_5cc}`;
227
+ const tU1 = `%_m_u1_${_codeAttestation_5cc}`;
228
+ const tU2 = `%_m_u2_${_codeAttestation_5cc}`;
229
+ const tU4 = `%_m_u4_${_codeAttestation_5cc}`;
230
+ const tQ1 = `%_m_q1_${_codeAttestation_5cc}`;
231
+ const tKOne1 = `%_m_ko1_${_codeAttestation_5cc}`;
232
+ const tKOne2 = `%_m_ko2_${_codeAttestation_5cc}`;
233
+ const tZero = `%_m_zinv_${_codeAttestation_5cc}`;
234
+ const oneMask = this.prng.nextUint32() & (64546 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535) | (65318 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535);
235
+ const oneC1 = (65318 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535) ^ oneMask | (64546 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535);
236
+ const oneC2 = oneMask ^ _optionsProof_750 | (65370 ^ __enclaveDigestSequence_aeff & 65535) / (46367 ^ __enclaveDigestSequence_aeff >>> 16 & 65535);
237
+ _ringBufferEnvelope_f91.push(`${indent}${tXor} = xor i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
238
+ _ringBufferEnvelope_f91.push(`${indent}${tAnd} = and i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
239
+ _ringBufferEnvelope_f91.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
240
+ _ringBufferEnvelope_f91.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
241
+ _ringBufferEnvelope_f91.push(`${indent}${tU0} = xor i32 ${_modeProof_527}, ${_trimVector_274}`);
242
+ _ringBufferEnvelope_f91.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
243
+ _ringBufferEnvelope_f91.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
244
+ _ringBufferEnvelope_f91.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
245
+ _ringBufferEnvelope_f91.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
246
+ _ringBufferEnvelope_f91.push(`${indent}${tKOne1} = xor i32 ${_trimVector_274}, ${oneC2}`);
247
+ _ringBufferEnvelope_f91.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
248
+ _ringBufferEnvelope_f91.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
249
+ _ringBufferEnvelope_f91.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
250
+ return _ringBufferEnvelope_f91.join('\n');
250
251
  }
251
- if (op === _sboxResolve_487(19599 ^ (__ringBufferAttestation_487 & 65535 ^ 6826)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 58 | 1, ((irCode.seats || irCode | 0) | 0) ^ 58 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 58 | 1, ((irCode.seats || irCode | 0) | 0) ^ 58 | 1)) & 15 ^ (__ringBufferAttestation_487 >>> 9 & 255 ^ 186)) === 154) {
252
- const tXor = `%_m_sxor_${_ringBufferAttestation_385}`;
253
- const tNot = `%_m_snot_${_ringBufferAttestation_385}`;
254
- const tAnd = `%_m_sand_${_ringBufferAttestation_385}`;
255
- const tShl = `%_m_sshl_${_ringBufferAttestation_385}`;
256
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tXor} = xor i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
257
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tNot} = xor i32 ${_prngIntegrity_2f}, -1`);
258
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tAnd} = and i32 ${tNot}, ${_harvestedEnvelope_a86}`);
259
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
260
- _inoculationInjectedIntegrity_fd1.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
261
- return _inoculationInjectedIntegrity_fd1.join('\n');
262
- } else if (op === _sboxResolve_487(14065 ^ (__ringBufferAttestation_487 & 65535 ^ 24795)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 95 | 1, ((irCode.seats || irCode | 0) | 0) ^ 95 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 95 | 1, ((irCode.seats || irCode | 0) | 0) ^ 95 | 1)) & 15 ^ (__ringBufferAttestation_487 >>> 23 & 255 ^ 60)) === 76) {
263
- const tXor = `%_m_sxor_${_ringBufferAttestation_385}`;
264
- const tNot = `%_m_snot_${_ringBufferAttestation_385}`;
265
- const tAnd = `%_m_sand_${_ringBufferAttestation_385}`;
266
- const tShl = `%_m_sshl_${_ringBufferAttestation_385}`;
267
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tXor} = xor i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
268
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tNot} = xor i32 ${_prngIntegrity_2f}, -1`);
269
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tAnd} = and i32 ${tNot}, ${_harvestedEnvelope_a86}`);
270
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
271
- _inoculationInjectedIntegrity_fd1.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
272
- return _inoculationInjectedIntegrity_fd1.join('\n');
273
- } else if (op === _sboxResolve_487(30979 ^ (__ringBufferAttestation_487 & 65535 ^ 12072)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 101 | 1, ((irCode.seats || irCode | 0) | 0) ^ 101 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 101 | 1, ((irCode.seats || irCode | 0) | 0) ^ 101 | 1)) & 15 ^ (__ringBufferAttestation_487 >>> 0 & 255 ^ 210)) === 251) {
274
- const tXor = `%_m_sxor_${_ringBufferAttestation_385}`;
275
- const tNot = `%_m_snot_${_ringBufferAttestation_385}`;
276
- const tAnd = `%_m_sand_${_ringBufferAttestation_385}`;
277
- const tShl = `%_m_sshl_${_ringBufferAttestation_385}`;
278
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tXor} = xor i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
279
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tNot} = xor i32 ${_prngIntegrity_2f}, -1`);
280
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tAnd} = and i32 ${tNot}, ${_harvestedEnvelope_a86}`);
281
- _inoculationInjectedIntegrity_fd1.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
282
- _inoculationInjectedIntegrity_fd1.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
283
- return _inoculationInjectedIntegrity_fd1.join('\n');
252
+ if (op === _auditMode_aeff(35744 ^ (__enclaveDigestSequence_aeff & 65535 ^ 30195)) && (Math.imul(Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 71 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 71 | 1), Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 71 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 71 | 1)) & 15 ^ (__enclaveDigestSequence_aeff >>> 3 & 255 ^ 143)) === 72) {
253
+ const tXor = `%_m_sxor_${_codeAttestation_5cc}`;
254
+ const tNot = `%_m_snot_${_codeAttestation_5cc}`;
255
+ const tAnd = `%_m_sand_${_codeAttestation_5cc}`;
256
+ const tShl = `%_m_sshl_${_codeAttestation_5cc}`;
257
+ _ringBufferEnvelope_f91.push(`${indent}${tXor} = xor i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
258
+ _ringBufferEnvelope_f91.push(`${indent}${tNot} = xor i32 ${_modeProof_527}, -1`);
259
+ _ringBufferEnvelope_f91.push(`${indent}${tAnd} = and i32 ${tNot}, ${_hashStringProof_f81}`);
260
+ _ringBufferEnvelope_f91.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
261
+ _ringBufferEnvelope_f91.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
262
+ return _ringBufferEnvelope_f91.join('\n');
263
+ } else if (op === _auditMode_aeff(63407 ^ (__enclaveDigestSequence_aeff & 65535 ^ 2547)) && (Math.imul(Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 121 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 121 | 1), Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 121 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 121 | 1)) & 15 ^ (__enclaveDigestSequence_aeff >>> 9 & 255 ^ 206)) === 48) {
264
+ const tXor = `%_m_sxor_${_codeAttestation_5cc}`;
265
+ const tNot = `%_m_snot_${_codeAttestation_5cc}`;
266
+ const tAnd = `%_m_sand_${_codeAttestation_5cc}`;
267
+ const tShl = `%_m_sshl_${_codeAttestation_5cc}`;
268
+ _ringBufferEnvelope_f91.push(`${indent}${tXor} = xor i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
269
+ _ringBufferEnvelope_f91.push(`${indent}${tNot} = xor i32 ${_modeProof_527}, -1`);
270
+ _ringBufferEnvelope_f91.push(`${indent}${tAnd} = and i32 ${tNot}, ${_hashStringProof_f81}`);
271
+ _ringBufferEnvelope_f91.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
272
+ _ringBufferEnvelope_f91.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
273
+ return _ringBufferEnvelope_f91.join('\n');
274
+ } else if (op === _auditMode_aeff(61908 ^ (__enclaveDigestSequence_aeff & 65535 ^ 3977)) && (Math.imul(Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 91 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 91 | 1), Math.imul(((rawIrCode.seats || rawIrCode | 0) | 0) ^ 91 | 1, ((rawIrCode.seats || rawIrCode | 0) | 0) ^ 91 | 1)) & 15 ^ (__enclaveDigestSequence_aeff >>> 20 & 255 ^ 65)) === 21) {
275
+ const tXor = `%_m_sxor_${_codeAttestation_5cc}`;
276
+ const tNot = `%_m_snot_${_codeAttestation_5cc}`;
277
+ const tAnd = `%_m_sand_${_codeAttestation_5cc}`;
278
+ const tShl = `%_m_sshl_${_codeAttestation_5cc}`;
279
+ _ringBufferEnvelope_f91.push(`${indent}${tXor} = xor i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
280
+ _ringBufferEnvelope_f91.push(`${indent}${tNot} = xor i32 ${_modeProof_527}, -1`);
281
+ _ringBufferEnvelope_f91.push(`${indent}${tAnd} = and i32 ${tNot}, ${_hashStringProof_f81}`);
282
+ _ringBufferEnvelope_f91.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
283
+ _ringBufferEnvelope_f91.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
284
+ return _ringBufferEnvelope_f91.join('\n');
284
285
  }
285
- const _entropyNonceEnvelope_7a3 = `%_m_xor_or_${_ringBufferAttestation_385}`;
286
- const _transformedCountIntegrity_f23 = `%_m_xor_and_${_ringBufferAttestation_385}`;
287
- _inoculationInjectedIntegrity_fd1.push(`${indent}${_entropyNonceEnvelope_7a3} = or i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
288
- _inoculationInjectedIntegrity_fd1.push(`${indent}${_transformedCountIntegrity_f23} = and i32 ${_prngIntegrity_2f}, ${_harvestedEnvelope_a86}`);
289
- _inoculationInjectedIntegrity_fd1.push(`${indent}${destReg} = sub i32 ${_entropyNonceEnvelope_7a3}, ${_transformedCountIntegrity_f23}`);
290
- return (__keyDerivationStateEnvelope_7024 & 255) === 168 ? _inoculationInjectedIntegrity_fd1.join('\n') : (() => {
291
- function assertOptions_da0f(_tok0, _tok1, _tok2, _tok3) {
292
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:5a823152-26da528f]",
286
+ const _optionsProof_2e0 = `%_m_xor_or_${_codeAttestation_5cc}`;
287
+ const _entropyNonceSequence_75b = `%_m_xor_and_${_codeAttestation_5cc}`;
288
+ _ringBufferEnvelope_f91.push(`${indent}${_optionsProof_2e0} = or i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
289
+ _ringBufferEnvelope_f91.push(`${indent}${_entropyNonceSequence_75b} = and i32 ${_modeProof_527}, ${_hashStringProof_f81}`);
290
+ _ringBufferEnvelope_f91.push(`${indent}${destReg} = sub i32 ${_optionsProof_2e0}, ${_entropyNonceSequence_75b}`);
291
+ return (__entropyNonceProof_4c80 & 255) === 148 ? _ringBufferEnvelope_f91.join('\n') : (() => {
292
+ function rotateEntropyNonceProof_4d7(_tok0, _tok1, _tok2, _tok3) {
293
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:f23d8a1b-f4692d98]",
293
294
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
294
295
  let _h = 2166136261;
295
296
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -308,25 +309,25 @@ export class LlvmIrTransformer {
308
309
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
309
310
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
310
311
  if ((_h >>> 4 & 15) !== 6) {
311
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
312
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
312
313
  }
313
314
  return _h;
314
315
  }
315
- const __keyDerivationStateEnvelope_da0f = assertOptions_da0f(485994023, 1128791731, 903096603, 462521279);
316
- if ((__keyDerivationStateEnvelope_da0f & 255) !== 111) {
316
+ const __enclaveBoundaryCheck_4d7 = rotateEntropyNonceProof_4d7(286126223, 2012136225, 1081602175, 1654717231);
317
+ if ((__enclaveBoundaryCheck_4d7 & 255) !== 99) {
317
318
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
318
319
  }
319
320
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
320
321
  })();
321
322
  });
322
- if (_ProprietaryEnclaveDelta_8b9) {
323
- const labelPart = _ProprietaryEnclaveDelta_8b9[23959 ^ (__ringBufferAttestation_487 & 65535 ^ 2996)];
324
- const rest = _sgxBoundaryAttestation_15d.slice(labelPart.length);
325
- return `${header}${labelPart}${_constructorEnvelope_ffa}${rest}${footer}`;
323
+ if (_entropyNonceVector_54d) {
324
+ const labelPart = _entropyNonceVector_54d[51915 ^ (__enclaveDigestSequence_aeff & 65535 ^ 13470)];
325
+ const rest = _keyDerivationStateAttestation_9dc.slice(labelPart.length);
326
+ return `${header}${labelPart}${_replaceBitmask_ade}${rest}${footer}`;
326
327
  }
327
- return (__keyDerivationStateEnvelope_3c3a & 255) === 115 ? `${header}${_constructorEnvelope_ffa}${_sgxBoundaryAttestation_15d}${footer}` : (() => {
328
- function assertIrCode_56e1(_tok0, _tok1, _tok2, _tok3) {
329
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:a79765c6-61d2f259]",
328
+ return (__hmacRingSequence_e350 & 255) === 48 ? `${header}${_replaceBitmask_ade}${_keyDerivationStateAttestation_9dc}${footer}` : (() => {
329
+ function attestTransformedCount_5854(_tok0, _tok1, _tok2, _tok3) {
330
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:6c84c3a9-83aba612]",
330
331
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
331
332
  let _h = 2166136261;
332
333
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -344,43 +345,43 @@ export class LlvmIrTransformer {
344
345
  _h = (_h ^ _h >>> 16) >>> 0;
345
346
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
346
347
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
347
- if ((_h >>> 4 & 15) !== 7) {
348
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
348
+ if ((_h >>> 4 & 15) !== 14) {
349
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
349
350
  }
350
351
  return _h;
351
352
  }
352
- const __enclaveDigestAttestation_56e1 = assertIrCode_56e1(29599175, 558731259, 1549070629, 1254665517);
353
- if ((__enclaveDigestAttestation_56e1 & 255) !== 116) {
353
+ const __hmacFrameBitmask_5854 = attestTransformedCount_5854(2116786781, 20882757, 1380810233, 2064797809);
354
+ if ((__hmacFrameBitmask_5854 & 255) !== 230) {
354
355
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
355
356
  }
356
357
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
357
358
  })();
358
359
  });
359
- if (_ProprietaryEnclaveDelta_fe9 === (25261 ^ (__ringBufferAttestation_487 & 65535 ^ 13455))) {
360
+ if (_constructorBitmask_656 === (59078 ^ (__enclaveDigestSequence_aeff & 65535 ^ 6290))) {
360
361
  return {
361
- code: irCode,
362
- transformedCount: 27038 ^ (__ringBufferAttestation_487 & 65535 ^ 16316),
362
+ code: rawIrCode,
363
+ transformedCount: 33929 ^ (__enclaveDigestSequence_aeff & 65535 ^ 31453),
363
364
  seedUsed: this.seed,
364
365
  inoculationInjected: false,
365
- stateKeyDerived: 30184 ^ (__ringBufferAttestation_487 & 65535 ^ 9162)
366
+ stateKeyDerived: 56772 ^ (__enclaveDigestSequence_aeff & 65535 ^ 9104)
366
367
  };
367
368
  }
368
- const _SoltrixStudiosDelta_5e2 = Buffer.from(_ringBufferAttestation_eb9, _sboxResolve_487(4396 ^ (__ringBufferAttestation_487 & 65535 ^ 18180)));
369
- const _seedUsedProof_b37 = _SoltrixStudiosDelta_5e2.length + (27810 ^ (__ringBufferAttestation_487 & 65535 ^ 14977));
370
- const _MBASynthesizerBitmask_327 = _ringBufferAttestation_eb9.replace(/\\/g, '\\\\').replace(/"/g, _sboxResolve_487(12969 ^ (__ringBufferAttestation_487 & 65535 ^ 25728)));
371
- const _transformProof_5d0 = 1511516595 + ((__ringBufferAttestation_487 & 255) - 34);
372
- const _tpmPcrBankSequence_bc9 = _SeededPRNGProof_568 ^ _transformProof_5d0 | 26556 ^ (__ringBufferAttestation_487 & 65535 ^ 12702);
373
- const _sgxBoundaryAttestation_c96 = (_inoculationInjectedIntegrity_e2c | 5513 ^ (__ringBufferAttestation_487 & 65535 ^ 17323)) - _tpmPcrBankSequence_bc9 | 28189 ^ (__ringBufferAttestation_487 & 65535 ^ 14399);
374
- const _generateCryptoSeedProof_a3d = [`; [Syferit Adversarial LLVM IR Protection Engine v0.4.0]`, `@.syferit.legal.attestation_${_tpmPcrBankVector_1d5} = private unnamed_addr constant [${_seedUsedProof_b37} x i8] c"${_MBASynthesizerBitmask_327}\\00", align 1`, `@llvm.compiler.used = appending global [1 x ptr] [ptr @.syferit.legal.attestation_${_tpmPcrBankVector_1d5}], section "llvm.metadata"`, ``, `declare void @llvm.trap() #0`, ``, `define internal i32 @${_fnMatchRegexAttestation_859}(i32 %_tok) noinline optnone {`, `entry:`, ` %_att_byte = load volatile i8, ptr @.syferit.legal.attestation_${_tpmPcrBankVector_1d5}, align 1`, ` %_att_valid = icmp ne i8 %_att_byte, 0`, ` %_x0 = xor i32 %_tok, ${_transformProof_5d0}`, ` %_key = add i32 %_x0, ${_sgxBoundaryAttestation_c96}`, ` %_shr = lshr i32 %_key, 4`, ` %_nib = and i32 %_shr, 15`, ` %_nib_ok = icmp eq i32 %_nib, ${_stateKeyDerivedVector_f48}`, ` %_all_ok = and i1 %_att_valid, %_nib_ok`, ` br i1 %_all_ok, label %hash.ok, label %tamper.trap`, ``, `tamper.trap:`, ` call void @llvm.trap()`, ` unreachable`, ``, `hash.ok:`, ` ret i32 %_key`, `}`, ``].join('\n');
375
- return (__ringBufferAttestation_487 & 255) === 34 ? {
376
- code: `${_generateCryptoSeedProof_a3d}\n${_LlvmIrTransformerBitmask_961}`,
377
- transformedCount: _ProprietaryEnclaveDelta_fe9,
369
+ const _entropyNonceProof_f0f = Buffer.from(_keyDerivationStateProof_606, _auditMode_aeff(44244 ^ (__enclaveDigestSequence_aeff & 65535 ^ 21130)));
370
+ const _hashStringProof_4ad = _entropyNonceProof_f0f.length + (56563 ^ (__enclaveDigestSequence_aeff & 65535 ^ 8870));
371
+ const _MBASynthesizerProof_71b = _keyDerivationStateProof_606.replace(/\\/g, '\\\\').replace(/"/g, _auditMode_aeff(40261 ^ (__enclaveDigestSequence_aeff & 65535 ^ 25370)));
372
+ const _keyDerivationStateIntegrity_332 = 1511516595 + ((__enclaveDigestSequence_aeff & 255) - 84);
373
+ const _entropyNonceSequence_93e = _monotonicNonceDrift_6be ^ _keyDerivationStateIntegrity_332 | 57996 ^ (__enclaveDigestSequence_aeff & 65535 ^ 7384);
374
+ const _seedUsedIntegrity_69 = (_optionsProof_750 | 53674 ^ (__enclaveDigestSequence_aeff & 65535 ^ 12286)) - _entropyNonceSequence_93e | 34399 ^ (__enclaveDigestSequence_aeff & 65535 ^ 30731);
375
+ const _ringBufferProof_14d = [`; [Protected by Soltrix Studios — Syferit Code Defense Engine | https://syferit.soltrixstudios.com]`, `@.syferit.legal.attestation_${_stateKeyDerivedAttestation_687} = private unnamed_addr constant [${_hashStringProof_4ad} x i8] c"${_MBASynthesizerProof_71b}\\00", align 1`, `@llvm.compiler.used = appending global [1 x ptr] [ptr @.syferit.legal.attestation_${_stateKeyDerivedAttestation_687}], section "llvm.metadata"`, ``, `declare void @llvm.trap() #0`, ``, `define internal i32 @${_SeededPRNGProof_4d3}(i32 %_tok) noinline optnone {`, `entry:`, ` %_att_byte = load volatile i8, ptr @.syferit.legal.attestation_${_stateKeyDerivedAttestation_687}, align 1`, ` %_att_valid = icmp ne i8 %_att_byte, 0`, ` %_x0 = xor i32 %_tok, ${_keyDerivationStateIntegrity_332}`, ` %_key = add i32 %_x0, ${_seedUsedIntegrity_69}`, ` %_shr = lshr i32 %_key, 4`, ` %_nib = and i32 %_shr, 15`, ` %_nib_ok = icmp eq i32 %_nib, ${_generateCryptoSeedProof_aff}`, ` %_all_ok = and i1 %_att_valid, %_nib_ok`, ` br i1 %_all_ok, label %hash.ok, label %tamper.trap`, ``, `tamper.trap:`, ` call void @llvm.trap()`, ` unreachable`, ``, `hash.ok:`, ` ret i32 %_key`, `}`, ``].join('\n');
376
+ return (__enclaveDigestSequence_aeff & 255) === 84 ? {
377
+ code: `${_ringBufferProof_14d}\n${_replaceBitmask_4d8}`,
378
+ transformedCount: _constructorBitmask_656,
378
379
  seedUsed: this.seed,
379
380
  inoculationInjected: true,
380
- stateKeyDerived: _inoculationInjectedIntegrity_e2c >>> (13331 ^ (__ringBufferAttestation_487 & 65535 ^ 25137))
381
+ stateKeyDerived: _optionsProof_750 >>> (63814 ^ (__enclaveDigestSequence_aeff & 65535 ^ 1810))
381
382
  } : (() => {
382
- function verifyHarvested_22b4(_tok0, _tok1, _tok2, _tok3) {
383
- const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:bb8d2f16-bb76d701]",
383
+ function isolateTransform_c4cc(_tok0, _tok1, _tok2, _tok3) {
384
+ const _legalAttestation = "SECURITY_CRITICAL_INFRASTRUCTURE: Anti-tamper cryptosystem implementation. Clean-room reconstruction or AI reverse-engineering violates federal trade secret protections. [ATTESTATION_ID:14f04636-de41322c]",
384
385
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
385
386
  let _h = 2166136261;
386
387
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -398,16 +399,22 @@ export class LlvmIrTransformer {
398
399
  _h = (_h ^ _h >>> 16) >>> 0;
399
400
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
400
401
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
401
- if ((_h >>> 4 & 15) !== 9) {
402
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
402
+ if ((_h >>> 4 & 15) !== 10) {
403
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
403
404
  }
404
405
  return _h;
405
406
  }
406
- const __entropySeedDigest_22b4 = verifyHarvested_22b4(280779765, 135584523, 1666836851, 1624362147);
407
- if ((__entropySeedDigest_22b4 & 255) !== 155) {
407
+ const __hmacRingSequence_c4cc = isolateTransform_c4cc(922870381, 2086337861, 1396877795, 2130753135);
408
+ if ((__hmacRingSequence_c4cc & 255) !== 172) {
408
409
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
409
410
  }
410
411
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
411
412
  })();
412
413
  }
414
+ }
415
+ if (typeof window !== "undefined") {
416
+ window.__syferitIPC_daaf.invoke && window.__syferitIPC_daaf.invoke("auth:session-lease-sync", {
417
+ syncEpoch: 228528789,
418
+ channelSig: "SIG_FRAME_DAAF"
419
+ });
413
420
  }