Return a non‐owning pointer to the RSA‐OAEP label configured on an EVP_PKEY_CTX.

Synopsis

Declared in <openssl/rsa.h>

int
EVP_PKEY_CTX_get0_rsa_oaep_label(
    EVP_PKEY_CTX* ctx,
    unsigned char** label);

Return Value

Label length in bytes on success, or a negative value for unsupported / failure.

Parameters

Name

Description

ctx

Context whose padding mode must be RSA_PKCS1_OAEP_PADDING.

label

Receives a pointer to the internal label bytes (do not free); may be NULL.

Created with MrDocs