@syferit/llvm 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,8 +11,8 @@ export class LlvmIrTransformer {
11
11
  this.mba = new MBASynthesizer(this.prng);
12
12
  }
13
13
  transform(irCode) {
14
- function attestKeyDerivationStateAttestation_dcd6(_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:50423843-13162822]",
14
+ function verifySoltrixStudiosContext_60d2(_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:89594933-9446f01d]",
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,65 @@ 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) !== 15) {
33
+ if ((_h >>> 4 & 15) !== 4) {
34
34
  throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
35
35
  }
36
36
  return _h;
37
37
  }
38
- const __hmacFrameProof_dcd6 = attestKeyDerivationStateAttestation_dcd6(1154315315, 1019444195, 1623433009, 950572379);
39
- const _sboxTable_dcd6 = [[156, 107, 48, 220, 209, 167, 224, 115, 125, 25, 55, 164, 194, 204, 149, 8, 62], [123, 66, 19, 177, 223, 212, 137, 5, 34, 33, 249], [33, 34, 233, 149, 185, 150, 123, 210, 5, 7, 221, 77, 97, 124, 35, 209], [26, 16, 206, 109], [235, 248, 183, 47, 67, 92, 13, 136, 223, 205, 147, 7, 43, 38, 245, 155], [210, 223, 157], [176, 147, 115, 210, 29, 1, 221, 83, 117, 101, 25, 217, 251, 255, 177, 44, 76], [149, 118, 46, 237, 224, 236, 184, 52, 80, 64, 52, 182, 214, 162, 148, 11, 41], [81, 95, 10], [33, 38, 253, 143, 132, 210, 21, 160, 48, 68, 234, 87, 119, 121, 32, 219, 227], [25, 0, 212, 12, 56], [205, 171, 229]];
40
- function _sboxResolve_dcd6(_slot) {
41
- const _row = _sboxTable_dcd6[_slot];
42
- return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__hmacFrameProof_dcd6 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
38
+ const __ringBufferEnvelope_60d2 = verifySoltrixStudiosContext_60d2(1266999541, 1947723627, 128959073, 1194462343);
39
+ const _sboxTable_60d2 = [[44, 156, 188, 172, 188, 240, 22, 11, 24, 105, 104, 132, 100, 218, 254, 24], [10, 114, 114, 128, 110, 196, 232, 20, 243, 81, 88], [245, 85, 89, 121, 120, 225, 137, 174, 228, 87, 14, 65, 59, 138, 140, 165, 151], [203, 0, 47, 92], [187, 239, 3, 39, 46, 43, 51, 216, 90, 157, 196, 15, 237, 48, 70, 115, 89], [99, 207, 252], [79, 163, 208, 193, 202, 17, 62, 64, 58, 149, 186, 170, 140, 239, 18, 63, 19], [36, 134, 143, 156, 145, 252, 25, 37, 1, 112, 85, 135, 103, 210, 245, 26, 248], [2, 111, 101], [243, 81, 79, 97, 75, 165, 165, 254, 215, 20, 59, 89, 51, 143, 141, 173], [206, 16, 55, 31, 119], [188, 187, 68]];
40
+ function _sboxResolve_60d2(_slot) {
41
+ const _row = _sboxTable_60d2[_slot];
42
+ return String.fromCharCode(..._row.map((_b, _idx) => (_b ^ (__ringBufferEnvelope_60d2 >>> (_idx & 3) * 8) + Math.imul(_idx + _slot, 37) & 255) & 255));
43
43
  }
44
- if (this.options.mode === _sboxResolve_dcd6(45965 ^ (__hmacFrameProof_dcd6 & 65535 ^ 28279)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 74 | 1, ((irCode.seats || irCode | 0) | 0) ^ 74 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 74 | 1, ((irCode.seats || irCode | 0) | 0) ^ 74 | 1)) & 15 ^ (__hmacFrameProof_dcd6 >>> 1 & 255 ^ 79)) === 181) {
44
+ if (this.options.mode === _sboxResolve_60d2(48031 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 30422)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 44 | 1, ((irCode.seats || irCode | 0) | 0) ^ 44 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 44 | 1, ((irCode.seats || irCode | 0) | 0) ^ 44 | 1)) & 15 ^ (__ringBufferEnvelope_60d2 >>> 4 & 255 ^ 79)) === 156) {
45
45
  return {
46
46
  code: irCode,
47
- transformedCount: (56564 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535),
47
+ transformedCount: (52697 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535),
48
48
  seedUsed: this.seed,
49
49
  inoculationInjected: false,
50
- stateKeyDerived: (57228 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535)
50
+ stateKeyDerived: (52697 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535)
51
51
  };
52
- } else if (this.options.mode === _sboxResolve_dcd6(63593 ^ (__hmacFrameProof_dcd6 & 65535 ^ 9618)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 45 | 1, ((irCode.seats || irCode | 0) | 0) ^ 45 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 45 | 1, ((irCode.seats || irCode | 0) | 0) ^ 45 | 1)) & 15 ^ (__hmacFrameProof_dcd6 >>> 18 & 255 ^ 230)) === 218) {
52
+ } else if (this.options.mode === _sboxResolve_60d2(53341 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 7445)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 42 | 1, ((irCode.seats || irCode | 0) | 0) ^ 42 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 42 | 1, ((irCode.seats || irCode | 0) | 0) ^ 42 | 1)) & 15 ^ (__ringBufferEnvelope_60d2 >>> 3 & 255 ^ 202)) === 98) {
53
53
  return {
54
54
  code: irCode,
55
- transformedCount: 52637 ^ (__hmacFrameProof_dcd6 & 65535 ^ 4199),
55
+ transformedCount: 34687 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 18998),
56
56
  seedUsed: this.seed,
57
57
  inoculationInjected: false,
58
- stateKeyDerived: 47953 ^ (__hmacFrameProof_dcd6 & 65535 ^ 26283)
58
+ stateKeyDerived: 52954 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 915)
59
59
  };
60
- } else if (this.options.mode === _sboxResolve_dcd6(64931 ^ (__hmacFrameProof_dcd6 & 65535 ^ 8283)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 92 | 1, ((irCode.seats || irCode | 0) | 0) ^ 92 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 92 | 1, ((irCode.seats || irCode | 0) | 0) ^ 92 | 1)) & 15 ^ (__hmacFrameProof_dcd6 >>> 18 & 255 ^ 214)) === 224) {
60
+ } else if (this.options.mode === _sboxResolve_60d2(33839 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 18788)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 34 | 1, ((irCode.seats || irCode | 0) | 0) ^ 34 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 34 | 1, ((irCode.seats || irCode | 0) | 0) ^ 34 | 1)) & 15 ^ (__ringBufferEnvelope_60d2 >>> 23 & 255 ^ 167)) === 9) {
61
61
  return {
62
62
  code: irCode,
63
- transformedCount: (56696 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535),
63
+ transformedCount: (53055 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535),
64
64
  seedUsed: this.seed,
65
65
  inoculationInjected: false,
66
- stateKeyDerived: (57228 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535)
66
+ stateKeyDerived: (53103 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535)
67
67
  };
68
68
  }
