I havepublic key components, N and E. I want to use RSA crypto library funcitons, but perturbed by the prototype of
the RSA API.
All RSA functions are taking length in bits ofn and p. For ex:
IppStatus ippsRSAGetSize(int nBitsN, int nBitsP, IppRSAKeyType flag, int*
Is this only valid for systems in which key generation and encryption takes place on one machine.
How is this valid if key generation & encryption takes place on diff machines?
It would be great if somebody could help mein figuring this out.
Thanks a lot!!!
here is some comments from the expert:
One can use ippRSAGetSize(nBitsN, 0, IppRSAPublic) for encryption operation, i.e. set nBitsP=0.
The nBitsP parameter is not used in case of flag= IppRSAPublic.