The invention discloses a verifiable
voucher zero-knowledge
verification system and method based on an RISC-V trusted execution environment. The method comprises the following steps: 1, carrying out loading and signature preparation on a verifiable
voucher VC; 2, after the loading and signature preparation of the VC is completed, the ProverEnclave enters a session starting process, and a JoinRequest message is forwarded to the VerifierEnclave through a Host application program; step 3, the Verifier Enclave is used for checking the received JoinRequest, and the Verifier Enclave is used for checking the JoinRequest; step 4, the message is forwarded to the ProverEnclave through the Host application program; step 5, the Prover Enclave checks the message, and a proof secret key for the VCCircuit is generated; 6, the Prover Enclave starts to execute a
zero knowledge proof generation operation, and a Groth16 proof is generated; step 7, the Prover Enclave forwards the generated Groth16 proof to the VerifierEnclave through the Host application program, and the VerifierEnclave is used for generating the Groth16 proof and forwarding the Groth16 proof to the VerifierEnclave; step 8, carrying out zero-knowledge proof
verification on the Groth16 proof by using VerifierEnclave, and carrying out zero-knowledge proof
verification on the Groth16 proof; and step 9, the VerifierEnclave returns a final response through the Host application program according to a verification result. The method provided by the invention has the characteristics of
high security, high privacy and decentralized identity
authentication which is efficiently deployed on the lightweight RISC-V platform.