OSSL_HPKE_CTX_get_seq

Return the AEAD sequence number that will be used on the next seal/open call.

Synopsis

Declared in <openssl/hpke.h>

int
OSSL_HPKE_CTX_get_seq(
    OSSL_HPKE_CTX* ctx,
    uint64_t* seq);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
ctxHPKE context to query.
seqReceives the next sequence / nonce increment value.