Return the encapsulated public‐key size produced by OSSL_HPKE_encap() for suite.

Synopsis

Declared in <openssl/hpke.h>

size_t
OSSL_HPKE_get_public_encap_size(OSSL_HPKE_SUITE suite);

Return Value

Encapsulated key length in bytes, or 0 on error.

Parameters

Name

Description

suite

Suite whose KEM determines the encap length.

Created with MrDocs