OSSL_HPKE_CTX_set_seq

Set the AEAD sequence number used on the next seal/open call (receivers only).

Synopsis

Declared in <openssl/hpke.h>

int
OSSL_HPKE_CTX_set_seq(
    OSSL_HPKE_CTX* ctx,
    uint64_t seq);

Return Value

1 on success, or 0 on error.

Parameters

NameDescription
ctxReceiver HPKE context; fails if ctx is a sender context.
seqSequence / nonce increment value to install.