call-rsa.c

This commit is contained in:
NIIBE Yutaka
2010-09-12 16:18:59 +09:00
parent e512507c80
commit 8f029f96e9

View File

@@ -115,10 +115,8 @@ rsa_decrypt (const uint8_t *input, uint8_t *output, int msg_len)
int r;
int output_len;
#ifdef DEBUG
put_string ("RSA decrypt:");
put_word ((uint32_t)&output_len);
#endif
DEBUG_INFO ("RSA decrypt:");
DEBUG_WORD ((uint32_t)&output_len);
mpi_init (&P1, &Q1, &H, NULL);
rsa_init (&rsa_ctx, RSA_PKCS_V15, 0);