DLGetResultString#
For DL-based cryptosystems, returns the character string corresponding to code that represents the result of validation.
Syntax#
const char* ippsDLGetResultString(IppDLResult code);
Include Files#
ippcp.h
Parameters#
code |
The code of the validation result. |
Description#
For DL-based cryptosystems, the function returns the character string corresponding to code that represents the result of validation.
Return Values#
Possible values of code and the corresponding character strings are as follows:
default |
“Unknown DL result” |
ippDLValid |
“Validation passed successfully” |
ippDLBaseIsEven |
“Base is even” |
ippDLOrderIsEven |
“Order is even” |
ippDLInvalidBaseRange |
“Invalid Base ( |
ippDLInvalidOrderRange |
Invalid Order ( |
ippDLCompositeBase |
“Composite Base ( |
ippDLCompositeOrder |
“Composite Order ( |
ippDLInvalidCofactor |
“ |
ippDLInvalidGenerator |
“1 != |
ippDLInvalidPrivateKey |
“Invalid Private Key” |
ippDLInvalidPublicKey |
“Invalid Public Key” |
ippDLInvalidKeyPair |
“Invalid Key Pair” |
ippDLInvalidSignature |
“Invalid Signature” |
Related Information