RSA verification fails for some of the test cases when boring crypto is enabled instead of native go crytpo #68645
Labels
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Go version
Go 1.21.6 + BoringSSL version fips-20220613
Output of
go env
in your module/workspace:What did you do?
While running RSA verification tests for FIPS 140-3 with below input values.
"sigType": "pkcs1v1.5",
"modulo": 2048,
"hashAlg": "SHA2-224",
"n": "C8F1D25515E42A51D5B8FE6617F6B80A937517F399C9B281140C7C47F9F8D8AF2306196023487F9BACE8B066ECB608B6FFDC5978345979DEBFE498C8C5102C89E35449CDFBAF1926E737241C539B126C35917035E718CC6AF8B79628C63BE0170EB9BB614E14D5343EFC38A5A9806698D6B0C5D5DE947B913A9D2A9EB23DD5470195F3B3E06AB90F098458EA49541579181119D6D4FF6C1AD3CF37CE2E9A1E5D387EFE238B0362E6CED726D9F28B369235458F31D2E87D792704D6EE54F4EAFA469EB85DE185C8EB32167CD4C058F81951E9AC96F0802C63BC447D789BA911C5B31B4FDF138C80EAD4AAE5A0EE3E755ABA888E4C93DE8C94261D4943BB26B58F",
"e": "027ED3295D",
"testType": "GDT",
"message": "66EBD10FD2B48F84684D498E13FAB3201ACFE10D4D230BBDBD28D3B7263F2C4F1E4C297A69FDD0DD7750BCA3FDB1C840478502F6F365E290663B0CA29106D524F04740DC3BFAA51DC6D47230B371F9CACA65BEFC631D965F2964750F1A96B1E9807014F67C93A50582661389C50CF4DB4B273843F05694053DBD6FE1FF2783DA",
"signature": "92A802D35DF74567319E29BAF2A4F73D5794E10FBB8486AEF472AB3E19706572ED812B8E2C931B23E61EDBA9B8522D0C794D68391BF46A3D375A88C0E0116F91143481D624A9C6B5F353DCC0F7AEA7DC12ABCEB95470623BC06E03260ED4F4882F6DDC1EB221802B76880B82DE734711DDC4D19A997B25FFFA320C98258F73DDB5DDC04D28DEECA7C50D8B99DBD85A6BCB3BFAA7B710B2E78FCFD6D3939888F13C8A2F7F2E153C9F93F2B52003EBE78DE06903683FF054076F717920412B5415FDA19386B12DA7A63DDC8383E37188A74524F03910E0141C12E69485A777DFDC0DD73F624A360FD36BDD79D86B7F2C8822CB6B9BC8E30C5A1E1222418A1810A2"
},
What did you see happen?
This verification is failing
What did you expect to see?
The verification should pass
The text was updated successfully, but these errors were encountered: