Developer Reference for Intel® Integrated Performance Primitives Cryptography 2018

MontGet

Extracts the big number modulus.

Syntax

IppStatus ippsMontGet(Ipp32u *n, int *length, const IppsMontState *m);

Include Files

ippcp.h

Parameters

m

context IppsMontState.

n

Modulus data field.

length

Modulus data length in Ipp32u chunks.

Description

The function extracts the big number modulus from the input IppsMontState *m.

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 is NULL.