/freebsd/contrib/bearssl/src/rsa/ |
H A D | rsa_i15_modulus.c | 33 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 D | rsa_i31_modulus.c | 33 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 D | rsa_i15_privexp.c | 63 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 D | rsa_i31_privexp.c | 63 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 D | getnetbydns.c | 271 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 D | gethostbydns.c | 565 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 D | hesiod.c | 349 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 D | ecdsatest.c | 77 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 D | drill.c | 151 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 D | ldns-host.c | 179 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 D | outside_network.c | 129 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() 2574 key.qbuf = sldns_buffer_begin(buff); 2631 sq->qbuf = regional_alloc_init(region, sldns_buffer_begin(buff), 2633 if(!sq->qbuf) { 2797 serviced_perturb_qname(struct ub_randstate* rnd, uint8_t* qbuf, size_t len) 2800 uint8_t* d = qbuf + 10; 2829 dname_str(qbuf+10, buf); 2859 serviced_perturb_qname(sq->outnet->rnd, sq->qbuf, sq->qbuflen); [all …]
|
H A D | mesh.h | 634 int mesh_make_new_space(struct mesh_area* mesh, struct sldns_buffer* qbuf);
|
H A D | outside_network.h | 456 uint8_t* qbuf; member
|
H A D | mesh.c | 273 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 D | dnstap.h | 208 uint8_t *qbuf, size_t qbuf_len,
|
H A D | dnstap.c | 574 uint8_t *qbuf, size_t qbuf_len, in dt_msg_send_outside_response() argument 586 memcpy(&qflags, qbuf, sizeof(qflags)); in dt_msg_send_outside_response()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | dma.c | 612 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 D | sm_resolve.c | 997 char qbuf[MAXNAME_I]; local 1021 (void) dequote_internal_chars((char *)domain, qbuf, sizeof(qbuf)); 1022 query = qbuf; 1023 qdomain = qbuf;
|
H A D | map.c | 3519 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); 3592 sm_dprintf("nisplus_map_open: %s is not a table\n", qbuf); 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); 3732 result = nis_list(qbuf, FOLLOW_LINKS | FOLLOW_PATH, NULL, NULL); [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_wwv.c | 940 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 D | t4_hw.c | 5541 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()
|