Home
last modified time | relevance | path

Searched refs:algo (Results 1 – 25 of 100) sorted by relevance

1234

/netbsd/src/sys/netinet/
Dportalgo.c155 uint16_t *mymin, uint16_t *mymax, uint16_t **pnext_ephemeral, int algo) in pcb_getports() argument
227 [portalgo_af][portalgo_range][algo]; in pcb_getports()
374 algo_bsd(int algo, uint16_t *port, struct inpcb *inp, kauth_cred_t cred) in algo_bsd() argument
383 &next_ephemeral, algo); in algo_bsd()
410 algo_random_start(int algo, uint16_t *port, struct inpcb *inp, in algo_random_start() argument
421 &next_ephemeral, algo); in algo_random_start()
464 algo_random_pick(int algo, uint16_t *port, struct inpcb *inp, in algo_random_pick() argument
475 &next_ephemeral, algo); in algo_random_pick()
602 algo_hash(int algo, uint16_t *port, struct inpcb *inp, in algo_hash() argument
614 &next_ephemeral, algo); in algo_hash()
[all …]
/netbsd/src/external/bsd/mdocml/dist/
DTODO18 - algo = difficulty of the new algorithm to be written
49 loc *** exist *** algo ** size ** imp ** (parser reorg would help)
53 loc ** exist *** algo * size * imp *
58 loc *** exist *** algo *** size ** imp *
63 loc ** exist *** algo *** size * imp ***
73 loc * exist *** algo *** size * imp **
78 loc * exist *** algo *** size ** imp **
83 loc *** exist *** algo ** size ** imp ** (parser reorg would help)
89 loc * exist *** algo *** size * imp *
93 loc * exist * algo * size * imp **
[all …]
/netbsd/src/external/ibm-public/postfix/dist/conf/
Dpostfix-tls-script821 algo=$1; shift
827 ensure_key "$algo" "$bits" "${oldkey}" || return 1
873 algo=$1; shift
879 new_server_cert "${algo}" "${bits}" "" "enable" "$@" || return 1
927 algo=$DEFALG
933 a) algo="${OPTARG}";;
945 case $algo in
949 *) $FATAL "Unsupported private key algorithm: $algo"
954 enable_server "${algo}" "${bits}" "$@" || exit 1
959 algo=$DEFALG
[all …]
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/
Dcore_algorithm.c143 const OSSL_ALGORITHM *algo, in ossl_algorithm_do_all() argument
180 char *ossl_algorithm_get1_first_name(const OSSL_ALGORITHM *algo) in ossl_algorithm_get1_first_name() argument
186 if (algo->algorithm_names == NULL) in ossl_algorithm_get1_first_name()
189 first_name_end = strchr(algo->algorithm_names, ':'); in ossl_algorithm_get1_first_name()
191 first_name_len = strlen(algo->algorithm_names); in ossl_algorithm_get1_first_name()
193 first_name_len = first_name_end - algo->algorithm_names; in ossl_algorithm_get1_first_name()
195 ret = OPENSSL_strndup(algo->algorithm_names, first_name_len); in ossl_algorithm_get1_first_name()
Dcore_fetch.c103 const OSSL_ALGORITHM *algo, in ossl_method_construct_this() argument
109 if ((method = data->mcm->construct(algo, provider, data->mcm_data)) in ossl_method_construct_this()
124 method, provider, algo->algorithm_names, in ossl_method_construct_this()
125 algo->property_definition, data->mcm_data); in ossl_method_construct_this()
/netbsd/src/crypto/external/bsd/openssl/dist/apps/
Dprogs.pl207 (my $algo = $cmd) =~ s/-.*//g;
210 } elsif (grep { $algo eq $_ } @disablables) {
211 print "#ifndef OPENSSL_NO_" . uc($algo) . "\n${str}#endif\n";
212 } elsif (my $disabler = $cipher_disabler{$algo}) {
Dspeed.c1736 const char *algo = *argv; in speed_main() local
1738 if (opt_found(algo, doit_choices, &i)) { in speed_main()
1742 if (strcmp(algo, "des") == 0) { in speed_main()
1746 if (strcmp(algo, "sha") == 0) { in speed_main()
1751 if (strcmp(algo, "openssl") == 0) /* just for compatibility */ in speed_main()
1754 if (strncmp(algo, "rsa", 3) == 0) { in speed_main()
1755 if (algo[3] == '\0') { in speed_main()
1759 if (opt_found(algo, rsa_choices, &i)) { in speed_main()
1765 if (strncmp(algo, "ffdh", 4) == 0) { in speed_main()
1766 if (algo[4] == '\0') { in speed_main()
[all …]
Dts.c448 X509_ALGOR *algo = NULL; in create_query() local
461 if ((algo = X509_ALGOR_new()) == NULL) in create_query()
463 if ((algo->algorithm = OBJ_nid2obj(EVP_MD_get_type(md))) == NULL) in create_query()
465 if ((algo->parameter = ASN1_TYPE_new()) == NULL) in create_query()
467 algo->parameter->type = V_ASN1_NULL; in create_query()
468 if (!TS_MSG_IMPRINT_set_algo(msg_imprint, algo)) in create_query()
498 X509_ALGOR_free(algo); in create_query()
/netbsd/src/external/bsd/wpa/dist/src/crypto/
Dcrypto_gnutls.c20 static int gnutls_digest_vector(int algo, size_t num_elem, in gnutls_digest_vector() argument
30 if (gcry_md_open(&hd, algo, 0) != GPG_ERR_NO_ERROR) in gnutls_digest_vector()
34 p = gcry_md_read(hd, algo); in gnutls_digest_vector()
36 memcpy(mac, p, gcry_md_get_algo_dlen(algo)); in gnutls_digest_vector()
101 static int gnutls_hmac_vector(int algo, const u8 *key, size_t key_len, in gnutls_hmac_vector() argument
112 if (gcry_md_open(&hd, algo, GCRY_MD_FLAG_HMAC) != GPG_ERR_NO_ERROR) in gnutls_hmac_vector()
120 p = gcry_md_read(hd, algo); in gnutls_hmac_vector()
122 memcpy(mac, p, gcry_md_get_algo_dlen(algo)); in gnutls_hmac_vector()
/netbsd/src/external/bsd/tcpdump/dist/tests/
Dsetkey2esp-secrets.pl18 $algo = $1. "-hmac96";
21 printf"0x%x@%s %s:0x%s\n", $spi, $dst, $algo, $secret;
/netbsd/src/usr.sbin/npf/npfctl/
Dnpf_build.c788 npfctl_dnat_check(const addr_port_t *ap, const unsigned algo) in npfctl_dnat_check() argument
793 switch (algo) { in npfctl_dnat_check()
825 const filt_opts_t *fopts, unsigned algo) in npfctl_build_natseg() argument
861 npfctl_dnat_check(ap1, algo); in npfctl_build_natseg()
864 npfctl_dnat_check(ap2, algo); in npfctl_build_natseg()
882 switch (algo) { in npfctl_build_natseg()
941 switch (algo) { in npfctl_build_natseg()
958 npf_nat_setalgo(nt1, algo); in npfctl_build_natseg()
961 npf_nat_setalgo(nt2, algo); in npfctl_build_natseg()
Dnpf_show.c565 const char *ifname, *algo, *seg1, *seg2, *arrow; in npfctl_print_nat() local
622 algo = "algo netmap "; in npfctl_print_nat()
625 algo = "algo ip-hash "; in npfctl_print_nat()
628 algo = "algo round-robin "; in npfctl_print_nat()
631 algo = "algo npt66 "; in npfctl_print_nat()
634 algo = ""; in npfctl_print_nat()
643 algo, (flags & NPF_NAT_PORTS) ? "" : "no-ports ", in npfctl_print_nat()
Dnpf_scan.l127 algo return ALGO;
/netbsd/src/tests/lib/libskey/
Dt_algorithms.c45 const char *algo, const char *zero, in h_check() argument
52 skey_set_algorithm(algo); in h_check()
/netbsd/src/usr.sbin/npf/npftest/
Dnpftest.conf40 map $ext_if static algo npt66 $net6_inner <-> $net6_outer
41 map $ext_if static algo netmap $net_a <-> $net_b
/netbsd/src/sys/external/bsd/drm2/include/linux/
Di2c-algo-bit.h58 adapter->algo = &i2c_bit_algo; in i2c_bit_add_bus()
Di2c.h92 const struct i2c_algorithm *algo; member
/netbsd/src/external/apache2/mDNSResponder/dist/mDNSCore/
DDNSDigest.c1713 domainname * algo; in DNSDigest_VerifyMessage() local
1718 algo = (domainname*) ptr; in DNSDigest_VerifyMessage()
1721 const DNSDigest_HMACAlgorithm algorithm = DNSDigest_GetHMACAlgorithmFromName(algo); in DNSDigest_VerifyMessage()
1726 if (!SameDomainName(algo, kHMAC_MD5_AlgName)) in DNSDigest_VerifyMessage()
1730 "algorithm name: " PUB_DM_NAME, DM_NAME_PARAM(algo)); in DNSDigest_VerifyMessage()
1737 ptr += DomainNameLength(algo); in DNSDigest_VerifyMessage()
1832 CCHmacUpdate(&hmacContext, algo->c, DomainNameLength(algo)); in DNSDigest_VerifyMessage()
1834 MD5_Update(&c, algo->c, DomainNameLength(algo)); in DNSDigest_VerifyMessage()
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/parallel/
Dalgorithm37 #include <parallel/algo.h>
/netbsd/src/sys/dev/ic/
Dbwfmreg.h534 uint8_t algo; /* crypto alogorithm */ member
647 uint32_t algo; member
/netbsd/src/sys/netipsec/
Dkey.c1268 u_int8_t algo = 0; in key_lookup_sa() local
1291 algo = (u_int8_t) cpi; in key_lookup_sa()
1292 hash_key = algo; in key_lookup_sa()
1301 must_check_alg, algo, in key_lookup_sa()
1336 if (must_check_alg && algo != sav->alg_comp) { in key_lookup_sa()
1339 algo, sav->alg_comp); in key_lookup_sa()
6513 const struct enc_xform *algo; in key_getcomb_esp() local
6522 algo = esp_algorithm_lookup(i); in key_getcomb_esp()
6523 if (algo == NULL) in key_getcomb_esp()
6527 if (_BITS(algo->maxkey) < ipsec_esp_keymin) in key_getcomb_esp()
[all …]
/netbsd/src/sys/external/bsd/drm2/linux/
Dlinux_i2c.c135 ret = (*adapter->algo->master_xfer)(adapter, msgs, n); in __i2c_transfer()
/netbsd/src/sys/net80211/
Dieee80211_input.c2454 u_int16_t algo, seq, status; in ieee80211_recv_mgmt_auth() local
2468 algo = le16toh(*(u_int16_t *)frm); in ieee80211_recv_mgmt_auth()
2474 ether_snprintf(ebuf, sizeof(ebuf), wh->i_addr2), algo, seq); in ieee80211_recv_mgmt_auth()
2506 if (algo == IEEE80211_AUTH_ALG_SHARED) { in ieee80211_recv_mgmt_auth()
2509 } else if (algo == IEEE80211_AUTH_ALG_OPEN) { in ieee80211_recv_mgmt_auth()
2513 wh, "auth", "unsupported alg %d", algo); in ieee80211_recv_mgmt_auth()
/netbsd/src/sys/external/bsd/drm2/dist/drm/
Ddrm_dp_helper.c1026 aux->ddc.algo = &drm_dp_i2c_algo; in drm_dp_aux_init()
1065 if (!aux->ddc.algo) in drm_dp_aux_register()
/netbsd/src/external/bsd/file/dist/magic/magdir/
Dluks89 >72 string x \b, algo %s

1234