#include <nitro/crypto/sign.h>
int CRYPTO_SIGN_GetModulus(
const void* pub_ptr
);
pub_ptr |
Specifies the pointer to the public key. |
Returns one of the following process results.
Not NULL |
The analysis succeeded, and a pointer to the modulus of the public key is returned. |
NULL |
Analysis failed. |
Analyzes the location of the modulus of the public key, and returns a pointer to that location. In pub_ptr, provide a pointer to the public key to use during signature verification. The pointer that is returned can be specified for the mod_ptr argument of functions such as CRYPTO_VerifySignature or CRYPTO_VerifySignatureWithHash.
Using this function makes it unnecessary to search for the modulus of the public key.
CRYPTO_VerifySignature
CRYPTO_VerifySignatureWithHash
2008/09/16 Initial version.
CONFIDENTIAL