delegate RSA verify to the RSA module

This commit is contained in:
Sergio R. Caprile committed 2026-07-01 12:31:11 -03:00
1 parent f055e45755
commit f8816d67c3
6 files changed
+125 -20

No files matched your search

+2
View File
@@ -10,5 +10,7 @@ int mg_rsa_crt_sign(const uint8_t *em, size_t em_len,
const uint8_t *q, size_t q_len,
const uint8_t *qInv, size_t qInv_len,
uint8_t *signature, size_t sig_len);
bool mg_rsa_pkcs_verify(const uint8_t *em, size_t nlen, const uint8_t *hash,
size_t hashlen);
bool mg_rsa_verify(const uint8_t *em, size_t nlen, const uint8_t *mhash);
#endif // TLS_RSA_H