Developer Guide and Reference for Intel® Integrated Performance Primitives Cryptography
A newer version of this document is available. Customers should click here to go to the newest version.
RSA_MB_GetBufferSizePublicKey, RSA_MB_GetBufferSizePrivateKey
Get the size of a temporary scratch buffer for future use in RSA multi-buffer operations.
Syntax
IppStatus ippsRSA_MB_GetBufferSizePublicKey(int*pBufferSize, const IppsRSAPublicKeyState*pKey);
IppStatus ippsRSA_MB_GetBufferSizePrivateKey(int*pBufferSize, const IppsRSAPrivateKeyState*pKey);
Include Files
ippcp.h
Parameters
pBufferSize  |  
        Pointer to the size of a temporary buffer.  |  
       
pKey  |  
        Pointer to the RSA key context.  |  
       
Description
These functions get the size of a temporary buffer for future use in public- or private-key RSA multi-buffer operations, respectively. The functions require any of 8 contexts that are used in a multi-buffer operation.
Return Values
ippStsNoErr  |  
        Indicates no error. Any other value indicates an error or warning.  |  
       
ippStsNullPtrErr  |  
        Indicates an error condition if any of the specified pointers is NULL .  |  
       
ippStsContextMatchErr  |  
        Indicates an error condition if any of the context parameters does not match the operation.  |  
       
ippStsIncompleteContextErr  |  
         
         
  |  
       
Related Information