Get the RSA‐OAEP message‐digest algorithm name from an EVP_PKEY_CTX.

Synopsis

Declared in <openssl/rsa.h>

int
EVP_PKEY_CTX_get_rsa_oaep_md_name(
    EVP_PKEY_CTX* ctx,
    char* name,
    size_t namelen);

Return Value

1 on success, or a negative value for unsupported / failure.

Parameters

Name

Description

ctx

Context whose padding mode must be RSA_PKCS1_OAEP_PADDING.

name

Buffer receiving the NUL‐terminated digest name.

namelen

Capacity of name in bytes.

Created with MrDocs