The BCRYPT_OAEP_PADDING_INFO structure is used to provide options for the Optimal Asymmetric Encryption Padding (OAEP) scheme.
typedef struct _BCRYPT_OAEP_PADDING_INFO {
LPCWSTR pszAlgId;
PUCHAR pbLabel;
ULONG cbLabel;
} BCRYPT_OAEP_PADDING_INFO;
pszAlgId
A pointer to a null-terminated Unicode string that identifies the cryptographic algorithm to use to create the padding. This algorithm must be a hashing algorithm.
pbLabel
The address of a buffer that contains the data to use to create the padding. The cbLabel member contains the size of this buffer.
cbLabel
Contains the number of bytes in the pbLabel buffer to use to create the padding.
Header: Declared in bcrypt.h.
Library: Use bcrypt.lib.