Set the RSA‐OAEP label on an EVP_PKEY_CTX, transferring ownership of label.
Synopsis
Declared in <openssl/rsa.h>
int
EVP_PKEY_CTX_set0_rsa_oaep_label(
EVP_PKEY_CTX* ctx,
void* label,
int llen);
Description
The library takes ownership of label; the caller must not free it afterwards.
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. |
label |
Label bytes to adopt, or NULL (with |
llen |
Length of |
Created with MrDocs