Home
last modified time | relevance | path

Searched refs:qbuf (Results 1 – 18 of 18) sorted by relevance

/freebsd-13.1/contrib/bearssl/src/rsa/
H A Drsa_i31_modulus.c33 const unsigned char *pbuf, *qbuf; in br_rsa_i31_compute_modulus() local
45 qbuf = sk->q; in br_rsa_i31_compute_modulus()
47 while (qlen > 0 && *qbuf == 0) { in br_rsa_i31_compute_modulus()
48 qbuf ++; in br_rsa_i31_compute_modulus()
73 br_i31_decode(t, qbuf, qlen); in br_rsa_i31_compute_modulus()
H A Drsa_i15_modulus.c33 const unsigned char *pbuf, *qbuf; in br_rsa_i15_compute_modulus() local
45 qbuf = sk->q; in br_rsa_i15_compute_modulus()
47 while (qlen > 0 && *qbuf == 0) { in br_rsa_i15_compute_modulus()
48 qbuf ++; in br_rsa_i15_compute_modulus()
73 br_i15_decode(t, qbuf, qlen); in br_rsa_i15_compute_modulus()
H A Drsa_i15_privexp.c63 const unsigned char *pbuf, *qbuf; in br_rsa_i15_compute_privexp() local
89 qbuf = sk->q; in br_rsa_i15_compute_privexp()
91 while (qlen > 0 && *qbuf == 0) { in br_rsa_i15_compute_privexp()
92 qbuf ++; in br_rsa_i15_compute_privexp()
96 || (qbuf[qlen - 1] & 1) != 1) in br_rsa_i15_compute_privexp()
113 br_i15_decode(q, qbuf, qlen); in br_rsa_i15_compute_privexp()
H A Drsa_i31_privexp.c63 const unsigned char *pbuf, *qbuf; in br_rsa_i31_compute_privexp() local
89 qbuf = sk->q; in br_rsa_i31_compute_privexp()
91 while (qlen > 0 && *qbuf == 0) { in br_rsa_i31_compute_privexp()
92 qbuf ++; in br_rsa_i31_compute_privexp()
96 || (qbuf[qlen - 1] & 1) != 1) in br_rsa_i31_compute_privexp()
113 br_i31_decode(q, qbuf, qlen); in br_rsa_i31_compute_privexp()
/freebsd-13.1/lib/libc/net/
H A Dgetnetbydns.c277 char qbuf[MAXDNAME]; in _dns_getnetbyaddr() local
314 sprintf(qbuf, "0.0.0.%u.in-addr.arpa", netbr[3]); in _dns_getnetbyaddr()
317 sprintf(qbuf, "0.0.%u.%u.in-addr.arpa", netbr[3], netbr[2]); in _dns_getnetbyaddr()
320 sprintf(qbuf, "0.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _dns_getnetbyaddr()
324 sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _dns_getnetbyaddr()
333 anslen = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf, in _dns_getnetbyaddr()
383 char qbuf[MAXDNAME]; in _dns_getnetbyname() local
412 strncpy(qbuf, net, sizeof(qbuf) - 1); in _dns_getnetbyname()
413 qbuf[sizeof(qbuf) - 1] = '\0'; in _dns_getnetbyname()
414 anslen = res_nsearch(statp, qbuf, C_IN, T_PTR, (u_char *)buf, in _dns_getnetbyname()
H A Dgethostbydns.c569 char qbuf[MAXDNAME+1], *qp; in _dns_gethostbyaddr() local
601 (void) sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", in _dns_gethostbyaddr()
608 qp = qbuf; in _dns_gethostbyaddr()
614 strlcat(qbuf, "ip6.arpa", sizeof(qbuf)); in _dns_gethostbyaddr()
624 n = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf->buf, in _dns_gethostbyaddr()
638 if (gethostanswer(buf, n, qbuf, T_PTR, &he, hed, statp) != 0) { in _dns_gethostbyaddr()
H A Dhesiod.c373 unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; local
383 NULL, qbuf, PACKETSZ);
388 n = res_send(qbuf, n, abuf, MAX_HESRESP);
/freebsd-13.1/contrib/ldns/drill/
H A Ddrill.c151 uint16_t qbuf; in main() local
197 qbuf = 0; in main()
279 qbuf = (uint16_t)atoi(optarg); in main()
280 if (qbuf == 0) { in main()
586 if (qbuf != 0) { in main()
587 ldns_resolver_set_edns_udp_size(res, qbuf); in main()
/freebsd-13.1/contrib/ldns-host/
H A Dldns-host.c179 ldns_buffer *qbuf = NULL; in ldns_tcp_start() local
196 qbuf = ldns_buffer_new(LDNS_MAX_PACKETLEN); in ldns_tcp_start()
197 if (qbuf == NULL) { in ldns_tcp_start()
202 status = ldns_pkt2buffer_wire(qbuf, qpkt); in ldns_tcp_start()
206 if (ldns_tcp_send_query(qbuf, res->_socket, ns, (socklen_t)ns_len) == 0) { in ldns_tcp_start()
211 ldns_buffer_free(qbuf); in ldns_tcp_start()
216 ldns_buffer_free(qbuf); in ldns_tcp_start()
/freebsd-13.1/contrib/unbound/dnstap/
H A Ddnstap.h194 uint8_t *qbuf, size_t qbuf_len,
H A Ddnstap.c514 uint8_t *qbuf, size_t qbuf_len, in dt_msg_send_outside_response() argument
523 memcpy(&qflags, qbuf, sizeof(qflags)); in dt_msg_send_outside_response()
/freebsd-13.1/contrib/unbound/services/
H A Doutside_network.c133 if((r = memcmp(q1->qbuf, q2->qbuf, 10)) != 0) in serviced_cmp()
135 if((r = memcmp(q1->qbuf+q1->qbuflen-4, q2->qbuf+q2->qbuflen-4, 4)) != 0) in serviced_cmp()
142 if((r = query_dname_compare(q1->qbuf+10, q2->qbuf+10)) != 0) in serviced_cmp()
2487 key.qbuf = sldns_buffer_begin(buff);
2544 if(!sq->qbuf) {
2735 uint8_t* d = qbuf + 10;
2764 dname_str(qbuf+10, buf);
2865 uint8_t* d2 = qbuf+10;
2887 if(d2 > qbuf+qbuflen)
2949 !serviced_check_qname(c->buffer, sq->qbuf,
[all …]
H A Dmesh.h629 int mesh_make_new_space(struct mesh_area* mesh, struct sldns_buffer* qbuf);
H A Doutside_network.h454 uint8_t* qbuf; member
H A Dmesh.c329 int mesh_make_new_space(struct mesh_area* mesh, sldns_buffer* qbuf) in mesh_make_new_space() argument
348 if(qbuf) sldns_buffer_copy(mesh->qbuf_bak, qbuf); in mesh_make_new_space()
360 if(qbuf) sldns_buffer_copy(qbuf, mesh->qbuf_bak); in mesh_make_new_space()
/freebsd-13.1/contrib/sendmail/src/
H A Dmap.c3335 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local
3362 (void) sm_strlcpy(qbuf, map->map_file, sizeof(qbuf));
3367 (void) sm_strlcpyn(qbuf, sizeof(qbuf), 3,
3479 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local
3539 (void) sm_snprintf(qbuf, sizeof(qbuf), "[%s=%s],%s.%s",
3543 (void) sm_snprintf(qbuf, sizeof(qbuf), "[%s=%s],%s",
3547 sm_dprintf("qbuf=%s\n", qbuf);
3618 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local
3631 (void) sm_snprintf(qbuf, sizeof(qbuf),
3638 (void) sm_snprintf(qbuf, sizeof(qbuf),
[all …]
/freebsd-13.1/contrib/ntp/ntpd/
H A Drefclock_wwv.c940 static double qbuf[DATSIZ]; /* data Q channel delay line */ in wwv_rf() local
985 memset((char *)qbuf, 0, sizeof(qbuf)); in wwv_rf()
1041 up->qrig -= qbuf[iptr]; in wwv_rf()
1042 qbuf[iptr] = dtemp; in wwv_rf()
/freebsd-13.1/sys/dev/cxgbe/common/
H A Dt4_hw.c5615 u16 qbuf[3]; in t4_config_rss_range() local
5616 u16 *qbp = qbuf; in t4_config_rss_range()
5620 qbuf[0] = qbuf[1] = qbuf[2] = 0; in t4_config_rss_range()
5628 *qp++ = cpu_to_be32(V_FW_RSS_IND_TBL_CMD_IQ0(qbuf[0]) | in t4_config_rss_range()
5629 V_FW_RSS_IND_TBL_CMD_IQ1(qbuf[1]) | in t4_config_rss_range()
5630 V_FW_RSS_IND_TBL_CMD_IQ2(qbuf[2])); in t4_config_rss_range()