[#OSSL_HPKE_CTX_set1_authpriv] = OSSL_HPKE_CTX_set1_authpriv :mrdocs: Set the sender authentication private key for AUTH / PSKAUTH modes. == Synopsis Declared in `<openssl/hpke.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_HPKE_CTX_set1_authpriv( xref:OSSL_HPKE_CTX.adoc[OSSL_HPKE_CTX]* ctx, xref:EVP_PKEY.adoc[EVP_PKEY]* priv); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Sender HPKE context (call before OSSL_HPKE_encap()). | *priv* | Sender authentication private key using the same KEM as the suite. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#