Home
last modified time | relevance | path

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

12

/freebsd-9-stable/sys/netinet/cc/
Dcc.c130 struct cc_algo *algo; in cc_list_available() local
138 STAILQ_FOREACH(algo, &cc_list, entries) { in cc_list_available()
156 STAILQ_FOREACH(algo, &cc_list, entries) { in cc_list_available()
157 err = sbuf_printf(s, first ? "%s" : ", %s", algo->name); in cc_list_available()
283 struct cc_algo *algo; in cc_modevent() local
287 algo = (struct cc_algo *)data; in cc_modevent()
291 if (algo->mod_init != NULL) in cc_modevent()
292 err = algo->mod_init(); in cc_modevent()
294 err = cc_register_algo(algo); in cc_modevent()
300 err = cc_deregister_algo(algo); in cc_modevent()
[all …]
/freebsd-9-stable/sys/geom/eli/
Dg_eli_crypto.c60 g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize, in g_eli_crypto_cipher() argument
72 KASSERT(algo != CRYPTO_AES_XTS, in g_eli_crypto_cipher()
76 cri.cri_alg = algo; in g_eli_crypto_cipher()
106 crd->crd_alg = algo; in g_eli_crypto_cipher()
134 g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize, in g_eli_crypto_cipher() argument
142 assert(algo != CRYPTO_AES_XTS); in g_eli_crypto_cipher()
144 switch (algo) { in g_eli_crypto_cipher()
216 g_eli_crypto_encrypt(u_int algo, u_char *data, size_t datasize, in g_eli_crypto_encrypt() argument
221 if (algo == CRYPTO_AES_XTS) in g_eli_crypto_encrypt()
222 algo = CRYPTO_AES_CBC; in g_eli_crypto_encrypt()
[all …]
Dg_eli.h368 g_eli_algo2str(u_int algo) in g_eli_algo2str() argument
371 switch (algo) { in g_eli_algo2str()
439 g_eli_keylen(u_int algo, u_int keylen) in g_eli_keylen() argument
442 switch (algo) { in g_eli_keylen()
491 g_eli_hashlen(u_int algo) in g_eli_hashlen() argument
494 switch (algo) { in g_eli_hashlen()
538 int g_eli_mkey_encrypt(unsigned algo, const unsigned char *key, unsigned keylen,
544 int g_eli_crypto_encrypt(u_int algo, u_char *data, size_t datasize,
546 int g_eli_crypto_decrypt(u_int algo, u_char *data, size_t datasize,
Dg_eli_key.c157 g_eli_mkey_encrypt(unsigned algo, const unsigned char *key, unsigned keylen, in g_eli_mkey_encrypt() argument
176 error = g_eli_crypto_encrypt(algo, mkey, G_ELI_MKEYLEN, enckey, keylen); in g_eli_mkey_encrypt()
/freebsd-9-stable/sbin/hastd/
Dhast_checksum.c129 const char *algo; in checksum_recv() local
131 algo = nv_get_string(nv, "checksum"); in checksum_recv()
132 if (algo == NULL) in checksum_recv()
139 if (strcmp(algo, "crc32") == 0) in checksum_recv()
142 else if (strcmp(algo, "sha256") == 0) in checksum_recv()
146 pjdlog_error("Unknown checksum algorithm '%s'.", algo); in checksum_recv()
151 rhsize, algo, chsize); in checksum_recv()
Dhast_compression.c255 const char *algo; in compression_recv() local
258 algo = nv_get_string(nv, "compression"); in compression_recv()
259 if (algo == NULL) in compression_recv()
265 if (strcmp(algo, "hole") == 0) in compression_recv()
267 else if (strcmp(algo, "lzf") == 0) in compression_recv()
270 pjdlog_error("Unknown compression algorithm '%s'.", algo); in compression_recv()
/freebsd-9-stable/sys/crypto/aesni/
Daesni_wrap.c178 switch (ses->algo) { in aesni_cipher_setup_common()
212 if (ses->algo == CRYPTO_AES_CBC) in aesni_cipher_setup_common()
281 if (ses->algo == CRYPTO_AES_CBC) { in aesni_cipher_process()
295 if (ses->algo == CRYPTO_AES_CBC) { in aesni_cipher_process()
Daesni.h60 int algo; member
Daesni.c183 ses->algo = encini->cri_alg; in aesni_newsession()
/freebsd-9-stable/lib/libfetch/
Dhttp.c636 char *algo; member
645 b->realm = b->qop = b->nonce = b->opaque = b->algo = NULL; in init_http_auth_challenge()
660 if (b->algo) in clean_http_auth_challenge()
661 free(b->algo); in clean_http_auth_challenge()
824 cs->challenges[cs->count]->algo = in http_parse_authenticate()
1260 if (!c->algo) in http_digest_auth()
1261 c->algo = strdup(""); in http_digest_auth()
1264 *c->algo? ",algorithm=" : "", c->algo, in http_digest_auth()
1280 DigestCalcHA1(c->algo, parms->user, c->realm, in http_digest_auth()
/freebsd-9-stable/crypto/openssl/fips/aes/
Dfips_aesavs.c495 char algo[8] = ""; in proc_file() local
543 if ((*algo == '\0') || (*amode == '\0') || (akeysz == 0)) { in proc_file()
545 algo, amode, akeysz); in proc_file()
563 strcpy(algo, "AES"); in proc_file()
/freebsd-9-stable/sys/net80211/
Dieee80211_hostap.c1640 int algo, int seq, int status) in authalgreject() argument
1645 wh, NULL, "unsupported alg %d", algo); in authalgreject()
1848 uint16_t algo, seq, status; in hostap_recv_mgmt() local
1868 algo = le16toh(*(uint16_t *)frm); in hostap_recv_mgmt()
1872 "recv auth frame with algorithm %d seq %d", algo, seq); in hostap_recv_mgmt()
1896 if (algo == IEEE80211_AUTH_ALG_SHARED) in hostap_recv_mgmt()
1899 else if (algo == IEEE80211_AUTH_ALG_OPEN) in hostap_recv_mgmt()
1901 else if (algo == IEEE80211_AUTH_ALG_LEAP) { in hostap_recv_mgmt()
1902 authalgreject(ni, wh, algo, in hostap_recv_mgmt()
1915 authalgreject(ni, wh, algo, in hostap_recv_mgmt()
Dieee80211_sta.c1436 uint16_t algo, seq, status; in sta_recv_mgmt() local
1445 algo = le16toh(*(uint16_t *)frm); in sta_recv_mgmt()
1449 "recv auth frame with algorithm %d seq %d", algo, seq); in sta_recv_mgmt()
1463 if (algo == IEEE80211_AUTH_ALG_SHARED) in sta_recv_mgmt()
1466 else if (algo == IEEE80211_AUTH_ALG_OPEN) in sta_recv_mgmt()
1470 wh, "auth", "unsupported alg %d", algo); in sta_recv_mgmt()
/freebsd-9-stable/contrib/tcsh/nls/spanish/
Dset911 8 Falta algo a continuación: %c\n
/freebsd-9-stable/sys/netinet/
Dtcp_usrreq.c1313 struct cc_algo *algo; in tcp_ctloutput() local
1445 STAILQ_FOREACH(algo, &cc_list, entries) { in tcp_ctloutput()
1446 if (strncmp(buf, algo->name, TCP_CA_NAME_MAX) in tcp_ctloutput()
1457 CC_ALGO(tp) = algo; in tcp_ctloutput()
1464 if (algo->cb_init != NULL) in tcp_ctloutput()
1465 if (algo->cb_init(tp->ccv) > 0) { in tcp_ctloutput()
/freebsd-9-stable/crypto/openssl/util/
Dmk1mf.pl1365 my $algo, $ALGO;
1366 ($algo = $_) =~ s/^experimental-//;
1367 ($ALGO = $algo) =~ tr/[a-z]/[A-Z]/;
/freebsd-9-stable/sys/netipsec/
Dkey.c6010 struct enc_xform *algo; in key_getcomb_esp() local
6019 algo = esp_algorithm_lookup(i); in key_getcomb_esp()
6020 if (algo == NULL) in key_getcomb_esp()
6024 if (_BITS(algo->maxkey) < V_ipsec_esp_keymin) in key_getcomb_esp()
6026 if (_BITS(algo->minkey) < V_ipsec_esp_keymin) in key_getcomb_esp()
6029 encmin = _BITS(algo->minkey); in key_getcomb_esp()
6063 comb->sadb_comb_encrypt_maxbits = _BITS(algo->maxkey); in key_getcomb_esp()
6116 struct auth_hash *algo; in key_getcomb_ah() local
6133 algo = ah_algorithm_lookup(i); in key_getcomb_ah()
6134 if (!algo) in key_getcomb_ah()
[all …]
/freebsd-9-stable/contrib/file/magic/Magdir/
Dpgp173 # crypto algo mapper
186 # hash algo mapper
/freebsd-9-stable/share/syscons/keymaps/
Dfr.dvorak.kbd5 # http://www.algo.be/ergo/dvorak-fr.html
Dfr.dvorak.acc.kbd5 # http://www.algo.be/ergo/dvorak-fr.html
/freebsd-9-stable/sys/dev/ubsec/
Dubsec.c827 ubsec_setup_enckey(struct ubsec_session *ses, int algo, caddr_t key) in ubsec_setup_enckey() argument
831 if (algo == CRYPTO_DES_CBC) { in ubsec_setup_enckey()
847 ubsec_setup_mackey(struct ubsec_session *ses, int algo, caddr_t key, int klen) in ubsec_setup_mackey() argument
856 if (algo == CRYPTO_MD5_HMAC) { in ubsec_setup_mackey()
872 if (algo == CRYPTO_MD5_HMAC) { in ubsec_setup_mackey()
/freebsd-9-stable/crypto/openssl/
DConfigure748 my $algo = $1;
749 if ($disabled{$algo} eq "experimental")
751 …die "You are requesting an experimental feature; please say 'experimental-$algo' if you are sure\n"
753 push @experimental, $algo;
755 delete $disabled{$algo};
757 $threads = 1 if ($algo eq "threads");
1051 my ($ALGO, $algo);
1052 ($ALGO = $algo = $_) =~ tr/[a-z]/[A-Z]/;
1071 push @skip, $algo;
/freebsd-9-stable/sys/dev/safe/
Dsafe.c642 safe_setup_mackey(struct safe_session *ses, int algo, caddr_t key, int klen) in safe_setup_mackey() argument
652 if (algo == CRYPTO_MD5_HMAC) { in safe_setup_mackey()
668 if (algo == CRYPTO_MD5_HMAC) { in safe_setup_mackey()
/freebsd-9-stable/crypto/openssl/crypto/engine/
DREADME94 reference) for any ENGINE that is registered to perform the algo/mode that the
/freebsd-9-stable/gnu/lib/libstdc++/
DMakefile134 algo.h algobase.h alloc.h bvector.h defalloc.h deque.h \

12