Home
last modified time | relevance | path

Searched refs:htype (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/crypto/libecc/src/examples/hash/
H A Dhash.c17 hash_alg_type htype = UNKNOWN_HASH_ALG; in get_libecc_hash() local
24 htype = SHA224; in get_libecc_hash()
30 htype = SHA256; in get_libecc_hash()
36 htype = SHA384; in get_libecc_hash()
42 htype = SHA512; in get_libecc_hash()
48 htype = SHA512_224; in get_libecc_hash()
54 htype = SHA512_256; in get_libecc_hash()
60 htype = SHA3_224; in get_libecc_hash()
66 htype = SHA3_256; in get_libecc_hash()
72 htype = SHA3_384; in get_libecc_hash()
[all …]
/freebsd/libexec/bootpd/
H A Dreadfile.c134 byte htype; member
420 if (hp->flags.htype && hp->flags.haddr) { in readtab()
423 hashcode = hash_HashFunction(hp->haddr, haddrlength(hp->htype)); in readtab()
426 netname(hp->htype), in readtab()
427 haddrtoa(hp->haddr, haddrlength(hp->htype))); in readtab()
876 if (hp->flags.htype == 0) { in eval_symbol()
877 hp->flags.htype = TRUE; in eval_symbol()
878 hp->htype = HTYPE_ETHERNET; in eval_symbol()
880 tmphaddr = prs_haddr(symbol, hp->htype); in eval_symbol()
883 bcopy(tmphaddr, hp->haddr, haddrlength(hp->htype)); in eval_symbol()
[all …]
H A Dlookup.c29 lookup_hwa(char *hostname, int htype) in lookup_hwa() argument
31 switch (htype) { in lookup_hwa()
50 report(LOG_ERR, "no lookup for HW addr type %d", htype); in lookup_hwa()
H A Dbootpd.h104 htype :1, member
180 htype, /* RFC826 says this should be 16-bits but member
H A Ddumptab.c176 if (hp->flags.htype) { in dump_host()
177 int hlen = haddrlength(hp->htype); in dump_host()
178 fprintf(fp, "\\\n\t:ht=%u:", (unsigned) hp->htype); in dump_host()
H A Dlookup.h5 extern u_char *lookup_hwa(char *hostname, int htype);
/freebsd/contrib/unbound/validator/
H A Dval_secalgo.c1238 nss_setup_key_digest(int algo, SECKEYPublicKey** pubkey, HASH_HashType* htype, in nss_setup_key_digest() argument
1272 *htype = HASH_AlgSHA1; in nss_setup_key_digest()
1294 *htype = HASH_AlgSHA256; in nss_setup_key_digest()
1301 *htype = HASH_AlgSHA512; in nss_setup_key_digest()
1308 *htype = HASH_AlgSHA1; in nss_setup_key_digest()
1328 *htype = HASH_AlgMD5; in nss_setup_key_digest()
1341 *htype = HASH_AlgSHA256; in nss_setup_key_digest()
1351 *htype = HASH_AlgSHA384; in nss_setup_key_digest()
1386 HASH_HashType htype = 0; in verify_canonrrset() local
1395 if(!nss_setup_key_digest(algo, &pubkey, &htype, key, keylen, in verify_canonrrset()
[all …]
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_iface.c99 uintptr_t htype; in ipfw_kifhandler() local
105 htype = (uintptr_t)arg; in ipfw_kifhandler()
116 if (htype == 1) in ipfw_kifhandler()
/freebsd/contrib/wpa/src/common/
H A Ddhcp.h44 u8 htype; member
63 u8 htype; member
/freebsd/sys/sys/
H A Dstats.h459 #define STATS_VSS_HIST(htype, hist_hlpr_info) STATS_VSS(VS_STYPE_HIST, 0, \ argument
460 htype, (vss_hlpr_fn)&stats_vss_hist_hlpr, \
486 #define HIST_VSDSZ2NBKTS(htype, dsz) \ argument
487 ((dsz - sizeof(struct voistatdata_##htype)) / \
488 sizeof(TYPEOF_MEMBER(struct voistatdata_##htype, bkts[0])))
490 #define HIST_NBKTS2VSDSZ(htype, nbkts) (sizeof(struct voistatdata_##htype) + \ argument
491 ((nbkts) * sizeof(TYPEOF_MEMBER_PTR(struct voistatdata_##htype, bkts))))
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_dtls.c1314 int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype) in dtls1_set_handshake_header() argument
1318 if (htype == SSL3_MT_CHANGE_CIPHER_SPEC) { in dtls1_set_handshake_header()
1325 dtls1_set_message_header(s, htype, 0, 0, 0); in dtls1_set_handshake_header()
1338 int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype) in dtls1_close_construct_packet() argument
1342 if ((htype != SSL3_MT_CHANGE_CIPHER_SPEC && !WPACKET_close(pkt)) in dtls1_close_construct_packet()
1347 if (htype != SSL3_MT_CHANGE_CIPHER_SPEC) { in dtls1_close_construct_packet()
1354 if (htype != DTLS1_MT_HELLO_VERIFY_REQUEST) { in dtls1_close_construct_packet()
1356 if (!dtls1_buffer_message(s, htype == SSL3_MT_CHANGE_CIPHER_SPEC in dtls1_close_construct_packet()
/freebsd/sbin/dhclient/
H A Dparse.c168 hardware->htype = HTYPE_ETHER; in parse_hardware_param()
171 hardware->htype = HTYPE_IEEE802; in parse_hardware_param()
174 hardware->htype = HTYPE_FDDI; in parse_hardware_param()
H A Ddhcp.h61 u_int8_t htype; /* Hardware addr type (see net/if_types.h) */ member
H A Dpacket.c155 from->htype = ARPHRD_ETHER; in decode_hw_header()
H A Ddhclient.c1704 client_ident[0] = ip->hw_address.htype; in make_discover()
1720 ip->client->packet.htype = ip->hw_address.htype; in make_discover()
1827 client_ident[0] = ip->hw_address.htype; in make_request()
1843 ip->client->packet.htype = ip->hw_address.htype; in make_request()
1927 ip->client->packet.htype = ip->hw_address.htype; in make_decline()
H A Ddhcpd.h118 u_int8_t htype; member
H A Ddispatch.c120 iface->hw_address.htype = HTYPE_ETHER; /* XXX */ in discover_interfaces()
/freebsd/sys/dev/iicbus/rtc/
H A Dds13rtc.c481 const char *htype; in ds13rtc_get_chiptype()
487 device_get_unit(dev), "compatible", &htype) != 0) in ds13rtc_get_chiptype()
495 if (strcmp(htype, cdata->ocd_str) == 0) in ds13rtc_get_chiptype()
H A Dnxprtc.c895 const char *htype; in nxprtc_get_chiptype()
904 device_get_unit(dev), "compatible", &htype) == 0) { in nxprtc_get_chiptype()
906 if (strcmp(htype, cdata->ocd_str) == 0) in nxprtc_get_chiptype()
/freebsd/contrib/tcpdump/
H A Dprint-atalk.c49 nd_uint16_t htype, ptype; member
237 if (GET_BE_U_2(ap->htype) == 1 && in aarp_print()
255 length, GET_BE_U_2(ap->op), GET_BE_U_2(ap->htype), in aarp_print()
/freebsd/crypto/openssl/ssl/
H A Dssl_local.h2099 int (*close_construct_packet) (SSL *s, WPACKET *pkt, int htype);
2104 # define ssl_set_handshake_header(s, pkt, htype) \ argument
2105 s->method->ssl3_enc->set_handshake_header((s), (pkt), (htype))
2106 # define ssl_close_construct_packet(s, pkt, htype) \ argument
2107 s->method->ssl3_enc->close_construct_packet((s), (pkt), (htype))
2525 __owur int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2526 __owur int tls_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
2528 __owur int dtls1_set_handshake_header(SSL *s, WPACKET *pkt, int htype);
2529 __owur int dtls1_close_construct_packet(SSL *s, WPACKET *pkt, int htype);
H A Dt1_trce.c1427 unsigned char htype; in ssl_print_handshake() local
1431 htype = msg[0]; in ssl_print_handshake()
1435 ssl_trace_str(htype, ssl_handshake_tbl), (int)hlen); in ssl_print_handshake()
1452 switch (htype) { in ssl_print_handshake()
/freebsd/sbin/restore/
H A Dtape.c1465 int htype; in findinode()
1472 htype = header->c_type; in findinode()
1473 switch (htype) { in findinode()
1557 } while (htype == TS_ADDR); in findinode()
1464 int htype; findinode() local
/freebsd/contrib/wpa/src/wps/
H A Dwps_upnp_web.c1351 enum httpread_hdr_type htype = http_request_get_type(req); in web_connection_check_data() local
1365 htype, inet_ntoa(cli->sin_addr), htons(cli->sin_port)); in web_connection_check_data()
1367 switch (htype) { in web_connection_check_data()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_wired.c61 u_int8_t htype; member

12