69
- const _sgxEcallCounter_ef0 = [];
70
- const _seedBitmask_97a = /define\s+[^@]*@([a-zA-Z_][a-zA-Z0-9_]*)\s*\(/g;
71
- let _hkdfSaltRotation_3d3;
72
- while ((_hkdfSaltRotation_3d3 = _seedBitmask_97a.exec(irCode)) !== null) {
73
- if (_hkdfSaltRotation_3d3[59181 ^ (__hmacFrameProof_dcd6 & 65535 ^ 15062)] && _hkdfSaltRotation_3d3[39674 ^ (__hmacFrameProof_dcd6 & 65535 ^ 18177)].length >= (62637 ^ (__hmacFrameProof_dcd6 & 65535 ^ 10579))) {
74
- _sgxEcallCounter_ef0.push(_hkdfSaltRotation_3d3[48265 ^ (__hmacFrameProof_dcd6 & 65535 ^ 24946)]);
69
+ const _keyDerivationStateBitmask_dc9 = [];
70
+ const _ringBufferBitmask_810 = /define\s+[^@]*@([a-zA-Z_][a-zA-Z0-9_]*)\s*\(/g;
71
+ let _SyferitEngineDelta_81e;
72
+ while ((_SyferitEngineDelta_81e = _ringBufferBitmask_810.exec(irCode)) !== null) {
73
+ if (_SyferitEngineDelta_81e[35784 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 18048)] && _SyferitEngineDelta_81e[39221 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 21629)].length >= (40212 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 20569))) {
74
+ _keyDerivationStateBitmask_dc9.push(_SyferitEngineDelta_81e[51498 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 1122)]);
75
75
  }
76
76
  }
