Return whether an EC_GROUP encodes as a named curve or with explicit parameters.

Synopsis

Declared in <openssl/ec.h>

int
EC_GROUP_get_asn1_flag(EC_GROUP const* group);

Return Value

OPENSSL_EC_NAMED_CURVE or OPENSSL_EC_EXPLICIT_CURVE (0 on older APIs).

Parameters

Name

Description

group

EC_GROUP whose ASN.1 encoding flag is queried.

Created with MrDocs