call-rsa.c
This commit is contained in:
@@ -115,10 +115,8 @@ rsa_decrypt (const uint8_t *input, uint8_t *output, int msg_len)
|
|||||||
int r;
|
int r;
|
||||||
int output_len;
|
int output_len;
|
||||||
|
|
||||||
#ifdef DEBUG
|
DEBUG_INFO ("RSA decrypt:");
|
||||||
put_string ("RSA decrypt:");
|
DEBUG_WORD ((uint32_t)&output_len);
|
||||||
put_word ((uint32_t)&output_len);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
mpi_init (&P1, &Q1, &H, NULL);
|
mpi_init (&P1, &Q1, &H, NULL);
|
||||||
rsa_init (&rsa_ctx, RSA_PKCS_V15, 0);
|
rsa_init (&rsa_ctx, RSA_PKCS_V15, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user