Developer Reference for Intel® Integrated Performance Primitives Cryptography
For DL-based cryptosystems, returns the character string corresponding to code that represents the result of validation.
const char* ippsDLGetResultString(IppDLResult code);
ippcp.h
code |
The code of the validation result. |
For DL-based cryptosystems, the function returns the character string corresponding to code that represents the result of validation.
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" |