[#OSSL_HPKE_CTX_set1_authpub] = OSSL_HPKE_CTX_set1_authpub :mrdocs: Set the sender authentication public key for AUTH / PSKAUTH modes. == Synopsis Declared in `<openssl/hpke.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_HPKE_CTX_set1_authpub( xref:OSSL_HPKE_CTX.adoc[OSSL_HPKE_CTX]* ctx, unsigned char const* pub, size_t publen); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Receiver HPKE context (call before OSSL_HPKE_decap()). | *pub* | Encoded sender authentication public key. | *publen* | Length of `pub` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#