Set the optional seed bytes associated with an EC_GROUP.

Synopsis

Declared in <openssl/ec.h>

size_t
EC_GROUP_set_seed(
    EC_GROUP* group,
    unsigned char const* seed,
    size_t len);

Return Value

The seed length stored on success, or 0 on failure.

Parameters

Name

Description

group

Group whose seed is updated.

seed

Seed octets to copy, or NULL to clear when len is 0.

len

Number of bytes at seed.

Created with MrDocs