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

Name

Description

ctx

HPKE context to query.

seq

Receives the next sequence / nonce increment value.

Created with MrDocs