Elliptic Curve Integrated Encryption Scheme (ECIES) (huecc.h)

Elliptic Curve Integrated Encryption Scheme (ECIES) is a public key encryption scheme. The ECIES functions are defined in huecc.h.

An ECC parameters object is required to encrypt or decrypt using ECIES. The hu_ECCParamsCreate() function creates these objects. An ECC key object is also required. An RNG context is required if key generation will be performed.

ECIES Mode

The functions hu_ECIESKDFXOREncrypt() and hu_ECIESKDFXORDecrypt() each take an argument eciesMode, where you can specify the mode in which the ECIES algorithm should be performed.