Lines Matching refs:seq
58 uint64_t seq; /* aead sequence number */ member
426 seq_copy = ctx->seq; in hpke_seqnonce2buf()
1027 int OSSL_HPKE_CTX_get_seq(OSSL_HPKE_CTX *ctx, uint64_t *seq) in OSSL_HPKE_CTX_get_seq() argument
1029 if (ctx == NULL || seq == NULL) { in OSSL_HPKE_CTX_get_seq()
1033 *seq = ctx->seq; in OSSL_HPKE_CTX_get_seq()
1037 int OSSL_HPKE_CTX_set_seq(OSSL_HPKE_CTX *ctx, uint64_t seq) in OSSL_HPKE_CTX_set_seq() argument
1052 ctx->seq = seq; in OSSL_HPKE_CTX_set_seq()
1169 if ((ctx->seq + 1) == 0) { /* wrap around imminent !!! */ in OSSL_HPKE_seal()
1188 ctx->seq++; in OSSL_HPKE_seal()
1211 if ((ctx->seq + 1) == 0) { /* wrap around imminent !!! */ in OSSL_HPKE_open()
1230 ctx->seq++; in OSSL_HPKE_open()