.. _eccpgetsize: ECCPGetSize =========== Gets the size of the IppsECCPState context. Syntax ------ IppStatus ippsECCPGetSize(int feBitSize, int \*pSize); Include Files ------------- ``ippcp.h`` Parameters ---------- .. list-table:: :header-rows: 0 * - feBitSize - Size (in bits) of the underlying prime number. * - pSize - Pointer to the size (in bytes) of the context. Description ----------- The function computes the size of the context in bytes for the elliptic cryptosystem over a prime finite field GF (*p*). *Context* is a structure IppsECCPState designed to store information about the cryptosystem status. .. note:: For security reasons, the length of the underlying prime number is restricted to 1 kilobit. Return Values ------------- .. list-table:: :header-rows: 0 * - 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. * - ippStsSizeErr - Indicates an error condition if the value of the parameter feBitSize is less than 2.