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