Home
last modified time | relevance | path

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

/freebsd/contrib/bearssl/src/rsa/
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_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_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/lib/libc/net/
H A Dgetnetbydns.c271 char qbuf[MAXDNAME]; in _dns_getnetbyaddr() local
308 sprintf(qbuf, "0.0.0.%u.in-addr.arpa", netbr[3]); in _dns_getnetbyaddr()
311 sprintf(qbuf, "0.0.%u.%u.in-addr.arpa", netbr[3], netbr[2]); in _dns_getnetbyaddr()
314 sprintf(qbuf, "0.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _dns_getnetbyaddr()
318 sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _dns_getnetbyaddr()
327 anslen = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf, in _dns_getnetbyaddr()
377 char qbuf[MAXDNAME]; in _dns_getnetbyname() local
406 strncpy(qbuf, net, sizeof(qbuf) - 1); in _dns_getnetbyname()
407 qbuf[sizeof(qbuf) - 1] = '\0'; in _dns_getnetbyname()
408 anslen = res_nsearch(statp, qbuf, C_IN, T_PTR, (u_char *)buf, in _dns_getnetbyname()
H A Dgethostbydns.c565 char qbuf[MAXDNAME+1], *qp; in _dns_gethostbyaddr() local
597 (void) sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", in _dns_gethostbyaddr()
604 qp = qbuf; in _dns_gethostbyaddr()
610 strlcat(qbuf, "ip6.arpa", sizeof(qbuf)); in _dns_gethostbyaddr()
620 n = res_nquery(statp, qbuf, C_IN, T_PTR, (u_char *)buf->buf, in _dns_gethostbyaddr()
634 if (gethostanswer(buf, n, qbuf, T_PTR, &he, hed, statp) != 0) { in _dns_gethostbyaddr()
H A Dhesiod.c349 unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; in get_txt_records() local
359 NULL, qbuf, PACKETSZ); in get_txt_records()
364 n = res_send(qbuf, n, abuf, MAX_HESRESP); in get_txt_records()
/freebsd/crypto/openssl/test/
H A Decdsatest.c77 unsigned char *pbuf = NULL, *qbuf = NULL, *message = NULL; in x9_62_tests() local
124 || !TEST_ptr(qbuf = OPENSSL_hexstr2buf(ecdsa_cavs_kats[n].Q, &q_len)) in x9_62_tests()
126 || !TEST_mem_eq(qbuf, q_len, pbuf, p_len)) in x9_62_tests()
149 OPENSSL_free(qbuf); in x9_62_tests()
/freebsd/contrib/ldns/drill/
H A Ddrill.c151 uint16_t qbuf; in main() local
202 qbuf = 0; in main()
286 qbuf = (uint16_t)atoi(optarg); in main()
287 if (qbuf == 0) { in main()
676 if (qbuf != 0) { in main()
677 ldns_resolver_set_edns_udp_size(res, qbuf); in main()
/freebsd/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/contrib/unbound/services/
H A Doutside_network.c129 if((r = memcmp(q1->qbuf, q2->qbuf, 10)) != 0) in serviced_cmp()
131 if((r = memcmp(q1->qbuf+q1->qbuflen-4, q2->qbuf+q2->qbuflen-4, 4)) != 0) in serviced_cmp()
138 if((r = query_dname_compare(q1->qbuf+10, q2->qbuf+10)) != 0) in serviced_cmp()
2563 key.qbuf = sldns_buffer_begin(buff);
2622 if(!sq->qbuf) {
2789 uint8_t* d = qbuf + 10;
2818 dname_str(qbuf+10, buf);
2926 uint8_t* d2 = qbuf+10;
2948 if(d2 > qbuf+qbuflen)
3010 !serviced_check_qname(c->buffer, sq->qbuf,
[all …]
H A Dmesh.h634 int mesh_make_new_space(struct mesh_area* mesh, struct sldns_buffer* qbuf);
H A Doutside_network.h456 uint8_t* qbuf; member
H A Dmesh.c273 int mesh_make_new_space(struct mesh_area* mesh, sldns_buffer* qbuf) in mesh_make_new_space() argument
292 if(qbuf) sldns_buffer_copy(mesh->qbuf_bak, qbuf); in mesh_make_new_space()
304 if(qbuf) sldns_buffer_copy(qbuf, mesh->qbuf_bak); in mesh_make_new_space()
/freebsd/contrib/unbound/dnstap/
H A Ddnstap.h200 uint8_t *qbuf, size_t qbuf_len,
H A Ddnstap.c532 uint8_t *qbuf, size_t qbuf_len, in dt_msg_send_outside_response() argument
541 memcpy(&qflags, qbuf, sizeof(qflags)); in dt_msg_send_outside_response()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Ddma.c612 struct mt76_queue_buf qbuf; in mt76_dma_rx_fill() local
625 qbuf.addr = addr + q->buf_offset; in mt76_dma_rx_fill()
626 qbuf.len = len - q->buf_offset; in mt76_dma_rx_fill()
627 qbuf.skip_unmap = false; in mt76_dma_rx_fill()
628 if (mt76_dma_add_rx_buf(dev, q, &qbuf, buf) < 0) { in mt76_dma_rx_fill()
/freebsd/contrib/sendmail/src/
H A Dsm_resolve.c997 char qbuf[MAXNAME_I]; local
1021 (void) dequote_internal_chars((char *)domain, qbuf, sizeof(qbuf));
1022 query = qbuf;
1023 qdomain = qbuf;
H A Dmap.c3519 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local
3546 (void) sm_strlcpy(qbuf, map->map_file, sizeof(qbuf));
3551 (void) sm_strlcpyn(qbuf, sizeof(qbuf), 3,
3558 res = nis_lookup(qbuf, FOLLOW_LINKS);
3663 char qbuf[MAXLINE + NIS_MAXNAMELEN]; local
3723 (void) sm_snprintf(qbuf, sizeof(qbuf), "[%s=%s],%s.%s",
3727 (void) sm_snprintf(qbuf, sizeof(qbuf), "[%s=%s],%s",
3731 sm_dprintf("qbuf=%s\n", qbuf);
3815 (void) sm_snprintf(qbuf, sizeof(qbuf),
3822 (void) sm_snprintf(qbuf, sizeof(qbuf),
[all …]
/freebsd/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/sys/dev/cxgbe/common/
H A Dt4_hw.c5541 u16 qbuf[3]; in t4_config_rss_range() local
5542 u16 *qbp = qbuf; in t4_config_rss_range()
5546 qbuf[0] = qbuf[1] = qbuf[2] = 0; in t4_config_rss_range()
5554 *qp++ = cpu_to_be32(V_FW_RSS_IND_TBL_CMD_IQ0(qbuf[0]) | in t4_config_rss_range()
5555 V_FW_RSS_IND_TBL_CMD_IQ1(qbuf[1]) | in t4_config_rss_range()
5556 V_FW_RSS_IND_TBL_CMD_IQ2(qbuf[2])); in t4_config_rss_range()