EC_KEY_set_flags

Set the given flag bits on an EC_KEY (deprecated; OR'd with existing flags).

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
void
EC_KEY_set_flags(
    EC_KEY* key,
    int flags);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
keyElliptic-curve key object to update.
flagsFlag mask such as EC_FLAG_COFACTOR_ECDH or EC_FLAG_CHECK_NAMED_GROUP.