Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
5 Views

RSA usage

I have this chart flow in my mind:

1. ippsRSAGenerate(E) => get N, D
2. run ippsRSAEncrypt(), ippsRSADecrypt() with previous N, E, D.

My question is that ippsRSAGenerate() requires the parameter:

IppsRSAState* pCtx,

but IppStatus ippsRSAInit(int nBitsN, int nBitsP, IppRSAKeyType flag,
IppsRSAState* pCtx); requires me to provide the "flag" parameter, either public or private. I'm not sure which one I should choose?

0 Kudos
1 Reply
Highlighted
5 Views

Our expert recomendation is to

Choose theflag for private operation in Init function.

Regards,
Vladimir

0 Kudos