#### Topic: RSA decryption failed, this is the code

```
WOLFSSL_RSA* ppri_key = NULL;
int nfLen = 128;
unsigned char uszDeData[1024] = {0};
ppri_key = wolfSSL_RSA_new();
ppri_key->e = wolfSSL_BN_bin2bn(PUBLIC_EXPONENT_HEX,3,NULL);
ppri_key->d = wolfSSL_BN_bin2bn(PRIVATE_EXPONENT_HEX,128,NULL);
ppri_key->n = wolfSSL_BN_bin2bn(MODULES_HEX,128,NULL);
int nRet = wolfSSL_RSA_private_decrypt(nfLen,upszEnData,uszDeData,ppri_key,RSA_PKCS1_PADDING);
```

It returns - 1,and uszDeData is empty.

How to use large number to construct private key to decrypt？Please give me an example. Thanks!

If the **upszEnData** length exceeds 2048,how to do it?