77
- const _hashStringVector_8fa = buildPolymorphicDictionary(this.options.domainProfile ?? _sboxResolve_dcd6(51922 ^ (__hmacFrameProof_dcd6 & 65535 ^ 5931)), this.prng, _sgxEcallCounter_ef0, this.options.customDictionary ?? []);
78
- const _ProprietaryEnclaveDelta_77 = this.prng.pick(_hashStringVector_8fa.legalInoculations);
79
- const _harvestedProof_619 = `${this.prng.nextUint32().toString(53777 ^ (__hmacFrameProof_dcd6 & 65535 ^ 4091)).padStart(43988 ^ (__hmacFrameProof_dcd6 & 65535 ^ 30246), '0')}-${this.prng.nextUint32().toString(58409 ^ (__hmacFrameProof_dcd6 & 65535 ^ 14787)).padStart(40320 ^ (__hmacFrameProof_dcd6 & 65535 ^ 16498), '0')}`;
80
- const _codeVector_3ee = `${_ProprietaryEnclaveDelta_77} [ATTESTATION_ID:${_harvestedProof_619}]`;
81
- const _modeBitmask_2c5 = (this.prng.nextUint32() & (4318 ^ (__hmacFrameProof_dcd6 & 65535 ^ 13019))).toString(56543 ^ (__hmacFrameProof_dcd6 & 65535 ^ 309));
82
- const _pcrPolicyBitmask_4d3 = `${this.prng.pick(_hashStringVector_8fa.symbols)}_${_modeBitmask_2c5}`;
83
- const _hmacFrameIntegrity_2bc = `${this.prng.pick(_hashStringVector_8fa.stateKeys)}_${_modeBitmask_2c5}`;
84
- const _fnMatchRegexAttestation_431 = this.prng.nextUint32() & 2147483646 + ((__hmacFrameProof_dcd6 & 255) - 250) | 34290 ^ (__hmacFrameProof_dcd6 & 65535 ^ 22537);
85
- const _trimEnvelope_f14 = this.mba.computeStringKey(_codeVector_3ee, _fnMatchRegexAttestation_431);
86
- const _hmacFrameProof_dbd = _trimEnvelope_f14 >>> (44709 ^ (__hmacFrameProof_dcd6 & 65535 ^ 29531)) & (37132 ^ (__hmacFrameProof_dcd6 & 65535 ^ 19705));
87
- let _ringBufferProof_587 = 39741 ^ (__hmacFrameProof_dcd6 & 65535 ^ 18119);
88
- let _enclaveDigestAttestation_4db = 54439 ^ (__hmacFrameProof_dcd6 & 65535 ^ 2396);
89
- const _keyDerivationStateAttestation_593 = irCode.replace(/(define\s+[^@{]+@[a-zA-Z0-9_$.]+\s*\([^)]*\)[^{]*\{)([\s\S]*?)(\n\})/g, (_fullMatch, header, body, footer) => {
90
- function assertRingBufferIntegrity_baff(_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:587b4ccc-00718b0f]",
77
+ const _keyDerivationStateProof_5c0 = buildPolymorphicDictionary(this.options.domainProfile ?? _sboxResolve_60d2(58051 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 12169)), this.prng, _keyDerivationStateBitmask_dc9, this.options.customDictionary ?? []);
78
+ const _LlvmIrTransformerBitmask_c93 = this.prng.pick(_keyDerivationStateProof_5c0.legalInoculations);
79
+ const _tpmPcrBankIntegrity_bac = `${this.prng.nextUint32().toString(33228 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 19605)).padStart(49385 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 3496), '0')}-${this.prng.nextUint32().toString(43823 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 26230)).padStart(54984 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 7049), '0')}`;
80
+ const _MBASynthesizerIntegrity_585 = `${_LlvmIrTransformerBitmask_c93} [ATTESTATION_ID:${_tpmPcrBankIntegrity_bac}]`;
81
+ const _constructorAttestation_2e = (this.prng.nextUint32() & (25580 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 20826))).toString(41220 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 27741));
82
+ const _generateCryptoSeedSequence_795 = `${this.prng.pick(_keyDerivationStateProof_5c0.symbols)}_${_constructorAttestation_2e}`;
83
+ const _ProprietaryEnclaveDelta_76e = `${this.prng.pick(_keyDerivationStateProof_5c0.stateKeys)}_${_constructorAttestation_2e}`;
84
+ const _SoltrixStudiosDelta_521 = this.prng.nextUint32() & 2147483646 + ((__ringBufferEnvelope_60d2 & 255) - 73) | 64463 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 13959);
85
+ const _pcrPolicyBitmask_a52 = this.mba.computeStringKey(_MBASynthesizerIntegrity_585, _SoltrixStudiosDelta_521);
86
+ const _seedUsedProof_7ad = _pcrPolicyBitmask_a52 >>> (57209 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 4660)) & (43729 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 26519));
87
+ let _fnMatchRegexBitmask_37f = 57618 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 11355);
88
+ let _hashStringIntegrity_936 = 58510 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 10694);
89
+ const _hkdfSaltRotation_a86 = irCode.replace(/(define\s+[^@{]+@[a-zA-Z0-9_$.]+\s*\([^)]*\)[^{]*\{)([\s\S]*?)(\n\})/g, (_fullMatch, header, body, footer) => {
90
+ function evaluateStateKeyDerived_e21a(_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:cc0dae3a-f10c6ed9]",
92
92
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
93
93
  let _h = 2166136261;
94
94
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -106,19 +106,19 @@ export class LlvmIrTransformer {
106
106
  _h = (_h ^ _h >>> 16) >>> 0;
107
107
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
108
108
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
109
- if ((_h >>> 4 & 15) !== 1) {
110
- throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
109
+ if ((_h >>> 4 & 15) !== 3) {
110
+ throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
111
111
  }
112
112
  return _h;
113
113
  }
114
- const __sgxBoundarySequence_baff = assertRingBufferIntegrity_baff(1960324499, 1441183391, 1964418691, 2078705441);
115
- _ringBufferProof_587++;
116
- const _LlvmIrTransformerBitmask_786 = `%${_hmacFrameIntegrity_2bc}_k${_ringBufferProof_587}`;
117
- const _tpmPcrBankIntegrity_13d = body.match(/^(\s*[a-zA-Z0-9_$.]+:\s*\n)/);
118
- let _MBASynthesizerAttestation_744 = `\n ${_LlvmIrTransformerBitmask_786} = call i32 @${_pcrPolicyBitmask_4d3}(i32 ${_fnMatchRegexAttestation_431})\n`;
119
- const _stateKeyDerivedEnvelope_9d3 = 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 unsealTrim_7b64(_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:0724ee8e-87a1b0b4]",
114
+ const __hmacFrameProof_e21a = evaluateStateKeyDerived_e21a(2036038201, 1378167583, 1167636171, 1291213639);
115
+ _fnMatchRegexBitmask_37f++;
116
+ const _tpmPcrBankEnvelope_e9a = `%${_ProprietaryEnclaveDelta_76e}_k${_fnMatchRegexBitmask_37f}`;
117
+ const _tpmPcrBankIntegrity_833 = body.match(/^(\s*[a-zA-Z0-9_$.]+:\s*\n)/);
118
+ let _hkdfSaltRotation_d24 = `\n ${_tpmPcrBankEnvelope_e9a} = call i32 @${_generateCryptoSeedSequence_795}(i32 ${_SoltrixStudiosDelta_521})\n`;
119
+ const _enclaveDigestIntegrity_d20 = 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 verifySyferitEngineContext_d8ac(_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:d90bf982-e7e9fdee]",
122
122
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
123
123
  let _h = 2166136261;
124
124
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -136,160 +136,160 @@ export class LlvmIrTransformer {
136
136
  _h = (_h ^ _h >>> 16) >>> 0;
137
137
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
138
138
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
139
- if ((_h >>> 4 & 15) !== 9) {
140
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
139
+ if ((_h >>> 4 & 15) !== 5) {
140
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
141
141
  }
142
142
  return _h;
143
143
  }
144
- const __hmacFrameIntegrity_7b64 = unsealTrim_7b64(1155824453, 1102096841, 630620619, 2025953045);
145
- const _transformedCountSequence_edf = lhsRaw.trim();
146
- let _hashStringVector_c82 = rhsRaw.trim();
147
- const _enclaveDigestAttestation_2ac = _enclaveDigestAttestation_4db++;
148
- const _sgxBoundaryIntegrity_fe9 = [];
149
- if (/^-?\d+$/.test(_hashStringVector_c82)) {
150
- const literalVal = parseInt(_hashStringVector_c82, 62694 ^ (__hmacFrameProof_dcd6 & 65535 ^ 10518)) | 59540 ^ (__hmacFrameProof_dcd6 & 65535 ^ 13678);
151
- const mask = this.prng.nextUint32() & 2147483646 + ((__hmacFrameProof_dcd6 & 255) - 250) | 64858 ^ (__hmacFrameProof_dcd6 & 65535 ^ 8353);
152
- const c1 = literalVal ^ mask | 52870 ^ (__hmacFrameProof_dcd6 & 65535 ^ 4988);
153
- const c2 = mask ^ _trimEnvelope_f14 | 63706 ^ (__hmacFrameProof_dcd6 & 65535 ^ 9504);
154
- const tMask1 = `%_m_kxor_${_enclaveDigestAttestation_2ac}`;
155
- const tMask2 = `%_m_const_${_enclaveDigestAttestation_2ac}`;
156
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tMask1} = xor i32 ${_LlvmIrTransformerBitmask_786}, ${c2}`);
157
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tMask2} = xor i32 ${c1}, ${tMask1}`);
158
- _hashStringVector_c82 = tMask2;
144
+ const __hmacFrameBitmask_d8ac = verifySyferitEngineContext_d8ac(630122899, 1739493023, 1807823785, 1973390809);
145
+ const _seedUsedProof_2c6 = lhsRaw.trim();
146
+ let _entropyNonceSequence_e1c = rhsRaw.trim();
147
+ const _transformSequence_f71 = _hashStringIntegrity_936++;
148
+ const _pcrPolicyBitmask_3ea = [];
149
+ if (/^-?\d+$/.test(_entropyNonceSequence_e1c)) {
150
+ const literalVal = parseInt(_entropyNonceSequence_e1c, 64024 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 14171)) | 40645 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 21388);
151
+ const mask = this.prng.nextUint32() & 2147483646 + ((__ringBufferEnvelope_60d2 & 255) - 73) | 51792 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 1816);
152
+ const c1 = literalVal ^ mask | 50679 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 2238);
153
+ const c2 = mask ^ _pcrPolicyBitmask_a52 | 50242 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 2315);
154
+ const tMask1 = `%_m_kxor_${_transformSequence_f71}`;
155
+ const tMask2 = `%_m_const_${_transformSequence_f71}`;
156
+ _pcrPolicyBitmask_3ea.push(`${indent}${tMask1} = xor i32 ${_tpmPcrBankEnvelope_e9a}, ${c2}`);
157
+ _pcrPolicyBitmask_3ea.push(`${indent}${tMask2} = xor i32 ${c1}, ${tMask1}`);
158
+ _entropyNonceSequence_e1c = tMask2;
159
159
  }
