@reclaimprotocol/attestor-core
Version:
<div> <div> <img src="https://raw.githubusercontent.com/reclaimprotocol/.github/main/assets/banners/Attestor-Core.png" /> </div> </div>
17 lines (16 loc) • 816 B
TypeScript
/**
* TEE OPRF MPC Verification
* Verifies OPRF MPC outputs from TEE_K and TEE_T match
*
* Unlike ZK OPRF which requires proof verification, OPRF MPC outputs
* are already trusted because they are included in TEE-signed payloads.
* This module verifies that both TEEs computed identical outputs.
*/
import type { KOutputPayload, TOutputPayload } from '../../proto/tee-bundle.ts';
import type { OprfVerificationResult } from '../../server/utils/tee-oprf-verification.ts';
import type { Logger } from '../../types/general.ts';
/**
* Verifies OPRF MPC outputs from TEE_K and TEE_T match
* Returns verified outputs for transcript replacement (same format as ZK OPRF)
*/
export declare function verifyOprfMpcOutputs(kPayload: KOutputPayload, tPayload: TOutputPayload, logger: Logger): OprfVerificationResult[];