ECCPGetSizeStd
ECCPGetSizeStd
Gets the size of the
IppsECCPState
context for a standard elliptic curve.Syntax
IppStatus ippsECCPGetSizeStd128r1(
int*
pSize
);
IppStatus ippsECCPGetSizeStd128r2(
int*
pSize
);
IppStatus ippsECCPGetSizeStd192r1(
int*
pSize
);
IppStatus ippsECCPGetSizeStd224r1(
int*
pSize
);
IppStatus ippsECCPGetSizeStd256r1(
int*
pSize
);
IppStatus ippsECCPGetSizeStd384r1(
int*
pSize
);
IppStatus ippsECCPGetSizeStd521r1(
int*
pSize
);
IppStatus ippsECCPGetSizeStdSM2(
int*
pSize
);
Include Files
ippcp.h
Parameters
- pSize
- Pointer to the size (in bytes) of theIppsECCPStatecontext for a standard elliptic curve.
Description
Each of these functions computes the size of the context in bytes for the elliptic curve cryptosystem based on a specific standard elliptic curve. For a list of these curves, see table Standard Elliptic Curves.
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 isNULL.