[#EVP_PKEY_CTX_add1_hkdf_info]
= EVP&lowbar;PKEY&lowbar;CTX&lowbar;add1&lowbar;hkdf&lowbar;info
:mrdocs:

Append octets to the HKDF info&sol;context parameter on a PKEY HKDF context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;CTX&lowbar;add1&lowbar;hkdf&lowbar;info(
    xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx,
    unsigned char const* info,
    int infolen);
----

== Return Value

1 on success, or a negative value on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Key derivation context configured for HKDF&period;
| *info*
| Additional info bytes to append (copied)&period;
| *infolen*
| Length of `info` in bytes&period;
|===


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