Developer Reference for Intel® Integrated Performance Primitives Cryptography
Extracts the big number modulus.
IppStatus ippsMontGet(Ipp32u *pModulo, int *pSize, const IppsMontState *pCtx);
ippcp.h
pCtx |
Pointer to the context IppsMontState. |
pModulo |
Pointer to the modulus data field. |
pSize |
Pointer to the modulus data size in Ipp32u chunks. |
The function extracts the big number modulus from the input IppsMontState *pCtx.
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. |
ippStsContextMatchErr |
Indicates an error condition if pCtx does not match the operation. |