{
  "id": "2026/362",
  "url": "https://opencryptology.org/2026/362",
  "original_url": "https://eprint.iacr.org/2026/362",
  "title": "Janus-FHE: Reducing Microarchitectural Leakage in GPU-Based Homomorphic Encryption",
  "authors": [
    "Kashfia Farheen",
    "Nektarios Georgios Tsoutsos"
  ],
  "affiliations": null,
  "abstract": "Homomorphic Encryption (HE) enables secure cloud computing through computations on encrypted data, but the physical execution of HE workloads on shared GPUs can still expose relevant metadata through microarchitectural behavior. We present a case study of BFV relinearization in HEonGPU, a state-of-the-art GPU HE library, and show that repeated executions exhibit structured, reproducible variation in shared-L2 activity across relinearization-key contexts. Our analysis further shows that the regular control-flow structure observed in the optimized HEonGPU binary is compiler-dependent rather than enforced by the source implementation. Together, these observations motivate an HE design in which execution regularity is established explicitly rather than obtained as a consequence of compilation.\n\nWe present JANUS-FHE, a GPU framework for BFV multiplication and relinearization that restructures the computation around fixed-width large-integer arithmetic. JANUS reconstructs ciphertext coefficients from the RNS representation, uses Kronecker substitution to express polynomial multiplication as large-integer multiplication, and evaluates the resulting convolution through a Stockham-organized Discrete Galois Transform (DGT). JANUS carries this fixed execution structure through product recovery, BFV scale-and-round, and method-I relinearization, using fixed-width computation and branchless masked arithmetic throughout. This formulation makes the control flow, memory-access schedule, and execution geometry depend on public parameters rather than the ciphertext or evaluation-key values. Under the same shared-L2 methodology used for HEonGPU, JANUS exhibits fewer recurring key-conditioned differences, while SASS-level analysis confirms that its intended regular execution structure is preserved after compilation. At \\(N=8192\\), JANUS completes the full multiplication-and-relinearization path in \\(0.350\\) ms, compared with \\(0.153\\) ms for HEonGPU, representing a \\(2.29\\times\\) latency overhead for JANUS's parameter-determined execution structure.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Janus-FHE: Reducing Microarchitectural Leakage in GPU-Based Homomorphic Encryption” by Kashfia Farheen, Nektarios Georgios Tsoutsos, Cryptology ePrint Archive, Paper 2026/362, https://eprint.iacr.org/2026/362. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-02-23T00:58:18Z",
    "updated": "2026-10-16T12:37:35Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/362.pdf",
    "sha256": "b1e85ca68d7b090fbe8ed5c755b80ef38f7034100c3b239e056a594e77a4cb43",
    "size": 1157763,
    "source": "upload",
    "source_date": "2026-11-14T03:40:44.899Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/362/versions/20261114T034044Z.pdf",
      "captured_at": "2026-11-14T03:40:44.899Z",
      "label": "copy captured 2026-11-14",
      "source": "upload",
      "source_url": null,
      "size": 1157763,
      "sha256": "b1e85ca68d7b090fbe8ed5c755b80ef38f7034100c3b239e056a594e77a4cb43",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2026/362/versions/20260512T112848Z.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "label": "copy captured 2026-05-12",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/362.pdf",
      "size": 1321627,
      "sha256": "43800e8185e18413e25e4e91f9f8d0e997abb877b149b50750948db2402e766f",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/362.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "size": 1321627
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260223185030id_/https://eprint.iacr.org/2026/362.pdf",
      "captured_at": "2026-02-23T18:50:30Z",
      "size": 1142869
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/362,\n      author = {Kashfia Farheen and Nektarios Georgios Tsoutsos},\n      title = {Janus-FHE: Reducing Microarchitectural Leakage in GPU-Based Homomorphic Encryption},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/362},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/362}\n}"
}
