[#EC_GROUP_set_seed]
= EC&lowbar;GROUP&lowbar;set&lowbar;seed
:mrdocs:

Set the optional seed bytes associated with an EC&lowbar;GROUP&period;

== Synopsis

Declared in `&lt;openssl&sol;ec&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
EC&lowbar;GROUP&lowbar;set&lowbar;seed(
    xref:EC_GROUP.adoc[EC&lowbar;GROUP]* group,
    unsigned char const* seed,
    size&lowbar;t len);
----

== Return Value

The seed length stored on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *group*
| Group whose seed is updated&period;
| *seed*
| Seed octets to copy, or NULL to clear when `len` is 0&period;
| *len*
| Number of bytes at `seed&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
