betaFeedback

WorksPhysics and Astronomy

QIAP: A Quantum-Inspired Authentication Protocol with BB84-Based Channel Monitoring

Abstract

Authentication in quantum-aware communication settings requires mechanisms that verify user legitimacy while also assessing whether the communication channel exhibits excessive disturbance. This paper presents QIAP, a stateful hybrid framework that combines classical commitment-based challenge-response authentication with BB84-based quantum-channel monitoring. QIAP uses a dual-branch verification structure inspired by rectilinear and diagonal basis selection. In the rectilinear branch, the prover opens a hash-based commitment and the verifier checks consistency with the registered round token. In the diagonal branch, the prover returns an HMAC tag bound to the verifier nonce, round identifier, and submitted commitment without disclosing the round-specific sub-secret. Under the stated hash, HMAC, freshness, secure-registration, protected-storage, and high-entropy-secret assumptions, QIAP provides computational resistance to the modeled wrong-secret and replay attempts and protects the long-term master secret from direct recovery. After successful authentication, the BB84 module estimates the quantum bit error rate (QBER) and aborts the session when the measured value reaches or exceeds the configured threshold. In the reported simulation, no successful authentication was observed among 1,000 tested wrong-secret attempts per branch. The baseline and full intercept-resend conditions produced mean QBER values of approximately 0.02 and 0.25, respectively. The classical authentication stage required approximately 0.6 ms, and the implemented authentication messages required approximately 113 bytes per round. These results indicate that QIAP can provide a lightweight hybrid framework for combining secret-based identity verification with QBER-based channel-disturbance assessment under the stated threat model.

Introduction

Authentication is essential in secure communication systems, distributed networks, and privacy-preserving services. A user or device must prove possession of valid authentication material without exposing its long-term secret. Classical authentication can verify identity, but it does not determine whether a communication channel has been intercepted or disturbed. Reused transcripts, weak credentials, and poor session binding can also enable impersonation, replay, and man-in-the-middle attacks.

Zero-knowledge proofs (ZKPs) support privacy-preserving verification by allowing a prover to demonstrate that a statement is valid without revealing its private witness [1, 2]. ZKP protocols are commonly defined through completeness, soundness, and zero-knowledge properties [3], and have been applied to digital identity, blockchain systems, password authentication, and privacy-preserving computation [1, 4, 5, 6, 7]. However, classical authentication and ZKP-based methods verify the prover rather than the physical condition of the communication channel.

Quantum communication provides a separate security function. In BB84 quantum key distribution, an adversary who measures transmitted quantum states may disturb them and increase the quantum bit error rate (QBER) [8, 9, 10]. BB84 can therefore detect channel disturbance, while classical authentication determines whether a party possesses valid authentication material. These two functions address different security goals.

Recent quantum authentication methods use quantum measurements or QBER behavior during identity verification [11]. Such methods may require quantum hardware for authentication. Classical challenge-response methods are easier to deploy, but they cannot directly measure quantum-channel disturbance. This motivates a hybrid design that performs identity authentication using classical cryptographic operations and validates the quantum channel before accepting the session.

This paper proposes the Quantum-Inspired Authentication Protocol (QIAP), a stateful framework combining classical commitment-based challenge-response authentication with BB84-based channel validation. The term “quantum-inspired” refers to the use of rectilinear and diagonal authentication branches modeled after the two BB84 bases. The authentication layer uses classical hash and HMAC operations and is not presented as a formal zero-knowledge proof.

For each authentication round, the prover derives a single-use sub-secret from a high-entropy master secret and creates a nonce-bound commitment using fresh randomness. After receiving the commitment, the verifier selects one of two branches. In the rectilinear branch, the prover opens the commitment and the verifier checks the registered token and commitment consistency. In the diagonal branch, the prover returns an HMAC tag bound to the nonce, round identifier, and commitment without revealing the sub-secret. After successful authentication, the BB84 stage estimates the QBER and aborts the session when the selected threshold is reached or exceeded.

QIAP separates identity acceptance from channel acceptance. Each branch applies hash, commitment-opening, or HMAC verification, while multiple rounds provide independent single-use authentication records and prevent reuse of previously challenged material. The main contributions of this work are as follows:

  • We propose QIAP, a dual-branch classical authentication framework combined with BB84-based channel validation.

  • We design nonce-bound authentication rounds using hash commitments, HMAC binding tags, fresh verifier nonces, and single-use verification records.

  • We provide a security analysis covering completeness, computational impersonation resistance, replay resistance, master-secret privacy, and QBER-based session abort.

  • We observe no successful wrong-secret authentication in 1,000 attempts per branch, corresponding to an observed rejection rate of 100% under the tested implementation.

  • We obtain mean QBER values of approximately 0.02 for the clean channel and 0.25 for the intercept–resend condition using 1024 simulated qubits and a threshold of θ=0.11\theta= 0.11.

  • We measure approximately 0.6 ms for the classical authentication stage and approximately 113 bytes of communication per authentication round.

This section summarizes the concepts underlying QIAP and positions the proposed design relative to classical privacy-preserving authentication and quantum-channel validation.

