Skip to content

Commit

Permalink
comment rsapss verifier tests
Browse files Browse the repository at this point in the history
  • Loading branch information
remicolin committed Aug 6, 2024
1 parent 165b22b commit 9cc547b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions circuits/tests/utils/rsapss_verifier.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ describe('RSAPSS Verifier', function () {
expect(isVerified).to.be.true;
});

it('should extract and log certificate information', async () => {
const csca_inputs = getCSCAInputs('0', dscCert_forge, cscaCert_forge, n, k, n, k, 960, true);
// const tbsCertificateHashFormatted = getTBSHash(dscCert_forge, 'sha256', n, k);
// it('should extract and log certificate information', async () => {
// const csca_inputs = getCSCAInputs('0', dscCert_forge, cscaCert_forge, n, k, n, k, 960, true);
// // const tbsCertificateHashFormatted = getTBSHash(dscCert_forge, 'sha256', n, k);

const inputs = {
raw_message: csca_inputs.raw_dsc_cert,
raw_message_padded_bytes: csca_inputs.raw_dsc_cert_padded_bytes,
signature: csca_inputs.dsc_signature,
modulus: csca_inputs.csca_modulus,
};
//const witness = await circuit.calculateWitness(inputs, true);
});
// const inputs = {
// raw_message: csca_inputs.inputs.raw_dsc_cert,
// raw_message_padded_bytes: csca_inputs.inputs.raw_dsc_cert_padded_bytes,
// signature: csca_inputs.inputs.dsc_signature,
// modulus: csca_inputs.inputs.dsc_modulus,
// };
// /const witness = await circuit.calculateWitness(inputs, true);
// });
});
});

0 comments on commit 9cc547b

Please sign in to comment.