Parse a comma‐separated "kem,kdf,aead" string into an OSSL_HPKE_SUITE.

Synopsis

Declared in <openssl/hpke.h>

int
OSSL_HPKE_str2suite(
    char const* str,
    OSSL_HPKE_SUITE* suite);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

str

Suite string such as "x25519,hkdf‐sha256,aes‐128‐gcm" (case‐insensitive names or numeric ids).

suite

Destination suite filled on success.

Created with MrDocs