Classical Zero-Knowledge Proofs

A zero-knowledge proof (ZKP) is an interactive or noninteractive protocol in which a prover convinces a verifier that a statement is true without revealing the private witness supporting that statement [2]. In a typical interactive protocol, the prover sends an initial commitment, the verifier issues a challenge, and the prover returns a response, as illustrated in Figure 1.

Figure 1. General interaction in a classical zero-knowledge proof. The prover uses a private witness to answer a verifier challenge without revealing the witness itself.

Let LL be a language in NP, xx a public statement, and ww a witness satisfying R(x,w)=1R(x,w)=1. A proof system (P,V)(P,V) is commonly characterized by three properties. Completeness requires an honest prover with a valid witness to be accepted with overwhelming probability. Soundness requires a prover without a valid witness to be accepted only with negligible probability. Zero knowledge requires the verifier’s view to be computationally indistinguishable from the output of a simulator that does not know ww [12].

These definitions provide useful principles for privacy-preserving authentication. However, QIAP does not claim the formal zero-knowledge property because its rectilinear branch reveals a round-specific sub-secret. QIAP instead aims to protect the long-term master secret while verifying possession of secret-derived authentication material.

BB84-Based Channel Validation

BB84 is a foundational quantum key distribution (QKD) protocol based on state preparation and measurement in rectilinear and diagonal bases [10]. If an adversary measures a transmitted state using an incompatible basis, the measurement may disturb the state and create errors in the sifted key.

The disturbance is estimated using the quantum bit error rate (QBER):

QBER=NmismatchNsifted,(1)\mathrm{QBER} = \frac{N_{\mathrm{mismatch}}}{N_{\mathrm{sifted}},} \tag*{(1)}

where NmismatchN_{\mathrm{mismatch}} is the number of mismatched sifted bits and NsiftedN_{\mathrm{sifted}} is the number of sifted bits selected for comparison.

In the simulation used in this work, the channel is accepted when

QBER<θ,θ=0.11,(2)\mathrm{QBER} < \theta, \qquad\theta= 0.11, \tag*{(2)}

and the session is aborted otherwise. The value θ=0.11\theta= 0.11 is used as a simulation decision threshold rather than a universal deployment limit. A deployed QKD system must also account for finite-key effects, device imperfections, error-correction leakage, privacy amplification, losses, and its selected security model.

BB84 and authentication provide different security functions. Authentication verifies possession of valid identity-related material, whereas QBER monitoring evaluates whether the quantum channel exhibits excessive disturbance. QKD also requires an authenticated classical channel during basis reconciliation and post-processing. QIAP therefore uses the classical authentication result to authorize and bind the subsequent BB84 session.

Existing methods usually emphasize one of three directions. Classical ZKP-based authentication protects identity-related witnesses but does not directly measure physical disturbance on a quantum channel [13, 14]. Quantum authentication protocols use quantum states to verify users or devices, but generally require quantum communication resources during authentication [11, 15]. Broader quantum-cryptography frameworks support channel-security and other quantum functions, but are not necessarily designed as lightweight classical identity-authentication mechanisms [16, 17].

QIAP addresses this design gap by combining a classical, stateful challenge-response layer with a separate BB84 validation stage. Table I compares the design categories using properties that can be stated without treating one scheme’s internal verification rule as a universal benchmark.

WorkApproachClassical Auth.Channel DetectionSecret PrivacyDual Verification
[15]Quantum mutual authentication and key agreement△✓✓✗
[13]Zero-knowledge authentication for 5G and beyond✓✗✓✗
[18]Quantum-resistant authentication using ZK proofs✓✗✓✗
[16]Quantum cryptography beyond QKD✗✓✓✗
[11]Experimental quantum ZKP user authentication✗✓✓✗
QIAPDual-branch authentication with BB84 QBER monitoring✓✓✓✓

Table I. ✓: supported; ✗: not supported; △: partially supported.

QIAP performs identity authentication using classical cryptographic operations and invokes quantum hardware only for the BB84 stage. Its distinguishing feature is the explicit separation of identity acceptance and channel acceptance within one session flow, with both stages required for session acceptance.

Methodology

QIAP combines a classical commitment-based authentication layer with a BB84-based channel-validation layer. The authentication layer verifies possession of valid secret-derived material, while the BB84 layer evaluates whether the quantum channel exhibits excessive disturbance before a communication session is accepted. QIAP consists of three phases: registration, basis-dependent authentication, and BB84-based channel validation. Figure 2 illustrates the protocol flow.

Figure 2. QIAP architecture with registration, basis-dependent authentication, and BB84-based channel validation before session acceptance.

The notation used throughout the protocol is summarized as follows. The prover’s high-entropy master secret is denoted by ss, the authentication-round index by rr, the round-derived sub-secret by srs_r, fresh prover randomness by ρr\rho_r, the fresh verifier nonce by νr\nu_r, the commitment by CrC_r, the rectilinear verification token by TrT_r, the diagonal verification key by Kr(d)K_r^{(d)}, the branch challenge by brb_r, and the diagonal-branch HMAC tag by τr\tau_r. All concatenated fields are encoded using an unambiguous, length-delimited binary encoding.

