Visible to Intel only — GUID: GUID-29EE8F87-6131-4B71-A520-3F3AE705EE71
Visible to Intel only — GUID: GUID-29EE8F87-6131-4B71-A520-3F3AE705EE71
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 (P) range” |
ippDLInvalidOrderRange |
Invalid Order (R) range” |
ippDLCompositeBase |
“Composite Base (P)” |
ippDLCompositeOrder |
“Composite Order (R)” |
ippDLInvalidCofactor |
“R does not divide (P -1)” |
ippDLInvalidGenerator |
“1 != G^R (mod P)” |
ippDLInvalidPrivateKey |
“Invalid Private Key” |
ippDLInvalidPublicKey |
“Invalid Public Key” |
ippDLInvalidKeyPair |
“Invalid Key Pair” |
ippDLInvalidSignature |
“Invalid Signature” |
Related Information