/netbsd-src/tests/net/ipsec/ |
H A D | t_ipsec_misc.sh | 127 local algo=$2 132 local algo_args="$(generate_algo_args $proto $algo)" 201 local algo=$2 206 local algo_args="$(generate_algo_args $proto $algo)" 274 local algo=$3 277 test_ipsec4_lifetime $proto $algo 279 test_ipsec6_lifetime $proto $algo 287 local algo=$3 288 local _algo=$(echo $algo | sed 's/-//g') 292 desc="Tests of lifetime of IPsec ($ipproto) with $proto ($algo)" [all …]
|
H A D | t_ipsec_transport.sh | 48 local algo=$2 54 local algo_args="$(generate_algo_args $proto $algo)" 110 pktsize=$(($(get_minlen $algo) - 8 - 1)) 117 pktsize=$(($(get_minlen $algo) - 8)) 135 local algo=$2 141 local algo_args="$(generate_algo_args $proto $algo)" 196 pktsize=$(($(get_minlen $algo) - 8 - 1)) 203 pktsize=$(($(get_minlen $algo) - 8)) 222 local algo=$3 225 test_ipsec4_transport $proto $algo [all …]
|
H A D | algorithms.sh | 122 local algo=$1 123 local _algo=$(echo $algo | sed 's/-//g') 138 local algo=$1 139 local _algo=$(echo $algo | sed 's/-//g') 147 local algo=$1 148 local _algo=$(echo $algo | sed 's/-//g') 173 local algo=$2 174 local keylen=$(get_one_valid_keylen $algo) 178 echo "-E $algo $key" 180 echo "-A $algo $key" [all …]
|
H A D | t_ipsec_tcp.sh | 115 local algo=$2 118 local algo_args="$(generate_algo_args $proto $algo)" 159 local algo=$2 162 local algo_args="$(generate_algo_args $proto $algo)" 203 local algo=$2 207 local algo_args="$(generate_algo_args $proto $algo)" 251 local algo=$3 252 local _algo=$(echo $algo | sed 's/-//g') 259 desc="Tests of TCP with IPsec ($ipproto) $proto $algo" 270 test_tcp_${ipproto} $proto $algo [all …]
|
H A D | t_ipsec_sockopt.sh | 49 local algo=$2 55 local algo_args="$(generate_algo_args $proto $algo)" 107 pktsizeopt="-s $(($(get_minlen $algo) - 8)) -p ff" 192 local algo=$2 198 local algo_args="$(generate_algo_args $proto $algo)" 250 pktsizeopt="-s $(($(get_minlen $algo) - 8)) -p ff" 336 local algo=$3 339 test_ipsec4_IP_IPSEC_POLICY $proto $algo 341 test_ipsec6_IP_IPSEC_POLICY $proto $algo 349 local algo=$3 [all …]
|
H A D | t_ipsec_tunnel.sh | 68 local algo=$2 80 local algo_args="$(generate_algo_args $proto $algo)" 168 local algo=$2 180 local algo_args="$(generate_algo_args $proto $algo)" 269 local algo=$3 272 test_ipsec4_tunnel $proto $algo 274 test_ipsec6_tunnel $proto $algo 282 local algo=$3 283 local _algo=$(echo $algo | sed 's/-//g') 287 desc="Tests of IPsec ($ipproto) tunnel mode with $proto ($algo)" [all …]
|
H A D | t_ipsec_tunnel_odd.sh | 68 local algo=$2 82 local algo_args="$(generate_algo_args $proto $algo)" 174 local algo=$2 188 local algo_args="$(generate_algo_args $proto $algo)" 281 local algo=$3 284 test_ipsec46_tunnel $proto $algo 286 test_ipsec64_tunnel $proto $algo 294 local algo=$3 295 local _algo=$(echo $algo | sed 's/-//g') 300 desc="Tests of IPsec tunnel mode (IPv4 over IPv6) with $proto ($algo)" [all …]
|
H A D | t_ipsec_gif.sh | 71 local algo=$3 85 local algo_args="$(generate_algo_args $proto $algo)" 222 local algo=$3 236 local algo_args="$(generate_algo_args $proto $algo)" 374 local algo=$4 377 test_ipsec4_gif $mode $proto $algo 379 test_ipsec6_gif $mode $proto $algo 388 local algo=$4 389 local _algo=$(echo $algo | sed 's/-//g') 393 desc="Tests of gif/IPsec ($ipproto) ${mode} mode with $proto ($algo)" [all …]
|
H A D | t_ipsec_l2tp.sh | 74 local algo=$3 84 local algo_args="$(generate_algo_args $proto $algo)" 217 local algo=$3 227 local algo_args="$(generate_algo_args $proto $algo)" 360 local algo=$4 363 test_ipsec4_l2tp $mode $proto $algo 365 test_ipsec6_l2tp $mode $proto $algo 374 local algo=$4 375 local _algo=$(echo $algo | sed 's/-//g') 379 desc="Tests of l2tp/IPsec ($ipproto) ${mode} mode with $proto ($algo)" [all …]
|
H A D | t_ipsec_tunnel_ipcomp.sh | 98 local algo=$2 111 local algo_args="$(generate_algo_args $proto $algo)" 225 local algo=$2 238 local algo_args="$(generate_algo_args $proto $algo)" 354 local algo=$3 358 test_ipsec4_tunnel_ipcomp $proto $algo $calgo 360 test_ipsec6_tunnel_ipcomp $proto $algo $calgo 368 local algo=$3 370 local _algo=$(echo $algo | sed 's/-//g') 374 desc="Tests of IPsec ($ipproto) tunnel mode with $proto ($algo) and ipcomp ($calgo)" [all …]
|
H A D | t_ipsec_natt.sh | 217 local algo=$1 227 local algo_args="$(generate_algo_args esp-udp $algo)" 365 local algo=$1 374 local algo_args="$(generate_algo_args esp-udp $algo)" 449 local algo=$1 451 test_ipsec_natt_transport_ipv6_without_nat $algo 457 local algo=$2 458 local _algo=$(echo $algo | sed 's/-//g') 461 desc="Test IPsec $proto NAT-T ($algo)" 471 test_ipsec_natt_transport_$proto $algo [all …]
|
/netbsd-src/sys/netinet/ |
H A D | portalgo.c | 155 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/unbound/dist/validator/ |
H A D | val_secalgo.c | 131 secalgo_nsec3_hash(int algo, unsigned char* buf, size_t len, in secalgo_nsec3_hash() argument 134 switch(algo) { in secalgo_nsec3_hash() 230 ds_digest_size_supported(int algo) in ds_digest_size_supported() argument 232 switch(algo) { in ds_digest_size_supported() 278 secalgo_ds_digest(int algo, unsigned char* buf, size_t len, in secalgo_ds_digest() argument 281 switch(algo) { in secalgo_ds_digest() 323 algo); in secalgo_ds_digest() 545 setup_key_digest(int algo, EVP_PKEY** evp_key, const EVP_MD** digest_type, in setup_key_digest() argument 548 switch(algo) { in setup_key_digest() 585 if(algo == LDNS_RSASHA256) in setup_key_digest() [all …]
|
H A D | val_kentry.c | 62 if(kd->algo) in key_entry_sizefunc() 63 s += strlen((char*)kd->algo)+1; in key_entry_sizefunc() 97 free(kd->algo); in key_entry_deldatafunc() 143 if(d->algo) { in key_entry_copy_toregion() 144 newd->algo = (uint8_t*)regional_strdup(region, in key_entry_copy_toregion() 145 (char*)d->algo); in key_entry_copy_toregion() 146 if(!newd->algo) in key_entry_copy_toregion() 205 if(d->algo) { in key_entry_copy() 206 newd->algo = (uint8_t*)strdup((char*)d->algo); in key_entry_copy() 207 if(!newd->algo) { in key_entry_copy() [all …]
|
H A D | val_secalgo.h | 60 int secalgo_nsec3_hash(int algo, unsigned char* buf, size_t len, 118 size_t ds_digest_size_supported(int algo); 127 int secalgo_ds_digest(int algo, unsigned char* buf, size_t len, 146 enum sec_status verify_canonrrset(struct sldns_buffer* buf, int algo,
|
H A D | val_sigcrypt.c | 439 uint8_t algo; in algo_needs_init_dnskey_add() local 444 algo = (uint8_t)dnskey_get_algo(dnskey, i); in algo_needs_init_dnskey_add() 445 if(!dnskey_algo_id_is_supported((int)algo)) in algo_needs_init_dnskey_add() 447 if(n->needs[algo] == 0) { in algo_needs_init_dnskey_add() 448 n->needs[algo] = 1; in algo_needs_init_dnskey_add() 449 sigalg[total] = algo; in algo_needs_init_dnskey_add() 459 uint8_t algo; in algo_needs_init_list() local 463 while( (algo=*sigalg++) != 0) { in algo_needs_init_list() 464 log_assert(dnskey_algo_id_is_supported((int)algo)); in algo_needs_init_list() 465 log_assert(n->needs[algo] == 0); in algo_needs_init_list() [all …]
|
/netbsd-src/tests/net/if_ipsec/ |
H A D | t_ipsec.sh | 269 local algo=${6} 277 local algo_args="$(generate_algo_args $proto $algo)" 319 local algo=${4} 347 setup_if_ipsec_sa $SOCK1 ${src} ${dst} ${outer} ${proto} ${algo} "1to2" 349 setup_if_ipsec_sa $SOCK1 ${src} ${dst} ${inner} ${proto} ${algo} "1to2" 368 ${src} ${dst} ${peernet} ${proto} ${algo} 370 setup_if_ipsec_sa $SOCK2 ${src} ${dst} ${outer} ${proto} ${algo} "2to1" 372 setup_if_ipsec_sa $SOCK2 ${src} ${dst} ${inner} ${proto} ${algo} "2to1" 449 local algo=${6} 457 local algo_args="$(generate_algo_args $proto $algo)" [all …]
|
H A D | t_ipsec_unnumbered.sh | 70 local algo="$3" 75 local algo_args="$(generate_algo_args esp $algo)" 101 local algo=$1 153 add_sa ipv4 esp $algo $ip_local_o $ip_remote_o 172 local algo=$1 224 add_sa ipv6 esp $algo $ip_local_o $ip_remote_o 244 local algo=$2 245 local _algo=$(echo $algo | sed 's/-//g') 250 desc="Does unnumbered ipsecif over ${outer} $algo" 259 test_ipsecif_unnumbered_${outer} $algo [all …]
|
H A D | t_ipsec_pfil.sh | 105 local algo=$6 110 local algo_args="$(generate_algo_args $proto $algo)" 130 local algo=$2 141 setup_if_ipsec_sa $src $dst "10000" "10001" $proto $algo 150 setup_if_ipsec_sa $src $dst "10001" "10000" $proto $algo 169 local algo=$2 177 setup_tunnel $proto $algo 325 local algo=$2 326 local _algo=$(echo $algo | sed 's/-//g') 337 ipsecif_pfil_setup ${proto} ${algo} [all …]
|
/netbsd-src/external/mpl/bind/dist/bin/tests/system/tools/ |
H A D | tests.sh |
|
/netbsd-src/external/bsd/mdocml/dist/ |
H A D | TODO | 18 - 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/ |
H A D | postfix-tls-script | 821 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/ |
H A D | core_algorithm.c | 143 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()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/ |
H A D | nouveau_nvkm_subdev_i2c_bus.c | 175 if ((bus->i2c.algo == &i2c_bit_algo) && (info[i].udelay != 0)) { in nvkm_i2c_bus_probe() 176 struct i2c_algo_bit_data *algo = bus->i2c.algo_data; in nvkm_i2c_bus_probe() local 178 info[i].udelay, algo->udelay); in nvkm_i2c_bus_probe() 179 orig_udelay = algo->udelay; in nvkm_i2c_bus_probe() 180 algo->udelay = info[i].udelay; in nvkm_i2c_bus_probe() 191 struct i2c_algo_bit_data *algo = bus->i2c.algo_data; in nvkm_i2c_bus_probe() local 192 algo->udelay = orig_udelay; in nvkm_i2c_bus_probe() 257 bus->i2c.algo = &nvkm_i2c_bus_algo; in nvkm_i2c_bus_ctor()
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/ |
H A D | progs.pl | 168 (my $algo = $cmd) =~ s/-.*//g; 171 } elsif (grep { $algo eq $_ } @disablables) { 172 print "#ifndef OPENSSL_NO_" . uc($algo) . "\n${str}#endif\n"; 173 } elsif (my $disabler = $cipher_disabler{$algo}) {
|