Registration Phase

Let RR be the number of registered authentication rounds. For each r∈{0,…,R−1}r \in\{0,\ldots,R-1\}, the prover derives the round-specific sub-secret

sr=H(s∥enc⁡(r)),(3)s_r = H(s \mathbin\Vert\operatorname{enc}(r)), \tag*{(3)}

where H(⋅)H(\cdot) is a cryptographic hash function and enc⁡(r)\operatorname{enc}(r) is an unambiguous binary encoding of the round index.

Two branch-specific verification values are then derived from srs_r. The rectilinear verification token is

Tr=H(sr∥verify⁡),(4)T_r = H(s_r \mathbin\Vert\operatorname{verify}), \tag*{(4)}

and the diagonal verification key is

Kr(d)=HMAC⁡sr(key_diag⁡).(5)K_r^{(d)} = \operatorname{HMAC}_{s_r}(\operatorname{key\_diag}). \tag*{(5)}

The verifier stores the single-use round record

Lr=(Tr,Kr(d),unused⁡),(6)\mathcal{L}_r = (T_r,K_r^{(d)},\operatorname{unused}), \tag*{(6)}

rather than storing the master secret ss. Each record is marked as consumed after one authentication attempt, regardless of whether the attempt succeeds or fails. This rule prevents reuse of disclosed or previously challenged round material. The verifier storage is assumed to be protected because knowledge of Kr(d)K_r^{(d)} permits generation of valid diagonal-branch tags for that round. New round records must be provisioned through the authenticated registration process before the available pool is exhausted.

Commitment and Challenge Phase

For an unused round rr, the verifier samples a fresh nonce νr\nu_r and sends (r,νr)(r,\nu_r) to the prover. The prover recomputes srs_r, samples fresh randomness ρr\rho_r, and constructs the nonce-bound commitment

Cr=H(ρr∥sr∥νr∥enc⁡(r)).(7)C_r = H(\rho_r \mathbin\Vert s_r \mathbin\Vert\nu_r \mathbin\Vert\operatorname{enc}(r)). \tag*{(7)}

After receiving CrC_r, the verifier samples the branch challenge

br←${Rect⁡,Diag⁡},(8)b_r \mathrel{\overset{\$}{\leftarrow}} \{\operatorname{Rect},\operatorname{Diag}\}, \tag*{(8)}

and sends brb_r to the prover. Sampling the branch after receiving the commitment prevents the prover from constructing CrC_r for only one selected response type.

Rectilinear Verification Branch

If br=Rect⁡b_r = \operatorname{Rect}, the prover opens the commitment by sending

Resp⁡r(Rect⁡)=(sr,ρr).(9)\operatorname{Resp}_r^{(\operatorname{Rect})} = (s_r,\rho_r). \tag*{(9)}

The verifier accepts the round only if

H(sr∥verify⁡)=Tr,H(ρr∥sr∥νr∥enc⁡(r))=Cr.(10)\begin{aligned} H(s_r \mathbin\Vert\operatorname{verify}) &= T_r,\\ H(\rho_r \mathbin\Vert s_r \mathbin\Vert\nu_r \mathbin\Vert\operatorname{enc}(r)) &= C_r. \tag*{(10)} \end{aligned}

The first condition checks consistency with the registered round token. The second condition checks that the response opens the commitment for the current nonce and round index. This branch reveals srs_r, but not the master secret ss.

Diagonal Verification Branch

If br=Diagb_r = \mathrm{Diag}, the prover does not reveal srs_r. Instead, it computes

τr=HMACKr(d)(νr∥enc⁡(r)∥Cr),(11)\tau_r = \mathrm{HMAC}_{K_r^{(d)}}(\nu_r \mathbin\Vert\operatorname{enc}(r) \mathbin\Vert C_r), \tag*{(11)}

and sends

Resp⁡r(Diag)=τr.(12)\operatorname{Resp}_{r}^{(\mathrm{Diag})} = \tau_r. \tag*{(12)}

The verifier recomputes the expected tag using the stored Kr(d)K_r^{(d)}, the current nonce νr\nu_r, the round index rr, and the received commitment CrC_r. The round is accepted only if the received and recomputed tags are equal. This branch verifies freshness and commitment binding without disclosing srs_r.

After either branch is evaluated, the verifier marks Lr\mathcal{L}_r as consumed. A consumed record cannot be used in a later authentication attempt. Because failed attempts also consume records, implementations should apply rate limiting and authenticated session initiation to reduce record-exhaustion attacks.

BB84 Channel Validation

The BB84 phase is executed only after all required authentication rounds are accepted. Using NqN_q transmitted qubits, the module estimates the QBER according to Eq. (1). The channel decision is

