Developer Reference for Intel® Integrated Performance Primitives Cryptography
Starts the ECES SM2 encryption or decryption chain.
IppStatus ippsGFpECESStart_SM2(IppsECES_StateSM2* pState);
ippcp.h
pState |
Pointer to the buffer being initialized as the ECES context. |
The function starts a chain of the ippsGFpECESEncrypt_SM2 or ippsGFpECESDecrypt_SM2 function calls. In fact, the functions starts computing the authentication tag as required in [SM2 PKE].
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 the IppsECES_StateSM2 context parameter does not match the operation. |