Searched refs:DNSCRYPT_QUERY_HEADER_SIZE (Results 1 – 7 of 7) sorted by relevance
17 pub const DNSCRYPT_QUERY_HEADER_SIZE: usize = const21 DNSCRYPT_QUERY_HEADER_SIZE + DNSCRYPT_MAC_SIZE + DNSCRYPT_QUERY_MIN_PADDING_SIZE;62 let encrypted_packet = &wrapped_packet[DNSCRYPT_QUERY_HEADER_SIZE..];
66 if (dns_query_len <= DNSCRYPT_QUERY_HEADER_SIZE) { in find_cert()256 if (len <= DNSCRYPT_QUERY_HEADER_SIZE) { in dnscrypt_server_uncurve()304 len -= DNSCRYPT_QUERY_HEADER_SIZE; in dnscrypt_server_uncurve()
172 debug_assert(SIZE_MAX - DNSCRYPT_MAX_PADDING - DNSCRYPT_QUERY_HEADER_SIZE in client_proxy_read_cb()175 dns_query_len + DNSCRYPT_MAX_PADDING + DNSCRYPT_QUERY_HEADER_SIZE; in client_proxy_read_cb()179 if (dns_query_len + DNSCRYPT_QUERY_HEADER_SIZE > max_len) { in client_proxy_read_cb()
86 #define DNSCRYPT_QUERY_HEADER_SIZE \ macro
311 assert(SIZE_MAX - DNSCRYPT_MAX_PADDING - DNSCRYPT_QUERY_HEADER_SIZE > in client_to_proxy_cb()
31 #define DNSCRYPT_QUERY_HEADER_SIZE \ macro
261 if (len <= DNSCRYPT_QUERY_HEADER_SIZE) { in dnscrypt_server_uncurve()362 len -= DNSCRYPT_QUERY_HEADER_SIZE; in dnscrypt_server_uncurve()661 if (sldns_buffer_limit(buffer) < DNSCRYPT_QUERY_HEADER_SIZE) { in dnsc_find_cert()