Set the sender authentication private key for AUTH / PSKAUTH modes.
Synopsis
Declared in <openssl/hpke.h>
int
OSSL_HPKE_CTX_set1_authpriv(
OSSL_HPKE_CTX* ctx,
EVP_PKEY* priv);
Return Value
1 on success, or 0 on error.
Parameters
Name |
Description |
ctx |
Sender HPKE context (call before OSSL_HPKE_encap()). |
priv |
Sender authentication private key using the same KEM as the suite. |
Created with MrDocs