Visible to Intel only — GUID: GUID-BEFE145B-FB9F-45CF-9F1F-578D087BE294
Visible to Intel only — GUID: GUID-BEFE145B-FB9F-45CF-9F1F-578D087BE294
Functions based on SM2
Short Description
This section describes functions based on the SM2 encryption standard for elliptic curves. For more information on the Elliptic Curve Integrated Encryption Scheme, see IEEE P1363A. The standard operations of GFpEC functions are listed below:
Compute a shared secret Z of the private key U and a recipient public key W.
Derive a shared secret key data K from the shared secret Z.
Encrypt or decrypt a message using the cipher agreed upon parties and the shared secret key data K.
Compute an authentication tag using the agreed authentication scheme and the secret key data K.
As an encryption or decryption result, the Elliptic Curve Encryption Scheme (ECES) returns a buffer with the following components:
pk containing representation of the sender public key;
msg containing the encrypted or decrypted message;
tag containing the authentication tag.
The size of msg equals to the size of the plain-text message. To get the size of pk or tag, call the ippsGFpECESGetBuffersSize_SM2 function.
For more information on the SM2 cryptographic algorithm based on elliptic curves, see SM2 PKE.
- GFpECESGetSize_SM2
- GFpECESInit_SM2
- GFpECESSetKey_SM2
- GFpECESStart_SM2
- GFpECESEncrypt_SM2
- GFpECESDecrypt_SM2
- GFpECESFinal_SM2
- GFpECESGetBufferSize_SM2
- GFpECEncryptSM2_Ext_EncMsgSize
- GFpECDecryptSM2_Ext_DecMsgSize
- GFpECEncryptSM2_Ext
- GFpECDecryptSM2_Ext
- GFpECMessageRepresentationSM2
- GFpECUserIDHashSM2
- GFpECKeyExchangeSM2_GetSize
- GFpECKeyExchangeSM2_Init
- GFpECKeyExchangeSM2_Setup
- GFpECKeyExchangeSM2_SharedKey
- GFpECKeyExchangeSM2_Confirm