EVP_PKEY_public_check_quick

Perform a fast (non-exhaustive) public-key validity check.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_public_check_quick(EVP_PKEY_CTX* ctx);

Description

Skips expensive checks that EVP_PKEY_public_check() may perform for some algorithms.

Return Value

1 if the key appears valid, 0 if invalid, or a negative value on error.

Parameters

NameDescription
ctxContext whose key is checked (from EVP_PKEY_CTX_new or similar).