Skip to content

Commit

Permalink
delete commentout
Browse files Browse the repository at this point in the history
  • Loading branch information
motemotech committed Nov 28, 2024
1 parent ba498f6 commit 6ca6269
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions circuits/circuits/utils/passport/signatureVerifier.circom
Original file line number Diff line number Diff line change
Expand Up @@ -41,31 +41,6 @@ template SignatureVerifier(signatureAlgorithm, n, k) {
rsa.signature <== signature;
}

// if (signatureAlgorithm == 1 || signatureAlgorithm == 10) {

// component rsa = VerifyRsaPkcs1v1_5(64, 32, 17, 256);
// for (var i = 0; i < msg_len; i++) {
// rsa.message[i] <== hashParsed[i];
// }
// for (var i = msg_len; i < k; i++) {
// rsa.message[i] <== 0;
// }
// rsa.modulus <== pubKey;
// rsa.signature <== signature;

// }
// if (signatureAlgorithm == 3 || signatureAlgorithm == 11) {
// component rsa_pkcs1 = RSAVerifier65537Pkcs1(n, k);
// for (var i = 0; i < msg_len; i++) {
// rsa_pkcs1.message[i] <== hashParsed[i];
// }
// for (var i = msg_len; i < k; i++) {
// rsa_pkcs1.message[i] <== 0;
// }
// rsa_pkcs1.modulus <== pubKey;
// rsa_pkcs1.signature <== signature;

// }
if (signatureAlgorithm == 4 || signatureAlgorithm == 12) {
var pubKeyBitsLength = getKeyLength(signatureAlgorithm);

Expand Down

0 comments on commit 6ca6269

Please sign in to comment.