mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
delegate RSA verify to the RSA module
This commit is contained in:
1 parent
f055e45755
commit
f8816d67c3
6 files changed
+125
-20
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user