Converts an element of the GF(p) field represented in the Montgomery residue number system to the regular GF(p) element.
IppStatus ippsGFPMontDecode(const IppsGFPElement *pGFpElementA, IppsGFPElement *pGFpElementR, IppsGFPState *pGFp);
pGFpElementA |
Pointer to the context of the given element of the GF(p) field. |
pGFpElementR |
Pointer to the context of the resulting element of the GF(p) field. |
pGFp |
Pointer to the context of the GF(p) field. |
This function is declared in the ippcp.h file. The function converts the element of the GF(p) field represented in the Montgomery residue number system to the regular GF(p) element. The following pseudocode represents this operation: R = MontMul(A, 1) (here MontMul denotes the Montgomery multiplication).
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. |
ippContextMatchErr |
Indicates an error condition if any of the IppsGFPState or IppsGFPElement context parameters does not match the operation. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.