UNPKG

@reclaimprotocol/attestor-core

Version:

<div> <div> <img src="https://raw.githubusercontent.com/reclaimprotocol/.github/main/assets/banners/Attestor-Core.png" /> </div> </div>

12 lines (11 loc) 597 B
/** * AMD SEV-SNP report verifier (proves genuine SEV-SNP hardware + report_data * binding). Port of the go-sev-guest verification reclaim-tee invokes: * reconstruct the report ABI, verify the ECDSA-P384 report signature against the * VLEK/VCEK whose cert chains to the pinned AMD Milan ARK, and check report_data. */ /** * Verifies the SEV-SNP report: genuine AMD hardware (report sig -> VLEK/VCEK -> * Milan ARK) and report_data == expectedReportData. Throws on any failure. */ export declare function verifySevReport(sevBytes: Uint8Array, expectedReportData: Buffer, now?: Date): void;