Append octets to the HKDF info/context parameter on a PKEY HKDF context.

Synopsis

Declared in <openssl/kdf.h>

int
EVP_PKEY_CTX_add1_hkdf_info(
    EVP_PKEY_CTX* ctx,
    unsigned char const* info,
    int infolen);

Return Value

1 on success, or a negative value on error.

Parameters

Name

Description

ctx

Key derivation context configured for HKDF.

info

Additional info bytes to append (copied).

infolen

Length of info in bytes.

Created with MrDocs