Searched refs:srt_gen (Results 1 – 3 of 3) sorted by relevance
25 QUIC_SRT_GEN *srt_gen; in ossl_quic_srt_gen_new() local28 if ((srt_gen = OPENSSL_zalloc(sizeof(*srt_gen))) == NULL) in ossl_quic_srt_gen_new()34 if ((srt_gen->mac_ctx = EVP_MAC_CTX_new(srt_gen->mac)) == NULL) in ossl_quic_srt_gen_new()46 return srt_gen; in ossl_quic_srt_gen_new()49 ossl_quic_srt_gen_free(srt_gen); in ossl_quic_srt_gen_new()53 void ossl_quic_srt_gen_free(QUIC_SRT_GEN *srt_gen) in ossl_quic_srt_gen_free() argument55 if (srt_gen == NULL) in ossl_quic_srt_gen_free()58 EVP_MAC_CTX_free(srt_gen->mac_ctx); in ossl_quic_srt_gen_free()59 EVP_MAC_free(srt_gen->mac); in ossl_quic_srt_gen_free()60 OPENSSL_free(srt_gen); in ossl_quic_srt_gen_free()[all …]
53 QUIC_SRT_GEN *srt_gen = NULL; in test_srt_gen() local57 if (!TEST_ptr(srt_gen = ossl_quic_srt_gen_new(NULL, NULL, in test_srt_gen()64 if (!TEST_true(ossl_quic_srt_gen_calculate_token(srt_gen, &t->dcid, in test_srt_gen()75 ossl_quic_srt_gen_free(srt_gen); in test_srt_gen()
46 void ossl_quic_srt_gen_free(QUIC_SRT_GEN *srt_gen);52 int ossl_quic_srt_gen_calculate_token(QUIC_SRT_GEN *srt_gen,
Completed in 6 milliseconds