Home
last modified time | relevance | path

Searched refs:algs (Results 1 – 25 of 29) sorted by relevance

12

/netbsd/src/crypto/external/bsd/openssl/dist/test/
Dfilterprov.c98 const OSSL_ALGORITHM *algs) in filter_unquery() argument
109 if (globs->dispatch[i].alg == algs) in filter_unquery()
111 OSSL_PROVIDER_unquery_operation(globs->deflt, operation_id, algs); in filter_unquery()
175 const OSSL_ALGORITHM *algs; in filter_provider_set_filter() local
195 for (algs = provalgs; algs->algorithm_names != NULL; algs++) { in filter_provider_set_filter()
196 const char *found = strstr(algs->algorithm_names, name); in filter_provider_set_filter()
202 if (found != algs->algorithm_names && found[-1] != ':') in filter_provider_set_filter()
209 globs->dispatch[globs->num_dispatch].alg[algnum++] = *algs; in filter_provider_set_filter()
212 if (algs->algorithm_names == NULL) { in filter_provider_set_filter()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/asn1/
Drfc2459.asn161 id-nist-aes-algs OBJECT IDENTIFIER ::= { id-nistAlgorithm 1 }
63 id-aes-128-cbc OBJECT IDENTIFIER ::= { id-nist-aes-algs 2 }
64 id-aes-192-cbc OBJECT IDENTIFIER ::= { id-nist-aes-algs 22 }
65 id-aes-256-cbc OBJECT IDENTIFIER ::= { id-nist-aes-algs 42 }
67 id-nist-sha-algs OBJECT IDENTIFIER ::= { id-nistAlgorithm 2 }
69 id-sha256 OBJECT IDENTIFIER ::= { id-nist-sha-algs 1 }
70 id-sha224 OBJECT IDENTIFIER ::= { id-nist-sha-algs 4 }
71 id-sha384 OBJECT IDENTIFIER ::= { id-nist-sha-algs 2 }
72 id-sha512 OBJECT IDENTIFIER ::= { id-nist-sha-algs 3 }
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/
Dprovider.c87 const OSSL_ALGORITHM *algs) in OSSL_PROVIDER_unquery_operation() argument
89 ossl_provider_unquery_operation(prov, operation_id, algs); in OSSL_PROVIDER_unquery_operation()
Dprovider_core.c1622 const OSSL_ALGORITHM *algs) in ossl_provider_unquery_operation() argument
1625 prov->unquery_operation(prov->provctx, operation_id, algs); in ossl_provider_unquery_operation()
/netbsd/src/crypto/dist/ipsec-tools/src/racoon/
Dproposal.c635 if (sainfo->algs[algclass_ipsec_auth] == NULL) { in set_satrnsbysainfo()
641 for (a = sainfo->algs[algclass_ipsec_auth]; a; a = a->next) { in set_satrnsbysainfo()
662 if (sainfo->algs[algclass_ipsec_enc] == NULL) { in set_satrnsbysainfo()
668 for (a = sainfo->algs[algclass_ipsec_enc]; a; a = a->next) { in set_satrnsbysainfo()
669 for (b = sainfo->algs[algclass_ipsec_auth]; b; b = b->next) { in set_satrnsbysainfo()
688 if (sainfo->algs[algclass_ipsec_comp] == NULL) { in set_satrnsbysainfo()
694 for (a = sainfo->algs[algclass_ipsec_comp]; a; a = a->next) { in set_satrnsbysainfo()
Dsainfo.h61 struct sainfoalg *algs[MAXALGCLASS]; member
Dsainfo.c211 delsainfoalg(si->algs[i]); in delsainfo()
Dcfparse.y1461 if (cur_sainfo->algs[algclass_ipsec_enc] == 0) {
1466 if (cur_sainfo->algs[algclass_ipsec_auth] == 0) {
1471 if (cur_sainfo->algs[algclass_ipsec_comp] == 0) {
1758 inssainfoalg(&cur_sainfo->algs[cur_algclass], $1);
1762 inssainfoalg(&cur_sainfo->algs[cur_algclass], $1);
Dhandler.c1324 for (alg = sainfo->algs[algclass_ipsec_auth]; alg; alg = alg->next) { in revalidate_ph2()
1335 for (alg = sainfo->algs[algclass_ipsec_enc]; in revalidate_ph2()
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/cms/
Dcms_sd.c1039 int CMS_add_smimecap(CMS_SignerInfo *si, STACK_OF(X509_ALGOR) *algs) in CMS_add_smimecap() argument
1044 smderlen = i2d_X509_ALGORS(algs, &smder); in CMS_add_smimecap()
1053 int CMS_add_simple_smimecap(STACK_OF(X509_ALGOR) **algs, in CMS_add_simple_smimecap() argument
1072 if (*algs == NULL) in CMS_add_simple_smimecap()
1073 *algs = sk_X509_ALGOR_new_null(); in CMS_add_simple_smimecap()
1074 if (*algs == NULL || !sk_X509_ALGOR_push(*algs, alg)) in CMS_add_simple_smimecap()
/netbsd/src/crypto/external/bsd/openssh/dist/
Dkex-names.c179 kex_has_any_alg(const char *proposal, const char *algs) in kex_has_any_alg() argument
183 if ((cp = match_list(proposal, algs, NULL)) == NULL) in kex_has_any_alg()
Dkex.c265 char *alg, *oalgs, *algs, *sigalgs; in kex_set_server_sig_algs() local
277 oalgs = algs = xstrdup(allowed_algs); in kex_set_server_sig_algs()
280 for ((alg = strsep(&algs, ",")); alg != NULL && *alg != '\0'; in kex_set_server_sig_algs()
281 (alg = strsep(&algs, ","))) { in kex_set_server_sig_algs()
Dsshconnect2.c123 first_alg(const char *algs) in first_alg() argument
127 ret = xstrdup(algs); in first_alg()
/netbsd/src/usr.bin/netstat/
Dfast_ipsec.c80 algname(size_t a, const char *algs[], size_t nalgs) in algname() argument
85 return algs[a]; in algname()
/netbsd/src/sys/net/npf/
Dnpf_ctl.c296 const nvlist_t * const *algs; in npf_mk_algs() local
300 algs = nvlist_get_nvlist_array(req, "algs", &nitems); in npf_mk_algs()
302 algs = NULL; in npf_mk_algs()
306 const nvlist_t *alg = algs[i]; in npf_mk_algs()
/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/
Dobj_context.c625 UINT32 algs[] = { TPM_ALG_MGF1, TPM_ALG_AES128, 0 }, a = 0;
634 for (a = 0; algs[a]; a++) {
635 tcsSubCap32 = endian32(algs[a]);
648 if (!algs[a]) {
654 if (*enc || algs[a] == TPM_ALG_MGF1)
676 *alg = algs[a];
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/
DMakefile.am139 crypto-algs.c \
283 crypto-algs.c \
DNTMakefile61 $(OBJ)\crypto-algs.obj \
214 crypto-algs.c \
379 $(OBJ)\crypto-algs.obj \
DMakefile.in231 libkrb5_la-crypto-algs.lo libkrb5_la-crypto-arcfour.lo \
302 librfc3961_la-crypto-aes-sha2.lo librfc3961_la-crypto-algs.lo \
626 ./$(DEPDIR)/libkrb5_la-crypto-algs.Plo \
736 ./$(DEPDIR)/librfc3961_la-crypto-algs.Plo \
1384 crypto-algs.c \
1513 crypto-algs.c \
1971 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkrb5_la-crypto-algs.Plo@am__quote@ # am--includ…
2081 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librfc3961_la-crypto-algs.Plo@am__quote@ # am--inc…
2331 libkrb5_la-crypto-algs.lo: crypto-algs.c
2332 …to-algs.lo -MD -MP -MF $(DEPDIR)/libkrb5_la-crypto-algs.Tpo -c -o libkrb5_la-crypto-algs.lo `test …
[all …]
/netbsd/src/external/bsd/wpa/dist/src/drivers/
Ddriver_wext.c2233 int algs = 0, res; in wpa_driver_wext_set_auth_alg() local
2236 algs |= IW_AUTH_ALG_OPEN_SYSTEM; in wpa_driver_wext_set_auth_alg()
2238 algs |= IW_AUTH_ALG_SHARED_KEY; in wpa_driver_wext_set_auth_alg()
2240 algs |= IW_AUTH_ALG_LEAP; in wpa_driver_wext_set_auth_alg()
2241 if (algs == 0) { in wpa_driver_wext_set_auth_alg()
2243 algs = IW_AUTH_ALG_OPEN_SYSTEM; in wpa_driver_wext_set_auth_alg()
2247 algs); in wpa_driver_wext_set_auth_alg()
Ddriver_nl80211.c7077 int algs; in wpa_driver_nl80211_try_connect() local
7136 algs = 0; in wpa_driver_nl80211_try_connect()
7138 algs++; in wpa_driver_nl80211_try_connect()
7140 algs++; in wpa_driver_nl80211_try_connect()
7142 algs++; in wpa_driver_nl80211_try_connect()
7144 algs++; in wpa_driver_nl80211_try_connect()
7146 algs++; in wpa_driver_nl80211_try_connect()
7148 algs++; in wpa_driver_nl80211_try_connect()
7149 if (algs > 1) { in wpa_driver_nl80211_try_connect()
/netbsd/src/external/bsd/wpa/dist/wpa_supplicant/
Dwpa_supplicant.c3430 int algs = WPA_AUTH_ALG_OPEN; in wpas_populate_assoc_ies() local
3558 algs = WPA_AUTH_ALG_LEAP; in wpas_populate_assoc_ies()
3560 algs |= WPA_AUTH_ALG_LEAP; in wpas_populate_assoc_ies()
3576 algs = WPA_AUTH_ALG_FILS; in wpas_populate_assoc_ies()
3590 algs = WPA_AUTH_ALG_FILS; in wpas_populate_assoc_ies()
3596 algs = WPA_AUTH_ALG_SAE; in wpas_populate_assoc_ies()
3599 wpa_dbg(wpa_s, MSG_DEBUG, "Automatic auth_alg selection: 0x%x", algs); in wpas_populate_assoc_ies()
3601 algs = ssid->auth_alg; in wpas_populate_assoc_ies()
3603 "Overriding auth_alg selection: 0x%x", algs); in wpas_populate_assoc_ies()
3607 if (pmksa_cached && algs == WPA_AUTH_ALG_SAE) { in wpas_populate_assoc_ies()
[all …]
/netbsd/src/external/ibm-public/postfix/dist/src/tls/
Dtls_misc.c1526 static const char *algs[] = { in tls_pkey_algorithms() local
1539 return (algs); in tls_pkey_algorithms()
/netbsd/src/crypto/external/bsd/heimdal/lib/libkrb5/
DMakefile53 crypto-algs.c \
/netbsd/src/external/gpl3/gcc/dist/gcc/config/i386/
Di386-expand.cc8013 const struct stringop_algs *algs; in decide_alg() local
8035 algs = &cost->memset[TARGET_64BIT != 0]; in decide_alg()
8037 algs = &cost->memcpy[TARGET_64BIT != 0]; in decide_alg()
8042 enum stringop_alg candidate = algs->size[i].alg; in decide_alg()
8047 max = algs->size[i].max; in decide_alg()
8086 if (algs->size[i].max == 0) in decide_alg()
8088 if (algs->size[i].max >= expected_size || algs->size[i].max == -1) in decide_alg()
8090 enum stringop_alg candidate = algs->size[i].alg; in decide_alg()
8096 alg_noalign = algs->size[i].noalign; in decide_alg()
8120 *noalign = algs->size[i].noalign; in decide_alg()
[all …]

12