Gets the size of the IppsGFPState context of the finite field GF(p).
IppStatus ippsGFPGetSize(Ipp32u bitSize, Ipp32u *stateSizeInBytes);
bitSize |
Size in bytes of the odd prime number p (modulus of GF(p)). |
stateSizeInBytes |
Buffer size in bytes needed for the IppsGFPState context. |
This function is declared in the ippcp.h file. The function returns the size of the buffer associated with the IppsGFPState context, suitable for storing data for the finite field GF(p) determined by the odd prime number p of size not greater than bitSize bit.
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 bitSize is less than 2. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.