Home
last modified time | relevance | path

Searched refs:lcid_len (Results 1 – 3 of 3) sorted by relevance

/src/crypto/openssl/ssl/quic/
H A Dquic_lcidm.c65 size_t lcid_len; /* Length in bytes for all LCIDs */ member
105 QUIC_LCIDM *ossl_quic_lcidm_new(OSSL_LIB_CTX *libctx, size_t lcid_len) in ossl_quic_lcidm_new() argument
109 if (lcid_len > QUIC_MAX_CONN_ID_LEN) in ossl_quic_lcidm_new()
129 lcidm->lcid_len = lcid_len; in ossl_quic_lcidm_new()
291 return lcidm->lcid_len; in ossl_quic_lcidm_get_lcid_len()
312 lcidm->next_lcid.id_len = (unsigned char)lcidm->lcid_len; in lcidm_generate_cid()
315 for (i = lcidm->lcid_len - 1; i >= 0; --i) in lcidm_generate_cid()
321 return ossl_quic_gen_rand_conn_id(lcidm->libctx, lcidm->lcid_len, cid); in lcidm_generate_cid()
/src/crypto/openssl/test/
H A Dquic_lcidm_test.c25 size_t lcid_len = 10; /* != ODCID len */ in test_lcidm() local
32 if (!TEST_ptr(lcidm = ossl_quic_lcidm_new(NULL, lcid_len))) in test_lcidm()
35 if (!TEST_size_t_eq(ossl_quic_lcidm_get_lcid_len(lcidm), lcid_len)) in test_lcidm()
/src/crypto/openssl/include/internal/
H A Dquic_lcidm.h106 QUIC_LCIDM *ossl_quic_lcidm_new(OSSL_LIB_CTX *libctx, size_t lcid_len);