Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

How to use RSA library functions

Deleted_U_Intel
Employee
156 Views

Hi,

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*

pSize);

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!!!

 

 

 

0 Kudos
2 Replies
bqduong
Beginner
156 Views
Bump

Quoting - Hema Latha Gunda (Intel)

Hi,

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*

pSize);

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!!!

 

 

 

 

Chao_Y_Intel
Employee
156 Views

Hello,
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.

Thanks,
Chao

Reply