SessionOK⁡={1,QBER⁡<θ,0,QBER⁡≥θ,(13)\operatorname{SessionOK} = \begin{cases} 1, & \operatorname{QBER} < \theta,\\ 0, & \operatorname{QBER} \ge\theta, \end{cases} \tag*{(13)}

where θ\theta is the selected QBER threshold.

If SessionOK⁡=1\operatorname{SessionOK} = 1, BB84 post-processing proceeds with sifting, error correction, and privacy amplification to derive the session key KijK_{ij}. If SessionOK⁡=0\operatorname{SessionOK} = 0, the protocol aborts and accepts no session key. The classical BB84 messages are assumed to be authenticated and bound to the completed QIAP authentication exchange so that an adversary cannot substitute or splice a different quantum session.

Mathematical Security Analysis

This section analyzes QIAP under the stated threat model, with the protocol flow summarized in Algorithm 1. The analysis covers honest execution, impersonation resistance, replay resistance, protection of the master secret, and QBER-based session abort. The claims are computational and depend on the assumptions listed below.

Security Assumptions

QIAP relies on the following assumptions:

  • Hash security: The hash function HH is preimage resistant and second-preimage resistant.

  • HMAC security: HMAC is existentially unforgeable under chosen-message attack for parties that do not know the HMAC key.

  • High-entropy master secret: The master secret ss is sampled from a sufficiently large key space and is not derived directly from a human-memorable password.

  • Freshness: Each verifier nonce νr\nu_r and prover randomness value ρr\rho_r is sampled independently and is not reused.

  • Unambiguous encoding: All concatenated protocol fields use fixed-length or length-delimited binary encodings.

Algorithm 1 QIAP protocol flow

Require: Master secret ss, registered rounds RR, BB84 length NqN_q, threshold θ\theta

Ensure: Authentication decision AuthOK and session decision SessionOK

  1. Registration

  2. for r=0,…,R−1r = 0,\ldots,R-1 do

  3. &nbsp;&nbsp;&nbsp;&nbsp;Derive srs_r, TrT_r, and Kr(d)K_r^{(d)}

  4. &nbsp;&nbsp;&nbsp;&nbsp;Store Lr=(Tr,Kr(d),unused)\mathcal{L}_r = (T_r,K_r^{(d)},\text{unused})

  5. end for

  6. Authentication

  7. AuthOK ←0\leftarrow0

  8. for r=0,…,R−1r = 0,\ldots,R-1 do

  9. &nbsp;&nbsp;&nbsp;&nbsp;if Lr\mathcal{L}_r is consumed then

  10. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return (0,0)(0,0)

  11. &nbsp;&nbsp;&nbsp;&nbsp;end if

  12. &nbsp;&nbsp;&nbsp;&nbsp;Verifier samples fresh νr\nu_r and sends (r,νr)(r,\nu_r)

  13. &nbsp;&nbsp;&nbsp;&nbsp;Prover samples fresh ρr\rho_r, computes CrC_r, and sends CrC_r

  14. &nbsp;&nbsp;&nbsp;&nbsp;Verifier samples br∈{Rect,Diag}b_r \in\{\mathrm{Rect},\mathrm{Diag}\} and sends brb_r

  15. &nbsp;&nbsp;&nbsp;&nbsp;if br=Rectb_r = \mathrm{Rect} then

  16. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prover sends (sr,ρr)(s_r,\rho_r)

  17. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verify both conditions in Eq. (10)

  18. &nbsp;&nbsp;&nbsp;&nbsp;else

  19. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prover computes and sends τr\tau_r

  20. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verify τr\tau_r using Eq. (11)

  21. &nbsp;&nbsp;&nbsp;&nbsp;end if

  22. &nbsp;&nbsp;&nbsp;&nbsp;Mark Lr\mathcal{L}_r as consumed

  23. &nbsp;&nbsp;&nbsp;&nbsp;if round verification fails then

  24. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return (0,0)(0,0)

  25. &nbsp;&nbsp;&nbsp;&nbsp;end if

  26. end for

  27. AuthOK ←1\leftarrow1

  28. BB84 channel validation

  29. Run BB84 using NqN_q qubits and estimate QBER

  30. if QBER⁡<θ\operatorname{QBER} < \theta then

  31. &nbsp;&nbsp;&nbsp;&nbsp;Perform BB84 post-processing and derive KijK_{ij}

  32. &nbsp;&nbsp;&nbsp;&nbsp;SessionOK ←1\leftarrow1

  33. else

  34. &nbsp;&nbsp;&nbsp;&nbsp;Abort and set SessionOK ←0\leftarrow0

  35. end if

  36. return (AuthOK, SessionOK)

  • Single-use records: Each verifier record Lr\mathcal{L}_r is consumed after one authentication attempt.

  • Protected verifier storage: The stored values TrT_r and Kr(d)K_r^{(d)} are protected from disclosure and unauthorized modification.

  • Secure registration: Registration is authenticated and integrity protected.

  • Authenticated BB84 classical channel: Classical messages used for basis reconciliation and post-processing are authenticated and bound to the completed QIAP authentication exchange.

Authentication Completeness

Theorem IV.1: Authentication Completeness If the prover and verifier follow QIAP honestly and use the same registered record Lr\mathcal{L}_r, then the authentication round is accepted in either verification branch.

Proof. In the rectilinear branch, the honest prover derives the registered sub-secret srs_r using Eq. (3) and opens CrC_r using the same values srs_r, ρr\rho_r, νr\nu_r, and rr used in Eq. (7). Therefore, both checks in Eq. (10) hold.

In the diagonal branch, the prover and verifier use the same value Kr(d)K_r^{(d)}, nonce νr\nu_r, round index rr, and commitment CrC_r. They therefore compute the same tag according to Eq. (11). Hence, an honestly executed round is accepted in either branch. ▫񟟟

Impersonation Resistance

Theorem IV.2: Rectilinear-Branch Impersonation Resistance Assume the adversary does not know the registered round sub-secret srs_r. The probability that the adversary is accepted in the rectilinear branch is negligible under the stated hash assumptions.

Proof. Acceptance requires a pair (s^r,ρ^r)(\hat{s}_r,\hat{\rho}_r) satisfying

H(s^r∥verify)=Tr(14)H(\hat{s}_r \mathbin\Vert\text{verify}) = T_r \tag*{(14)}

and

H(ρ^r∥s^r∥νr∥enc⁡(r))=Cr.(15)H(\hat{\rho}_r \mathbin\Vert\hat{s}_r \mathbin\Vert\nu_r \mathbin\Vert\operatorname{enc}(r)) = C_r. \tag*{(15)}

If s^r≠sr\hat{s}_r \ne s_r, then satisfying Eq. (14) requires finding a second preimage for the registered token input or otherwise violating the assumed security of HH. If the adversary uses the genuine srs_r, then it already possesses the required round secret. In addition, the submitted opening must match the commitment bound to the fresh nonce and round index. Under the stated assumptions, an adversary without srs_r satisfies both checks only with negligible probability.

Theorem IV.3: Diagonal-Branch Impersonation Resistance Assume the adversary does not know Kr(d)K_r^{(d)}. The probability that the adversary is accepted in the diagonal branch on a fresh message is negligible under HMAC unforgeability.

Proof. Acceptance requires a valid tag for

mr=νr∥enc⁡(r)∥Cr.(16)m_r = \nu_r \mathbin\Vert\operatorname{enc}(r) \mathbin\Vert C_r. \tag*{(16)}

Because νr\nu_r is fresh and the record is single-use, mrm_r is fresh except with negligible nonce-collision probability. Producing a valid tag for mrm_r without Kr(d)K_r^{(d)} constitutes an HMAC forgery. Therefore, acceptance occurs only with negligible probability.

Corollary IV.1: Per-Branch Authentication Security For either selected branch, an adversary lacking the branch-required secret material is accepted only with negligible probability under the stated assumptions.

The corollary is a per-branch statement. QIAP does not claim a soundness error of 2−R2^{-R}, and the analysis does not treat repeated rounds as the sole source of authentication security.

Replay Resistance

Theorem IV.4: Replay Resistance A transcript accepted in one authentication attempt cannot be replayed successfully in a later attempt except with negligible probability, provided nonces are fresh and round records are not reused.

Proof. In the rectilinear branch, CrC_r is bound to νr\nu_r and rr by Eq. (7). A captured commitment and opening therefore fail under a new nonce. Reuse under the same round index is also rejected because LrL_r has been consumed.

In the diagonal branch, τr\tau_r is bound to νr\nu_r, rr, and CrC_r. A captured tag does not verify for a new nonce or commitment. Producing a valid replacement tag without Kr(d)K_r^{(d)} would violate HMAC unforgeability. Hence, replay succeeds only if freshness or record-consumption assumptions fail, or with negligible cryptographic probability.

Master-Secret Protection

Theorem IV.5: Master-Secret Protection Assume ss is sampled from a high-entropy key space and HH is preimage resistant. Observing protocol transcripts, including disclosed round sub-secrets from rectilinear rounds, does not enable efficient recovery of ss.

Proof. A rectilinear transcript may reveal

sr=H(s∥enc⁡(r)).(17)s_r = H(s \mathbin\Vert\operatorname{enc}(r)). \tag*{(17)}

Recovering ss from one or more disclosed values srs_r requires either inverting the hash computation or searching the master-secret space. Because ss is assumed to have high entropy, exhaustive search is computationally infeasible. The remaining transcript values are derived from srs_r, fresh randomness, nonces, commitments, or HMAC computations and do not provide a more direct recovery method under the stated assumptions.

This theorem protects only the master secret. It does not claim zero knowledge, because the rectilinear branch discloses the round-specific value srs_r. It also does not apply when ss is a low-entropy password, since disclosed srs_r values would permit offline testing of password guesses.

Verifier-Storage Limitation

Theorem IV.6: Effect of Diagonal-Key Disclosure If an adversary obtains an unused stored key Kr(d)K_r^{(d)}, then the adversary can generate a valid diagonal-branch response for that round.

Proof. The diagonal response is computed directly as

τr=HMAC⁡Kr(d)(νr∥enc⁡(r)∥Cr).\tau_r = \operatorname{HMAC}_{K_r^{(d)}}(\nu_r \mathbin\Vert\operatorname{enc}(r) \mathbin\Vert C_r).

Knowledge of Kr(d)K_r^{(d)} is therefore sufficient to compute a valid tag for any selected nonce and commitment for the same unused record.

This result is why protected verifier storage is part of the threat model. QIAP does not provide verifier-database-compromise resistance for the diagonal branch.

BB84 Channel Validation

Theorem IV.7: Intercept–Resend Disturbance Under the idealized BB84 intercept–resend model, interception of transmitted qubits increases the expected QBER relative to an otherwise identical clean channel.

Proof. The sender and receiver independently select rectilinear or diagonal bases. An intercepting adversary does not know the sender’s basis and may measure in the incompatible basis. Such a measurement disturbs the transmitted state. When the receiver later measures in the sender’s basis, the disturbance can produce a mismatched sifted bit. Repeated interception therefore increases the expected mismatch rate and shifts the QBER distribution upward relative to the clean-channel case.

The theorem applies to the modeled intercept–resend attack. Elevated QBER indicates channel disturbance but does not, by itself, identify eavesdropping as the cause.

Theorem IV.8: QBER-Based Session Abort If the measured QBER satisfies QBER≥θ\mathrm{QBER} \ge\theta, QIAP sets SessionOK = 0 and accepts no session key.

Proof. The result follows directly from the decision rule in Eq. (13). QIAP accepts the BB84 stage only when QBER<θ\mathrm{QBER} < \theta. Therefore, any measured value satisfying QBER≥θ\mathrm{QBER} \ge\theta causes session abort.

Security Statement

Theorem IV.9: Conditional Security Properties of QIAP Under the assumptions of hash security, HMAC unforgeability, high master-secret entropy, fresh randomness, fresh nonces, unambiguous encoding, single-use records, protected verifier storage, secure registration, and authenticated BB84 classical communication, QIAP provides authentication completeness, per-branch computational impersonation resistance, replay resistance, master-secret protection, and threshold-based session abort under the stated threat model.

Proof. Authentication completeness follows from Theorem IV.1. Rectilinear- and diagonal-branch impersonation resistance follow from Theorems IV.2 and IV.3. Replay resistance follows from Theorem IV.4. Master-secret protection follows from Theorem IV.5. QBER-based session abort follows from Theorem IV.8. These properties remain conditional on protected verifier storage, as shown by Theorem IV.6, and on the remaining assumptions listed above.

Results and Discussion

Experimental Setup

QIAP was evaluated in a hybrid classical–quantum simulation covering wrong-secret authentication, BB84 channel disturbance, noise sensitivity, execution time, and communication cost. The classical layer used SHA-256 for round-secret derivation, verification tokens, and commitments, and HMAC-SHA-256 for diagonal-branch tags. Each authentication session used R=20R = 20 single-use round records, a fresh 128-bit verifier nonce, fresh 256-bit prover randomness, and a 256-bit HMAC tag.

Each BB84 trial simulated Nq=1024N_q = 1024 single-qubit transmissions under clean and full intercept–resend conditions. Depolarizing noise was varied from pe=0p_e = 0 to 0.200.20 in steps of 0.010.01. The session threshold was fixed at θ=0.11\theta= 0.11, and the session was aborted when QBER≥θ\mathrm{QBER} \ge\theta.

Wrong-secret authentication was tested over 1,000 independent attempts per branch. Clean and intercept–resend QBER behavior was evaluated over 500 trials per condition, while noise sensitivity was evaluated over 300 trials for each pep_e. Fixed pseudorandom seeds were used for reproducibility. Execution time was measured as software wall-clock time, and communication cost was computed from the transmitted protocol fields.

The implementation used Python, NumPy, Matplotlib, hashlib, hmac, and secrets. Experiments were executed on an AMD Ryzen 5 PRO 4650U processor with 16 GB RAM under Ubuntu 22.04 through Windows Subsystem for Linux.

Wrong-Secret Authentication

QIAP rejected all 1,000 wrong-secret attempts in each branch, producing an observed rejection rate of 100% under the tested implementation. No false rejection was observed for honest authentication attempts.

In the rectilinear branch, an incorrect srs_r fails the registered-token check and cannot produce a valid opening of the nonce-bound commitment. In the diagonal branch, an incorrect secret derives a different key and produces an invalid HMAC tag.

With zero successful impersonations in 1,000 trials, the rule-of-three approximation gives an upper 95% confidence bound of approximately

pimp<31000=0.003(18)p_{\mathrm{imp}} < \frac{3}{1000} = 0.003 \tag*{(18)}

for the tested attack generator. This bound characterizes the observed attack success rate in the experiment and is distinct from the cryptographic forgery probability of SHA-256 or HMAC-SHA-256.

BB84 Channel Disturbance

As shown in Figure 3, the clean and intercept–resend conditions produced well-separated QBER distributions. The clean channel had a mean QBER of approximately 0.02, whereas the full intercept–resend condition had a mean near 0.25. With θ=0.11\theta= 0.11, the two tested distributions were separated by a clear margin.

Figure 3. Simulated QBER distributions for clean and full intercept–resend channels. The clean condition is centered near μ≈0.02\mu\approx0.02, while the intercept–resend condition is centered near μ≈0.25\mu\approx0.25.

This result is consistent with the disturbance expected from full intercept–resend measurement in BB84. The observed behavior corresponds to the simulated full-interception setting with the selected qubit count and QBER threshold.

Execution Time

As shown in Figure 4, the classical QIAP authentication stage required approximately 0.6 ms on the evaluated software and hardware platform. Including the simulated BB84 stage increased the total execution time to approximately 5 ms. These values measure local software execution and do not represent optical transmission delay, detector delay, reconciliation cost, or hardware QKD latency.

Figure 4. Software execution-time comparison among HMAC-chain, Schnorr authentication, and QIAP. The QIAP authentication stage remains below 1 ms, while the simulated BB84 stage adds separate processing time.

The HMAC-chain baseline was faster because it performed fewer cryptographic operations. Schnorr authentication represents a public-key reference with a different security and computation profile. The comparison therefore focuses on software execution cost across the evaluated implementations.

Communication Cost

The transmitted cryptographic fields have branch-dependent sizes. The fixed fields are the 4-byte round identifier, 16-byte nonce, 32-byte commitment, and 1-byte branch challenge. The rectilinear response contains a 32-byte sub-secret and 32-byte randomness value, while the diagonal response contains a 32-byte HMAC tag. Hence, the raw cryptographic payloads are

BRectraw=4+16+32+1+32+32=117 bytes,(19)B_{\mathrm{Rect}}^{\mathrm{raw}} = 4 + 16 + 32 + 1 + 32 + 32 = 117\ \text{bytes}, \tag*{(19)}
BDiagraw=4+16+32+1+32=85 bytes.(20)B_{\mathrm{Diag}}^{\mathrm{raw}} = 4 + 16 + 32 + 1 + 32 = 85\ \text{bytes}. \tag*{(20)}

For uniformly selected branches, the expected raw payload is

E[Braw]=12BRectraw+12BDiagraw=101 bytes per round.(21)\mathbb{E}[B^{\mathrm{raw}}] = \frac{1}{2}B_{\mathrm{Rect}}^{\mathrm{raw}} + \frac{1}{2}B_{\mathrm{Diag}}^{\mathrm{raw}} = 101\ \text{bytes per round}. \tag*{(21)}

As shown in Figure 5, the communication cost increases linearly with the number of authentication rounds. The implemented message format adds approximately 12 bytes per round for serialization and framing metadata, including field identifiers, message-length information, and branch-dependent encoding. The resulting measured communication cost is therefore Bimpl≈101+12=113B_{\mathrm{impl}} \approx101 + 12 = 113 bytes per round.

Figure 5. Communication cost as a function of the number of authentication rounds. QIAP grows linearly at approximately 113 bytes per round in the implemented message format.

At this rate, 30 authentication rounds require approximately 30×113=339030 \times113 = 3390 bytes ≈3.39\approx3.39 kB. This value excludes lower-layer network headers and BB84 quantum-transmission cost. It represents the application-layer authentication messages generated by the reported implementation.

Noise Sensitivity and Decision Rates

As shown in Figure 6, clean-channel QBER increased with pep_e, while the intercept–resend condition remained higher across the tested range. The disturbance-detection rate remained close to 100%, whereas the false-abort rate increased as the clean-channel QBER approached θ\theta. Under the simulated configuration, false aborts remained low up to approximately pe=0.06p_e = 0.06 and increased beyond that point. This value defines the empirical operating boundary under the selected simulation model.

Figure 6. Effect of depolarizing error probability pep_e on simulated BB84 behavior: (a) QBER under clean and intercept–resend conditions and (b) disturbance-detection and false-abort rates for θ=0.11\theta= 0.11.

Quantum-Channel Operating Region

The threshold rule used by QIAP defines the BB84 operating region: the channel is accepted when QBER <0.11< 0.11 and the session is aborted when QBER ≥0.11\ge0.11, as shown in Figure 7. For this operating-region analysis, the depolarizing error probability is extended beyond the primary evaluation range to identify the threshold-crossing region. Elevated QBER indicates increased channel disturbance but does not determine its source. Such disturbance may result from interception, device errors, calibration drift, transmission loss, or environmental noise. QIAP therefore uses the threshold violation as a session-abort criterion without attributing the observed disturbance to a specific cause.

Figure 7. Simulated BB84 operating region. The session is accepted when QBER <0.11< 0.11 and aborted otherwise.

Discussion

The results show that QIAP separates classical identity authentication from quantum-channel validation while requiring both stages to succeed before session acceptance. The classical layer rejected all tested wrong-secret attempts, and the BB84 layer distinguished the clean and full intercept–resend conditions under the selected simulation settings.

The numerical findings reflect the implemented threat model, channel model, qubit count, threshold, and software environment. Extensions to partial interception, detector attacks, source imperfections, finite-key effects, and hardware execution remain open directions.

QIAP introduces higher execution and communication cost than the classical baselines because it uses branch-dependent authentication evidence and a separate BB84 stage. QIAP is designed for systems that require both secret-based identity verification and quantum-channel disturbance monitoring. Deployment also requires protected verifier storage, authenticated BB84 classical communication, record-pool management, and implementation-specific threshold selection.

Conclusion

This paper presented QIAP, a stateful hybrid framework that combines classical dual-branch authentication with BB84-based channel validation. The classical layer verifies possession of secret-derived authentication material, while the BB84 layer evaluates quantum-channel disturbance through QBER monitoring. A communication session is accepted only when both authentication and channel validation succeed. In the experiments, QIAP rejected all 1,000 wrong-secret attempts per branch, producing an observed rejection rate of 100% under the tested implementation. The BB84 simulation produced mean QBER values of approximately 0.02 for the clean channel and 0.25 for the full intercept–resend condition using Nq=1024N_q = 1024 qubits and a threshold of θ=0.11\theta= 0.11. The classical authentication stage required approximately 0.6 ms, and the implemented message format required approximately 113 bytes per authentication round. These results show that QIAP can combine secret-based identity verification with quantum-channel disturbance monitoring at low software cost. The findings are established under the stated cryptographic assumptions and evaluated channel models. Elevated QBER serves as the criterion for session abort without attributing the observed disturbance to a specific cause.

Future work will examine hardware QKD integration, verifier-database-compromise resistance, record-pool management, lower communication cost, and stronger privacy-preserving authentication designs with formal security proofs.

Acknowledgment

This work was supported in part by the NYUAD Center for Quantum and Topological Systems (CQTS), funded by Tamkeen under the NYUAD Research Institute grant CG008, and the Center for Cyber Security (CCS), funded by Tamkeen under the NYUAD Research Institute Award G1104.

References

  1. [1]Z. Xing et al., “Zero-knowledge proof-based verifiable decentralized machine learning in communication network: A comprehensive survey,” IEEE Communications Surveys & Tutorials, 2025.DOI
  2. [2]S. Goldwasser et al., “The knowledge complexity of interactive proof systems,” SIAM Journal on Computing, vol. 18, no. 1, pp. 186–208, 1989.
  3. [3]Z. Peng et al., “A survey for zero-knowledge proof based verifiable machine learning,” Artificial Intelligence Review, 2026.DOI
  4. [4]P.-W. Ch. et al., “A privacy-preserving zero-knowledge proof for blockchain,” IEEE Access, vol. 11, pp. 85108–85117, 2023.
  5. [5]O. Kuznetsov et al., “Enhanced security and efficiency in blockchain with aggregated zero-knowledge proof mechanisms,” IEEE Access, vol. 12, pp. 49228–49248, 2024.DOI
  6. [6]M. Kara et al., “A password-based mutual authentication protocol via zero-knowledge proof solution,” in International conference on applied cybersecurity. Springer, 2023, pp. 31–40.DOI
  7. [7]Z. Xing et al., “Zero-knowledge proof meets machine learning in verifiability: A survey,” arXiv preprint arXiv:2310.14848, 2023.
  8. [8]C. Lee et al., “Eavesdropping detection in bb84 quantum key distribution protocols,” IEEE Transactions on Network and Service Management, vol. 19, no. 3, pp. 2689–2701, 2022.DOI
  9. [9]M. Imran et al., “Quantum cryptography for future networks security: A systematic review,” IEEE Access, vol. 12, pp. 180048–180078, 2024.DOI
  10. [10]C. Bennett and G. Brassard, “Quantum cryptography: Public key distribution and coin tossing,” Proceedings of the IEEE International Conference on Computers, Systems and Signal Processing, Bangalore, pp. 175–179, 1984.
  11. [11]M. I. García-Cid et al., “Experimental implementation of a quantum zero-knowledge proof for user authentication,” Optics Express, vol. 32, no. 9, pp. 15595–15966, 2024.DOI
  12. [12]X. Sun et al., “A survey on zero-knowledge proof in blockchain,” IEEE Network, vol. 35, no. 4, pp. 198–205, 2021.DOI
  13. [13]A. Szczegielniak-Riekel et al., “Zero-knowledge proof in 5g and beyond technologies: state of the arts, practical aspects, applications, security issues, open challenges, and future trends,” IEEE Access, 2025.
  14. [14]A. Chriki et al., “Enhancing the evaluation of security in vehicular networks: featured trends and prospective work,” International Journal of Information Security, vol. 25, no. 4, p. 117, 2026.DOI
  15. [15]X. Lou and Z. Wang, “A novel quantum-based mutual authentication and key agreement scheme for smart grid,” IEEE Transactions on Information Forensics and Security, 2026.
  16. [16]M. Bozzio et al., “Quantum cryptography beyond key distribution: theory and experiment,” Reviews of Modern Physics, vol. 97, no. 4, p. 045006, 2025.DOI
  17. [17]M. Adil et al., “Quantum computing and the future of healthcare internet of things security: Challenges and opportunities,” IEEE Internet of Things Journal, 2025.DOI
  18. [18]U. H. Chaudhry et al., “zk-dastark: A quantum-resistant, data authentication and zero-knowledge proof scheme for protecting data fed to smart contracts,” Computers and Electrical Engineering, vol. 123, p. 110089, 2025.DOI

Paper details

vlnc:W_cm2ueqzr
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents