Searched refs:test_md3_noannotation (Results 1 – 2 of 2) sorted by relevance
/dports/security/tor/tor-0.4.6.8/src/test/ |
H A D | test_microdesc.c | 75 const char *test_md3_noannotation = strchr(test_md3, '\n')+1; in test_md_cache() local 97 tt_assert(!strcmpstart(test_md3_noannotation, "onion-key")); in test_md_cache() 101 crypto_digest256(d3, test_md3_noannotation, strlen(test_md3_noannotation), in test_md_cache() 141 added = microdescs_add_to_cache(mc, test_md3_noannotation, NULL, in test_md_cache() 165 tt_int_op(md3->bodylen, OP_EQ, strlen(test_md3_noannotation)); in test_md_cache() 168 tt_mem_op(md3->body, OP_EQ, test_md3_noannotation, in test_md_cache() 169 strlen(test_md3_noannotation)); in test_md_cache() 205 tt_mem_op(md3->body, OP_EQ, s + md3->off, strlen(test_md3_noannotation)); in test_md_cache() 219 tt_mem_op(md3->body, OP_EQ, s + md3->off, strlen(test_md3_noannotation)); in test_md_cache() 240 added = microdescs_add_to_cache(mc, test_md3_noannotation, NULL, in test_md_cache()
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/test/ |
H A D | test_microdesc.c | 75 const char *test_md3_noannotation = strchr(test_md3, '\n')+1; in test_md_cache() local 97 tt_assert(!strcmpstart(test_md3_noannotation, "onion-key")); in test_md_cache() 101 crypto_digest256(d3, test_md3_noannotation, strlen(test_md3_noannotation), in test_md_cache() 141 added = microdescs_add_to_cache(mc, test_md3_noannotation, NULL, in test_md_cache() 165 tt_int_op(md3->bodylen, OP_EQ, strlen(test_md3_noannotation)); in test_md_cache() 168 tt_mem_op(md3->body, OP_EQ, test_md3_noannotation, in test_md_cache() 169 strlen(test_md3_noannotation)); in test_md_cache() 205 tt_mem_op(md3->body, OP_EQ, s + md3->off, strlen(test_md3_noannotation)); in test_md_cache() 219 tt_mem_op(md3->body, OP_EQ, s + md3->off, strlen(test_md3_noannotation)); in test_md_cache() 240 added = microdescs_add_to_cache(mc, test_md3_noannotation, NULL, in test_md_cache()
|