| /src/crypto/external/apache2/openssl/dist/test/ |
| quic_srtm_test.c | 22 QUIC_SRTM *srtm; local 26 if (!TEST_ptr(srtm = ossl_quic_srtm_new(NULL, NULL))) 29 if (!TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 0, &token_1)) 30 || !TEST_false(ossl_quic_srtm_add(srtm, ptrs + 0, 0, &token_1)) 31 || !TEST_false(ossl_quic_srtm_remove(srtm, ptrs + 0, 1)) 32 || !TEST_false(ossl_quic_srtm_remove(srtm, ptrs + 3, 0)) 33 || !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 3)) 34 || !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 3)) 35 || !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 1, &token_1)) 36 || !TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 2, &token_1) [all...] |
| /src/crypto/external/apache2/openssl/dist/fuzz/ |
| quic-srtm.c | 48 QUIC_SRTM *srtm = NULL; local 55 if ((srtm = ossl_quic_srtm_new(NULL, NULL)) == NULL) { 80 ossl_quic_srtm_add(srtm, (void *)(uintptr_t)arg_opaque, 82 ossl_quic_srtm_check(srtm); 90 ossl_quic_srtm_remove(srtm, (void *)(uintptr_t)arg_opaque, 92 ossl_quic_srtm_check(srtm); 99 ossl_quic_srtm_cull(srtm, (void *)(uintptr_t)arg_opaque); 100 ossl_quic_srtm_check(srtm); 109 ossl_quic_srtm_lookup(srtm, &arg_token, (size_t)arg_idx, 111 ossl_quic_srtm_check(srtm); [all...] |
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_port_local.h | 83 /* SRTM used for incoming packet routing by SRT. */ 84 QUIC_SRTM *srtm; member in struct:quic_port_st
|
| quic_srtm.c | 27 * The SRTM is implemented using two LHASH instances, one matching opaque pointers to 39 * It is expected one SRTM will exist per QUIC_PORT and track all SRTs across 100 static int srtm_check_lh(QUIC_SRTM *srtm, LHASH_OF(SRTM_ITEM) *lh) 103 srtm->alloc_failed = 1; 112 QUIC_SRTM *srtm = NULL; local 119 if ((srtm = OPENSSL_zalloc(sizeof(*srtm))) == NULL) 126 if ((srtm->blind_ctx = EVP_CIPHER_CTX_new()) == NULL) 129 if (!EVP_EncryptInit_ex2(srtm->blind_ctx, ecb, key, NULL, NULL)) 136 if ((srtm->items_fwd = lh_SRTM_ITEM_new(items_fwd_hash, items_fwd_cmp)) == NUL [all...] |
| quic_channel_local.h | 76 /* SRTM we register SRTs with. */ 77 QUIC_SRTM *srtm; member in struct:quic_channel_st
|
| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| quic_channel.h | 117 /* SRTM to register SRTs with. */ 118 QUIC_SRTM *srtm; member in struct:quic_channel_args_st
|