160
- if (op === _sboxResolve_dcd6(56880 ^ (__hmacFrameProof_dcd6 & 65535 ^ 974)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 50 | 1, ((irCode.seats || irCode | 0) | 0) ^ 50 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 50 | 1, ((irCode.seats || irCode | 0) | 0) ^ 50 | 1)) & 15 ^ (__hmacFrameProof_dcd6 >>> 11 & 255 ^ 56)) === 232) {
161
- const tXor = `%_m_axor_${_enclaveDigestAttestation_2ac}`;
162
- const tAnd = `%_m_aand_${_enclaveDigestAttestation_2ac}`;
163
- const tShl = `%_m_ashl_${_enclaveDigestAttestation_2ac}`;
164
- const tBase = `%_m_abase_${_enclaveDigestAttestation_2ac}`;
165
- const tU0 = `%_m_u0_${_enclaveDigestAttestation_2ac}`;
166
- const tU1 = `%_m_u1_${_enclaveDigestAttestation_2ac}`;
167
- const tU2 = `%_m_u2_${_enclaveDigestAttestation_2ac}`;
168
- const tU4 = `%_m_u4_${_enclaveDigestAttestation_2ac}`;
169
- const tQ1 = `%_m_q1_${_enclaveDigestAttestation_2ac}`;
170
- const tKOne1 = `%_m_ko1_${_enclaveDigestAttestation_2ac}`;
171
- const tKOne2 = `%_m_ko2_${_enclaveDigestAttestation_2ac}`;
172
- const tZero = `%_m_zinv_${_enclaveDigestAttestation_2ac}`;
173
- const oneMask = this.prng.nextUint32() & (57308 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535) | (56696 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535);
174
- const oneC1 = (56696 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535) ^ oneMask | (57228 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535);
175
- const oneC2 = oneMask ^ _trimEnvelope_f14 | (57228 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535);
176
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tXor} = xor i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
177
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tAnd} = and i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
178
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
179
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
180
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU0} = xor i32 ${_transformedCountSequence_edf}, ${_LlvmIrTransformerBitmask_786}`);
181
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
182
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
183
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
184
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
185
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tKOne1} = xor i32 ${_LlvmIrTransformerBitmask_786}, ${oneC2}`);
186
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
187
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
188
- _sgxBoundaryIntegrity_fe9.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
189
- return _sgxBoundaryIntegrity_fe9.join('\n');
190
- } else if (op === _sboxResolve_dcd6(42924 ^ (__hmacFrameProof_dcd6 & 65535 ^ 31315)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 41 | 1, ((irCode.seats || irCode | 0) | 0) ^ 41 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 41 | 1, ((irCode.seats || irCode | 0) | 0) ^ 41 | 1)) & 15 ^ (__hmacFrameProof_dcd6 >>> 15 & 255 ^ 191)) === 83) {
191
- const tXor = `%_m_axor_${_enclaveDigestAttestation_2ac}`;
192
- const tAnd = `%_m_aand_${_enclaveDigestAttestation_2ac}`;
193
- const tShl = `%_m_ashl_${_enclaveDigestAttestation_2ac}`;
194
- const tBase = `%_m_abase_${_enclaveDigestAttestation_2ac}`;
195
- const tU0 = `%_m_u0_${_enclaveDigestAttestation_2ac}`;
196
- const tU1 = `%_m_u1_${_enclaveDigestAttestation_2ac}`;
197
- const tU2 = `%_m_u2_${_enclaveDigestAttestation_2ac}`;
198
- const tU4 = `%_m_u4_${_enclaveDigestAttestation_2ac}`;
199
- const tQ1 = `%_m_q1_${_enclaveDigestAttestation_2ac}`;
200
- const tKOne1 = `%_m_ko1_${_enclaveDigestAttestation_2ac}`;
201
- const tKOne2 = `%_m_ko2_${_enclaveDigestAttestation_2ac}`;
202
- const tZero = `%_m_zinv_${_enclaveDigestAttestation_2ac}`;
203
- const oneMask = this.prng.nextUint32() & 2147483646 + ((__hmacFrameProof_dcd6 & 255) - 250) | 48102 ^ (__hmacFrameProof_dcd6 & 65535 ^ 26141);
204
- const oneC1 = 41391 ^ (__hmacFrameProof_dcd6 & 65535 ^ 31828) ^ oneMask | 33870 ^ (__hmacFrameProof_dcd6 & 65535 ^ 22964);
205
- const oneC2 = oneMask ^ _trimEnvelope_f14 | 38111 ^ (__hmacFrameProof_dcd6 & 65535 ^ 18725);
206
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tXor} = xor i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
207
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tAnd} = and i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
208
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
209
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
210
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU0} = xor i32 ${_transformedCountSequence_edf}, ${_LlvmIrTransformerBitmask_786}`);
211
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
212
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
213
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
214
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
215
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tKOne1} = xor i32 ${_LlvmIrTransformerBitmask_786}, ${oneC2}`);
216
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
217
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
218
- _sgxBoundaryIntegrity_fe9.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
219
- return _sgxBoundaryIntegrity_fe9.join('\n');
220
- } else if (op === _sboxResolve_dcd6(62777 ^ (__hmacFrameProof_dcd6 & 65535 ^ 10437)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 30 | 1, ((irCode.seats || irCode | 0) | 0) ^ 30 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 30 | 1, ((irCode.seats || irCode | 0) | 0) ^ 30 | 1)) & 15 ^ (__hmacFrameProof_dcd6 >>> 9 & 255 ^ 22)) === 127) {
221
- const tXor = `%_m_axor_${_enclaveDigestAttestation_2ac}`;
222
- const tAnd = `%_m_aand_${_enclaveDigestAttestation_2ac}`;
223
- const tShl = `%_m_ashl_${_enclaveDigestAttestation_2ac}`;
224
- const tBase = `%_m_abase_${_enclaveDigestAttestation_2ac}`;
225
- const tU0 = `%_m_u0_${_enclaveDigestAttestation_2ac}`;
226
- const tU1 = `%_m_u1_${_enclaveDigestAttestation_2ac}`;
227
- const tU2 = `%_m_u2_${_enclaveDigestAttestation_2ac}`;
228
- const tU4 = `%_m_u4_${_enclaveDigestAttestation_2ac}`;
229
- const tQ1 = `%_m_q1_${_enclaveDigestAttestation_2ac}`;
230
- const tKOne1 = `%_m_ko1_${_enclaveDigestAttestation_2ac}`;
231
- const tKOne2 = `%_m_ko2_${_enclaveDigestAttestation_2ac}`;
232
- const tZero = `%_m_zinv_${_enclaveDigestAttestation_2ac}`;
233
- const oneMask = this.prng.nextUint32() & (57228 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535) | (56456 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535);
234
- const oneC1 = (56682 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535) ^ oneMask | (57228 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535);
235
- const oneC2 = oneMask ^ _trimEnvelope_f14 | (56696 ^ __hmacFrameProof_dcd6 & 65535) / (16446 ^ __hmacFrameProof_dcd6 >>> 16 & 65535);
236
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tXor} = xor i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
237
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tAnd} = and i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
238
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
239
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
240
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU0} = xor i32 ${_transformedCountSequence_edf}, ${_LlvmIrTransformerBitmask_786}`);
241
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
242
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
243
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
244
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
245
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tKOne1} = xor i32 ${_LlvmIrTransformerBitmask_786}, ${oneC2}`);
246
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
247
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
248
- _sgxBoundaryIntegrity_fe9.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
249
- return _sgxBoundaryIntegrity_fe9.join('\n');
160
+ if (op === _sboxResolve_60d2(51350 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 1499)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 80 | 1, ((irCode.seats || irCode | 0) | 0) ^ 80 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 80 | 1, ((irCode.seats || irCode | 0) | 0) ^ 80 | 1)) & 15 ^ (__ringBufferEnvelope_60d2 >>> 4 & 255 ^ 94)) === 137) {
161
+ const tXor = `%_m_axor_${_transformSequence_f71}`;
162
+ const tAnd = `%_m_aand_${_transformSequence_f71}`;
163
+ const tShl = `%_m_ashl_${_transformSequence_f71}`;
164
+ const tBase = `%_m_abase_${_transformSequence_f71}`;
165
+ const tU0 = `%_m_u0_${_transformSequence_f71}`;
166
+ const tU1 = `%_m_u1_${_transformSequence_f71}`;
167
+ const tU2 = `%_m_u2_${_transformSequence_f71}`;
168
+ const tU4 = `%_m_u4_${_transformSequence_f71}`;
169
+ const tQ1 = `%_m_q1_${_transformSequence_f71}`;
170
+ const tKOne1 = `%_m_ko1_${_transformSequence_f71}`;
171
+ const tKOne2 = `%_m_ko2_${_transformSequence_f71}`;
172
+ const tZero = `%_m_zinv_${_transformSequence_f71}`;
173
+ const oneMask = this.prng.nextUint32() & (52283 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535) | (52283 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535);
174
+ const oneC1 = (53055 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535) ^ oneMask | (52283 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535);
175
+ const oneC2 = oneMask ^ _pcrPolicyBitmask_a52 | (52283 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535);
176
+ _pcrPolicyBitmask_3ea.push(`${indent}${tXor} = xor i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
177
+ _pcrPolicyBitmask_3ea.push(`${indent}${tAnd} = and i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
178
+ _pcrPolicyBitmask_3ea.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
179
+ _pcrPolicyBitmask_3ea.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
180
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU0} = xor i32 ${_seedUsedProof_2c6}, ${_tpmPcrBankEnvelope_e9a}`);
181
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
182
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
183
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
184
+ _pcrPolicyBitmask_3ea.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
185
+ _pcrPolicyBitmask_3ea.push(`${indent}${tKOne1} = xor i32 ${_tpmPcrBankEnvelope_e9a}, ${oneC2}`);
186
+ _pcrPolicyBitmask_3ea.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
187
+ _pcrPolicyBitmask_3ea.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
188
+ _pcrPolicyBitmask_3ea.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
189
+ return _pcrPolicyBitmask_3ea.join('\n');
190
+ } else if (op === _sboxResolve_60d2(49199 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 3427)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 63 | 1, ((irCode.seats || irCode | 0) | 0) ^ 63 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 63 | 1, ((irCode.seats || irCode | 0) | 0) ^ 63 | 1)) & 15 ^ (__ringBufferEnvelope_60d2 >>> 18 & 255 ^ 61)) === 89) {
191
+ const tXor = `%_m_axor_${_transformSequence_f71}`;
192
+ const tAnd = `%_m_aand_${_transformSequence_f71}`;
193
+ const tShl = `%_m_ashl_${_transformSequence_f71}`;
194
+ const tBase = `%_m_abase_${_transformSequence_f71}`;
195
+ const tU0 = `%_m_u0_${_transformSequence_f71}`;
196
+ const tU1 = `%_m_u1_${_transformSequence_f71}`;
197
+ const tU2 = `%_m_u2_${_transformSequence_f71}`;
198
+ const tU4 = `%_m_u4_${_transformSequence_f71}`;
199
+ const tQ1 = `%_m_q1_${_transformSequence_f71}`;
200
+ const tKOne1 = `%_m_ko1_${_transformSequence_f71}`;
201
+ const tKOne2 = `%_m_ko2_${_transformSequence_f71}`;
202
+ const tZero = `%_m_zinv_${_transformSequence_f71}`;
203
+ const oneMask = this.prng.nextUint32() & 2147483646 + ((__ringBufferEnvelope_60d2 & 255) - 73) | 35754 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 18146);
204
+ const oneC1 = 33499 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 20371) ^ oneMask | 63651 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 13802);
205
+ const oneC2 = oneMask ^ _pcrPolicyBitmask_a52 | 65426 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 13019);
206
+ _pcrPolicyBitmask_3ea.push(`${indent}${tXor} = xor i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
207
+ _pcrPolicyBitmask_3ea.push(`${indent}${tAnd} = and i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
208
+ _pcrPolicyBitmask_3ea.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
209
+ _pcrPolicyBitmask_3ea.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
210
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU0} = xor i32 ${_seedUsedProof_2c6}, ${_tpmPcrBankEnvelope_e9a}`);
211
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
212
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
213
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
214
+ _pcrPolicyBitmask_3ea.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
215
+ _pcrPolicyBitmask_3ea.push(`${indent}${tKOne1} = xor i32 ${_tpmPcrBankEnvelope_e9a}, ${oneC2}`);
216
+ _pcrPolicyBitmask_3ea.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
217
+ _pcrPolicyBitmask_3ea.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
218
+ _pcrPolicyBitmask_3ea.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
219
+ return _pcrPolicyBitmask_3ea.join('\n');
220
+ } else if (op === _sboxResolve_60d2(63953 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 13470)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 97 | 1, ((irCode.seats || irCode | 0) | 0) ^ 97 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 97 | 1, ((irCode.seats || irCode | 0) | 0) ^ 97 | 1)) & 15 ^ (__ringBufferEnvelope_60d2 >>> 4 & 255 ^ 90)) === 139) {
221
+ const tXor = `%_m_axor_${_transformSequence_f71}`;
222
+ const tAnd = `%_m_aand_${_transformSequence_f71}`;
223
+ const tShl = `%_m_ashl_${_transformSequence_f71}`;
224
+ const tBase = `%_m_abase_${_transformSequence_f71}`;
225
+ const tU0 = `%_m_u0_${_transformSequence_f71}`;
226
+ const tU1 = `%_m_u1_${_transformSequence_f71}`;
227
+ const tU2 = `%_m_u2_${_transformSequence_f71}`;
228
+ const tU4 = `%_m_u4_${_transformSequence_f71}`;
229
+ const tQ1 = `%_m_q1_${_transformSequence_f71}`;
230
+ const tKOne1 = `%_m_ko1_${_transformSequence_f71}`;
231
+ const tKOne2 = `%_m_ko2_${_transformSequence_f71}`;
232
+ const tZero = `%_m_zinv_${_transformSequence_f71}`;
233
+ const oneMask = this.prng.nextUint32() & (53055 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535) | (52283 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535);
234
+ const oneC1 = (53055 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535) ^ oneMask | (52697 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535);
235
+ const oneC2 = oneMask ^ _pcrPolicyBitmask_a52 | (53055 ^ __ringBufferEnvelope_60d2 & 65535) / (20829 ^ __ringBufferEnvelope_60d2 >>> 16 & 65535);
236
+ _pcrPolicyBitmask_3ea.push(`${indent}${tXor} = xor i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
237
+ _pcrPolicyBitmask_3ea.push(`${indent}${tAnd} = and i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
238
+ _pcrPolicyBitmask_3ea.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
239
+ _pcrPolicyBitmask_3ea.push(`${indent}${tBase} = add i32 ${tXor}, ${tShl}`);
240
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU0} = xor i32 ${_seedUsedProof_2c6}, ${_tpmPcrBankEnvelope_e9a}`);
241
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU1} = or i32 ${tU0}, 1`);
242
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU2} = mul i32 ${tU1}, ${tU1}`);
243
+ _pcrPolicyBitmask_3ea.push(`${indent}${tU4} = mul i32 ${tU2}, ${tU2}`);
244
+ _pcrPolicyBitmask_3ea.push(`${indent}${tQ1} = and i32 ${tU4}, 15`);
245
+ _pcrPolicyBitmask_3ea.push(`${indent}${tKOne1} = xor i32 ${_tpmPcrBankEnvelope_e9a}, ${oneC2}`);
246
+ _pcrPolicyBitmask_3ea.push(`${indent}${tKOne2} = xor i32 ${oneC1}, ${tKOne1}`);
247
+ _pcrPolicyBitmask_3ea.push(`${indent}${tZero} = xor i32 ${tQ1}, ${tKOne2}`);
248
+ _pcrPolicyBitmask_3ea.push(`${indent}${destReg} = add i32 ${tBase}, ${tZero}`);
249
+ return _pcrPolicyBitmask_3ea.join('\n');
250
250
  }
251
- if (op === _sboxResolve_dcd6(35519 ^ (__hmacFrameProof_dcd6 & 65535 ^ 22338)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 59 | 1, ((irCode.seats || irCode | 0) | 0) ^ 59 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 59 | 1, ((irCode.seats || irCode | 0) | 0) ^ 59 | 1)) & 15 ^ (__hmacFrameProof_dcd6 >>> 12 & 255 ^ 39)) === 77) {
252
- const tXor = `%_m_sxor_${_enclaveDigestAttestation_2ac}`;
253
- const tNot = `%_m_snot_${_enclaveDigestAttestation_2ac}`;
254
- const tAnd = `%_m_sand_${_enclaveDigestAttestation_2ac}`;
255
- const tShl = `%_m_sshl_${_enclaveDigestAttestation_2ac}`;
256
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tXor} = xor i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
257
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tNot} = xor i32 ${_transformedCountSequence_edf}, -1`);
258
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tAnd} = and i32 ${tNot}, ${_hashStringVector_c82}`);
259
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
260
- _sgxBoundaryIntegrity_fe9.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
261
- return _sgxBoundaryIntegrity_fe9.join('\n');
262
- } else if (op === _sboxResolve_dcd6(50072 ^ (__hmacFrameProof_dcd6 & 65535 ^ 7786)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 27 | 1, ((irCode.seats || irCode | 0) | 0) ^ 27 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 27 | 1, ((irCode.seats || irCode | 0) | 0) ^ 27 | 1)) & 15 ^ (__hmacFrameProof_dcd6 >>> 19 & 255 ^ 72)) === 87) {
263
- const tXor = `%_m_sxor_${_enclaveDigestAttestation_2ac}`;
264
- const tNot = `%_m_snot_${_enclaveDigestAttestation_2ac}`;
265
- const tAnd = `%_m_sand_${_enclaveDigestAttestation_2ac}`;
266
- const tShl = `%_m_sshl_${_enclaveDigestAttestation_2ac}`;
267
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tXor} = xor i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
268
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tNot} = xor i32 ${_transformedCountSequence_edf}, -1`);
269
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tAnd} = and i32 ${tNot}, ${_hashStringVector_c82}`);
270
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
271
- _sgxBoundaryIntegrity_fe9.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
272
- return _sgxBoundaryIntegrity_fe9.join('\n');
273
- } else if (op === _sboxResolve_dcd6(51698 ^ (__hmacFrameProof_dcd6 & 65535 ^ 5121)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 87 | 1, ((irCode.seats || irCode | 0) | 0) ^ 87 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 87 | 1, ((irCode.seats || irCode | 0) | 0) ^ 87 | 1)) & 15 ^ (__hmacFrameProof_dcd6 >>> 24 & 255 ^ 216)) === 155) {
274
- const tXor = `%_m_sxor_${_enclaveDigestAttestation_2ac}`;
275
- const tNot = `%_m_snot_${_enclaveDigestAttestation_2ac}`;
276
- const tAnd = `%_m_sand_${_enclaveDigestAttestation_2ac}`;
277
- const tShl = `%_m_sshl_${_enclaveDigestAttestation_2ac}`;
278
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tXor} = xor i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
279
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tNot} = xor i32 ${_transformedCountSequence_edf}, -1`);
280
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tAnd} = and i32 ${tNot}, ${_hashStringVector_c82}`);
281
- _sgxBoundaryIntegrity_fe9.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
282
- _sgxBoundaryIntegrity_fe9.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
283
- return _sgxBoundaryIntegrity_fe9.join('\n');
251
+ if (op === _sboxResolve_60d2(51727 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 1857)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 45 | 1, ((irCode.seats || irCode | 0) | 0) ^ 45 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 45 | 1, ((irCode.seats || irCode | 0) | 0) ^ 45 | 1)) & 15 ^ (__ringBufferEnvelope_60d2 >>> 10 & 255 ^ 153)) === 233) {
252
+ const tXor = `%_m_sxor_${_transformSequence_f71}`;
253
+ const tNot = `%_m_snot_${_transformSequence_f71}`;
254
+ const tAnd = `%_m_sand_${_transformSequence_f71}`;
255
+ const tShl = `%_m_sshl_${_transformSequence_f71}`;
256
+ _pcrPolicyBitmask_3ea.push(`${indent}${tXor} = xor i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
257
+ _pcrPolicyBitmask_3ea.push(`${indent}${tNot} = xor i32 ${_seedUsedProof_2c6}, -1`);
258
+ _pcrPolicyBitmask_3ea.push(`${indent}${tAnd} = and i32 ${tNot}, ${_entropyNonceSequence_e1c}`);
259
+ _pcrPolicyBitmask_3ea.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
260
+ _pcrPolicyBitmask_3ea.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
261
+ return _pcrPolicyBitmask_3ea.join('\n');
262
+ } else if (op === _sboxResolve_60d2(50721 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 2912)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 84 | 1, ((irCode.seats || irCode | 0) | 0) ^ 84 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 84 | 1, ((irCode.seats || irCode | 0) | 0) ^ 84 | 1)) & 15 ^ (__ringBufferEnvelope_60d2 >>> 15 & 255 ^ 151)) === 189) {
263
+ const tXor = `%_m_sxor_${_transformSequence_f71}`;
264
+ const tNot = `%_m_snot_${_transformSequence_f71}`;
265
+ const tAnd = `%_m_sand_${_transformSequence_f71}`;
266
+ const tShl = `%_m_sshl_${_transformSequence_f71}`;
267
+ _pcrPolicyBitmask_3ea.push(`${indent}${tXor} = xor i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
268
+ _pcrPolicyBitmask_3ea.push(`${indent}${tNot} = xor i32 ${_seedUsedProof_2c6}, -1`);
269
+ _pcrPolicyBitmask_3ea.push(`${indent}${tAnd} = and i32 ${tNot}, ${_entropyNonceSequence_e1c}`);
270
+ _pcrPolicyBitmask_3ea.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
271
+ _pcrPolicyBitmask_3ea.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
272
+ return _pcrPolicyBitmask_3ea.join('\n');
273
+ } else if (op === _sboxResolve_60d2(50415 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 2479)) && (Math.imul(Math.imul(((irCode.seats || irCode | 0) | 0) ^ 47 | 1, ((irCode.seats || irCode | 0) | 0) ^ 47 | 1), Math.imul(((irCode.seats || irCode | 0) | 0) ^ 47 | 1, ((irCode.seats || irCode | 0) | 0) ^ 47 | 1)) & 15 ^ (__ringBufferEnvelope_60d2 >>> 19 & 255 ^ 65)) === 124) {
274
+ const tXor = `%_m_sxor_${_transformSequence_f71}`;
275
+ const tNot = `%_m_snot_${_transformSequence_f71}`;
276
+ const tAnd = `%_m_sand_${_transformSequence_f71}`;
277
+ const tShl = `%_m_sshl_${_transformSequence_f71}`;
278
+ _pcrPolicyBitmask_3ea.push(`${indent}${tXor} = xor i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
279
+ _pcrPolicyBitmask_3ea.push(`${indent}${tNot} = xor i32 ${_seedUsedProof_2c6}, -1`);
280
+ _pcrPolicyBitmask_3ea.push(`${indent}${tAnd} = and i32 ${tNot}, ${_entropyNonceSequence_e1c}`);
281
+ _pcrPolicyBitmask_3ea.push(`${indent}${tShl} = shl i32 ${tAnd}, 1`);
282
+ _pcrPolicyBitmask_3ea.push(`${indent}${destReg} = sub i32 ${tXor}, ${tShl}`);
283
+ return _pcrPolicyBitmask_3ea.join('\n');
284
284
  }
285
- const _MBASynthesizerAttestation_34b = `%_m_xor_or_${_enclaveDigestAttestation_2ac}`;
286
- const _stateKeyDerivedEnvelope_f7 = `%_m_xor_and_${_enclaveDigestAttestation_2ac}`;
287
- _sgxBoundaryIntegrity_fe9.push(`${indent}${_MBASynthesizerAttestation_34b} = or i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
288
- _sgxBoundaryIntegrity_fe9.push(`${indent}${_stateKeyDerivedEnvelope_f7} = and i32 ${_transformedCountSequence_edf}, ${_hashStringVector_c82}`);
289
- _sgxBoundaryIntegrity_fe9.push(`${indent}${destReg} = sub i32 ${_MBASynthesizerAttestation_34b}, ${_stateKeyDerivedEnvelope_f7}`);
290
- return (__hmacFrameIntegrity_7b64 & 255) === 155 ? _sgxBoundaryIntegrity_fe9.join('\n') : (() => {
291
- function unsealSgxBoundarySequence_44fb(_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:115a89da-9832584c]",
285
+ const _generateCryptoSeedSequence_cd6 = `%_m_xor_or_${_transformSequence_f71}`;
286
+ const _prngAttestation_471 = `%_m_xor_and_${_transformSequence_f71}`;
287
+ _pcrPolicyBitmask_3ea.push(`${indent}${_generateCryptoSeedSequence_cd6} = or i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
288
+ _pcrPolicyBitmask_3ea.push(`${indent}${_prngAttestation_471} = and i32 ${_seedUsedProof_2c6}, ${_entropyNonceSequence_e1c}`);
289
+ _pcrPolicyBitmask_3ea.push(`${indent}${destReg} = sub i32 ${_generateCryptoSeedSequence_cd6}, ${_prngAttestation_471}`);
290
+ return (__hmacFrameBitmask_d8ac & 255) === 81 ? _pcrPolicyBitmask_3ea.join('\n') : (() => {
291
+ function attestOptions_754b(_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:20031e9f-d2038a3e]",
293
293
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
294
294
  let _h = 2166136261;
295
295
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -307,26 +307,26 @@ export class LlvmIrTransformer {
307
307
  _h = (_h ^ _h >>> 16) >>> 0;
308
308
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
309
309
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
310
- if ((_h >>> 4 & 15) !== 4) {
310
+ if ((_h >>> 4 & 15) !== 12) {
311
311
  throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
312
312
  }
313
313
  return _h;
314
314
  }
315
- const __hmacFrameProof_44fb = unsealSgxBoundarySequence_44fb(1422272233, 873340577, 77904757, 1181195617);
316
- if ((__hmacFrameProof_44fb & 255) !== 70) {
315
+ const __hmacFrameEnvelope_754b = attestOptions_754b(840437631, 1493001221, 1963218793, 512139989);
316
+ if ((__hmacFrameEnvelope_754b & 255) !== 198) {
317
317
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
318
318
  }
319
319
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
320
320
  })();
321
321
  });
322
- if (_tpmPcrBankIntegrity_13d) {
323
- const labelPart = _tpmPcrBankIntegrity_13d[62467 ^ (__hmacFrameProof_dcd6 & 65535 ^ 10744)];
324
- const rest = _stateKeyDerivedEnvelope_9d3.slice(labelPart.length);
325
- return `${header}${labelPart}${_MBASynthesizerAttestation_744}${rest}${footer}`;
322
+ if (_tpmPcrBankIntegrity_833) {
323
+ const labelPart = _tpmPcrBankIntegrity_833[34378 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 19202)];
324
+ const rest = _enclaveDigestIntegrity_d20.slice(labelPart.length);
325
+ return `${header}${labelPart}${_hkdfSaltRotation_d24}${rest}${footer}`;
326
326
  }
327
- return (__sgxBoundarySequence_baff & 255) === 22 ? `${header}${_MBASynthesizerAttestation_744}${_stateKeyDerivedEnvelope_9d3}${footer}` : (() => {
328
- function evaluateSgxBoundaryIntegrity_3ced(_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:9c04968c-14b3123c]",
327
+ return (__hmacFrameProof_e21a & 255) === 55 ? `${header}${_hkdfSaltRotation_d24}${_enclaveDigestIntegrity_d20}${footer}` : (() => {
328
+ function rotateHarvested_5341(_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:28164622-33f74572]",
330
330
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
331
331
  let _h = 2166136261;
332
332
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -344,43 +344,43 @@ export class LlvmIrTransformer {
344
344
  _h = (_h ^ _h >>> 16) >>> 0;
345
345
  if ((_h & 65535) === 0) _h = (_h | 4919) >>> 0;
346
346
  if ((_h >>> 16 & 65535) === 0) _h = (_h | 1932591104) >>> 0;
347
- if ((_h >>> 4 & 15) !== 12) {
348
- throw new Error("ASSERTION_INVARIANT: Ring buffer HMAC monotonic counter mismatch");
347
+ if ((_h >>> 4 & 15) !== 10) {
348
+ throw new Error("ASSERTION_INVARIANT: Enclave boundary attestation failed cryptographic handshake");
349
349
  }
350
350
  return _h;
351
351
  }
352
- const __hmacFrameIntegrity_3ced = evaluateSgxBoundaryIntegrity_3ced(1130109267, 1738546579, 274041233, 30155887);
353
- if ((__hmacFrameIntegrity_3ced & 255) !== 206) {
352
+ const __enclaveBoundaryCheck_5341 = rotateHarvested_5341(1777057355, 527157793, 1175959701, 1509412737);
353
+ if ((__enclaveBoundaryCheck_5341 & 255) !== 163) {
354
354
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
355
355
  }
356
356
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");
357
357
  })();
358
358
  });
359
- if (_ringBufferProof_587 === (42370 ^ (__hmacFrameProof_dcd6 & 65535 ^ 30840))) {
359
+ if (_fnMatchRegexBitmask_37f === (50810 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 2867))) {
360
360
  return {
361
361
  code: irCode,
362
- transformedCount: 44272 ^ (__hmacFrameProof_dcd6 & 65535 ^ 28938),
362
+ transformedCount: 33612 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 19973),
363
363
  seedUsed: this.seed,
364
364
  inoculationInjected: false,
365
- stateKeyDerived: 40023 ^ (__hmacFrameProof_dcd6 & 65535 ^ 16813)
365
+ stateKeyDerived: 38751 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 23062)
366
366
  };
367
367
  }
368
- const _SeededPRNGAttestation_5d7 = Buffer.from(_codeVector_3ee, _sboxResolve_dcd6(64860 ^ (__hmacFrameProof_dcd6 & 65535 ^ 8364)));
369
- const _sgxBoundarySequence_f2 = _SeededPRNGAttestation_5d7.length + (39125 ^ (__hmacFrameProof_dcd6 & 65535 ^ 17710));
370
- const _prngEnvelope_eeb = _codeVector_3ee.replace(/\\/g, '\\\\').replace(/"/g, _sboxResolve_dcd6(32797 ^ (__hmacFrameProof_dcd6 & 65535 ^ 24044)));
371
- const _SyferitEngineDelta_aa7 = 1511516595 + ((__hmacFrameProof_dcd6 & 255) - 250);
372
- const _enclaveDigestVector_dfd = _fnMatchRegexAttestation_431 ^ _SyferitEngineDelta_aa7 | 34244 ^ (__hmacFrameProof_dcd6 & 65535 ^ 22590);
373
- const _LlvmIrTransformerBitmask_762 = (_trimEnvelope_f14 | 57869 ^ (__hmacFrameProof_dcd6 & 65535 ^ 16375)) - _enclaveDigestVector_dfd | 54885 ^ (__hmacFrameProof_dcd6 & 65535 ^ 2975);
374
- const _transformedCountSequence_21b = [`; [Syferit Adversarial LLVM IR Protection Engine v0.4.0]`, `@.syferit.legal.attestation_${_modeBitmask_2c5} = private unnamed_addr constant [${_sgxBoundarySequence_f2} x i8] c"${_prngEnvelope_eeb}\\00", align 1`, `@llvm.compiler.used = appending global [1 x ptr] [ptr @.syferit.legal.attestation_${_modeBitmask_2c5}], section "llvm.metadata"`, ``, `declare void @llvm.trap() #0`, ``, `define internal i32 @${_pcrPolicyBitmask_4d3}(i32 %_tok) noinline optnone {`, `entry:`, ` %_att_byte = load volatile i8, ptr @.syferit.legal.attestation_${_modeBitmask_2c5}, align 1`, ` %_att_valid = icmp ne i8 %_att_byte, 0`, ` %_x0 = xor i32 %_tok, ${_SyferitEngineDelta_aa7}`, ` %_key = add i32 %_x0, ${_LlvmIrTransformerBitmask_762}`, ` %_shr = lshr i32 %_key, 4`, ` %_nib = and i32 %_shr, 15`, ` %_nib_ok = icmp eq i32 %_nib, ${_hmacFrameProof_dbd}`, ` %_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 (__hmacFrameProof_dcd6 & 255) === 250 ? {
376
- code: `${_transformedCountSequence_21b}\n${_keyDerivationStateAttestation_593}`,
377
- transformedCount: _ringBufferProof_587,
368
+ const _monotonicNonceDrift_e3e = Buffer.from(_MBASynthesizerIntegrity_585, _sboxResolve_60d2(62897 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 14578)));
369
+ const _seedAttestation_6a = _monotonicNonceDrift_e3e.length + (40339 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 20699));
370
+ const _ringBufferEnvelope_f66 = _MBASynthesizerIntegrity_585.replace(/\\/g, '\\\\').replace(/"/g, _sboxResolve_60d2(47449 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 29723)));
371
+ const _hmacFrameBitmask_4e5 = 1511516595 + ((__ringBufferEnvelope_60d2 & 255) - 73);
372
+ const _stateKeyDerivedBitmask_7e0 = _SoltrixStudiosDelta_521 ^ _hmacFrameBitmask_4e5 | 61622 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 15871);
373
+ const _hmacFrameEnvelope_7dc = (_pcrPolicyBitmask_a52 | 35964 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 16693)) - _stateKeyDerivedBitmask_7e0 | 47211 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 29986);
374
+ const _tpmPcrBankEnvelope_a19 = [`; [Syferit Adversarial LLVM IR Protection Engine v0.4.0]`, `@.syferit.legal.attestation_${_constructorAttestation_2e} = private unnamed_addr constant [${_seedAttestation_6a} x i8] c"${_ringBufferEnvelope_f66}\\00", align 1`, `@llvm.compiler.used = appending global [1 x ptr] [ptr @.syferit.legal.attestation_${_constructorAttestation_2e}], section "llvm.metadata"`, ``, `declare void @llvm.trap() #0`, ``, `define internal i32 @${_generateCryptoSeedSequence_795}(i32 %_tok) noinline optnone {`, `entry:`, ` %_att_byte = load volatile i8, ptr @.syferit.legal.attestation_${_constructorAttestation_2e}, align 1`, ` %_att_valid = icmp ne i8 %_att_byte, 0`, ` %_x0 = xor i32 %_tok, ${_hmacFrameBitmask_4e5}`, ` %_key = add i32 %_x0, ${_hmacFrameEnvelope_7dc}`, ` %_shr = lshr i32 %_key, 4`, ` %_nib = and i32 %_shr, 15`, ` %_nib_ok = icmp eq i32 %_nib, ${_seedUsedProof_7ad}`, ` %_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 (__ringBufferEnvelope_60d2 & 255) === 73 ? {
376
+ code: `${_tpmPcrBankEnvelope_a19}\n${_hkdfSaltRotation_a86}`,
377
+ transformedCount: _fnMatchRegexBitmask_37f,
378
378
  seedUsed: this.seed,
379
379
  inoculationInjected: true,
380
- stateKeyDerived: _trimEnvelope_f14 >>> (65289 ^ (__hmacFrameProof_dcd6 & 65535 ^ 8947))
380
+ stateKeyDerived: _pcrPolicyBitmask_a52 >>> (46849 ^ (__ringBufferEnvelope_60d2 & 65535 ^ 31304))
381
381
  } : (() => {
382
- function evaluateEnclaveDigestAttestation_f516(_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:f1f733f6-05b610d9]",
382
+ function rotateRingBufferBitmask_4f8e(_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:c52ee01d-e5ea10cb]",
384
384
  _tokVec = [_tok0, _tok1, _tok2, _tok3];
385
385
  let _h = 2166136261;
386
386
  for (let _s = 0; _s < _tokVec.length; _s++) {
@@ -403,8 +403,8 @@ export class LlvmIrTransformer {
403
403
  }
404
404
  return _h;
405
405
  }
406
- const __sgxBoundaryVector_f516 = evaluateEnclaveDigestAttestation_f516(2111861793, 298689775, 1228094141, 399770833);
407
- if ((__sgxBoundaryVector_f516 & 255) !== 102) {
406
+ const __ringBufferBitmask_4f8e = rotateRingBufferBitmask_4f8e(739905833, 1856896621, 1701367777, 2080169809);
407
+ if ((__ringBufferBitmask_4f8e & 255) !== 106) {
408
408
  throw new Error("INVARIANT_SYNC_ERR: State quorum failure");
409
409
  }
410
410
  throw new Error("CRITICAL_STATE_FAULT: Memory integrity frame violation");