/freebsd-9.3-release/usr.sbin/wpa/wpa_supplicant/ |
H A D | driver_freebsd.c | 285 wpa_driver_bsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument 296 if (alg == WPA_ALG_NONE) 299 switch (alg) { 314 __func__, alg); 320 "%s: alg=%s addr=%s key_idx=%d set_tx=%d seq_len=%zu key_len=%zu", 401 wpa_printf(MSG_DEBUG, "%s alg 0x%x authmode %u",
|
/freebsd-9.3-release/crypto/openssl/crypto/cms/ |
H A D | cms_lcl.h | 412 void cms_DigestAlgorithm_set(X509_ALGOR *alg, const EVP_MD *md);
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | sshconnect2.c | 118 char *oavail, *avail, *first, *last, *alg, *hostname, *ret; local 145 while ((alg = strsep(&avail, ",")) && *alg != '\0') { 146 if ((ktype = key_type_from_name(alg)) == KEY_UNSPEC) 147 fatal("%s: unknown alg %s", __func__, alg); 150 ALG_APPEND(first, alg); 152 ALG_APPEND(last, alg);
|
/freebsd-9.3-release/crypto/openssl/engines/ |
H A D | e_capi.c | 756 ALG_ID alg; local 776 alg = CALG_SHA1; 780 alg = CALG_MD5; 784 alg = CALG_SSL3_SHAMD5; 797 if (!CryptCreateHash(capi_key->hprov, alg, 0, 0, &hash)) {
|
/freebsd-9.3-release/contrib/wpa/src/ap/ |
H A D | wpa_auth_ft.c | 867 enum wpa_alg alg, const u8 *addr, int idx, 872 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx, 879 enum wpa_alg alg; local 884 alg = WPA_ALG_TKIP; 887 alg = WPA_ALG_CCMP; 890 wpa_printf(MSG_DEBUG, "FT: Unknown pairwise alg 0x%x - skip " 901 if (wpa_auth_set_key(sm->wpa_auth, 0, alg, sm->addr, 0, 865 wpa_auth_set_key(struct wpa_authenticator *wpa_auth, int vlan_id, enum wpa_alg alg, const u8 *addr, int idx, u8 *key, size_t key_len) argument
|
H A D | ap_drv_ops.c | 96 enum wpa_alg alg, const u8 *addr, int key_idx, 102 return hapd->driver->set_key(ifname, hapd->drv_priv, alg, addr, 95 hostapd_set_key(const char *ifname, struct hostapd_data *hapd, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) argument
|
H A D | wpa_auth_glue.c | 220 static int hostapd_wpa_auth_set_key(void *ctx, int vlan_id, enum wpa_alg alg, argument 233 return hapd->drv.set_key(ifname, hapd, alg, addr, idx, 1, NULL, 0,
|
H A D | wpa_auth.h | 187 int (*set_key)(void *ctx, int vlan_id, enum wpa_alg alg,
|
/freebsd-9.3-release/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 306 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, argument 317 switch (alg) {
|
/freebsd-9.3-release/crypto/heimdal/lib/hx509/ |
H A D | ks_file.c | 70 const AlgorithmIdentifier *alg, 119 alg, 68 try_decrypt(hx509_context context, struct hx509_collector *collector, const AlgorithmIdentifier *alg, const EVP_CIPHER *c, const void *ivdata, const void *password, size_t passwordlen, const void *cipher, size_t len) argument
|
/freebsd-9.3-release/sys/dev/sfxge/common/ |
H A D | efx_rx.c | 262 __in efx_rx_hash_alg_t alg, 272 switch (alg) { 260 efx_rx_scale_mode_set( __in efx_nic_t *enp, __in efx_rx_hash_alg_t alg, __in efx_rx_hash_type_t type, __in boolean_t insert) argument
|
/freebsd-9.3-release/contrib/wpa/src/rsn_supp/ |
H A D | wpa.h | 34 int (*set_key)(void *ctx, enum wpa_alg alg,
|
/freebsd-9.3-release/contrib/wpa/src/tls/ |
H A D | tlsv1_server_read.c | 756 enum { SIGN_ALG_RSA, SIGN_ALG_DSA } alg = SIGN_ALG_RSA; local 825 if (alg == SIGN_ALG_RSA) { 852 if (alg == SIGN_ALG_RSA)
|
/freebsd-9.3-release/lib/libc/nameser/ |
H A D | ns_print.c | 577 u_int c_type, key_tag, alg; local 585 alg = (u_int) *rdata++; 587 len = SPRINTF((tmp, "%d %d %d ", c_type, key_tag, alg));
|
/freebsd-9.3-release/sys/netipsec/ |
H A D | xform_esp.c | 99 esp_algorithm_lookup(int alg) argument 101 if (alg >= ESP_ALG_MAX) 103 switch (alg) { 138 /*XXX need alg check???*/
|
H A D | key.c | 6082 int alg, 6093 switch (alg) { 6102 __func__, alg)); 6773 struct sadb_alg *alg; local 6831 alg = (struct sadb_alg *)(mtod(n, caddr_t) + off); 6832 alg->sadb_alg_id = i; 6833 alg->sadb_alg_ivlen = 0; 6835 alg->sadb_alg_minbits = _BITS(minkeysize); 6836 alg->sadb_alg_maxbits = _BITS(maxkeysize); 6837 off += PFKEY_ALIGN8(sizeof(*alg)); 6080 key_getsizes_ah( const struct auth_hash *ah, int alg, u_int16_t* min, u_int16_t* max) argument [all...] |
/freebsd-9.3-release/crypto/openssl/apps/ |
H A D | speed.c | 287 static void print_result(int alg, int run_no, int count, double time_used); 2646 static void print_result(int alg, int run_no, int count, double time_used) argument 2650 : "%d %s's in %.2fs\n", count, names[alg], time_used); 2651 results[alg][run_no] = ((double)count) / time_used * lengths[run_no]; 2734 int alg; local 2738 alg = atoi(sstrsep(&p, sep)); 2741 results[alg][j] += atof(sstrsep(&p, sep));
|
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/ |
H A D | wpa_supplicant.c | 148 enum wpa_alg alg; local 169 alg = WPA_ALG_CCMP; 176 alg = WPA_ALG_TKIP; 187 return wpa_drv_set_key(wpa_s, alg, (u8 *) "\xff\xff\xff\xff\xff\xff",
|
/freebsd-9.3-release/include/arpa/ |
H A D | nameser.h | 219 char name[NS_MAXDNAME], alg[NS_MAXDNAME]; member in struct:ns_tsig_key 382 #define NS_ALG_EXPIRE_ONLY 253 /*%< No alg, no security */ 383 #define NS_ALG_PRIVATE_OID 254 /*%< Key begins with OID giving alg */
|
/freebsd-9.3-release/sys/dev/cesa/ |
H A D | cesa.c | 450 cesa_set_mkey(struct cesa_session *cs, int alg, const uint8_t *mkey, int mklen) argument 470 switch (alg) { 539 cesa_is_hash(int alg) argument 542 switch (alg) {
|
/freebsd-9.3-release/contrib/bind9/lib/bind9/ |
H A D | check.c | 283 dns_secalg_t alg; local 289 tresult = dns_secalg_fromtext(&alg, &r); 1866 { "hmac-md5.sig-alg.reg.int", 0 }, 1867 { "hmac-md5.sig-alg.reg.int.", 0 }, 2178 isc_uint32_t flags, proto, alg; local 2183 alg = cfg_obj_asuint32(cfg_tuple_get(key, "algorithm")); 2208 if (alg > 0xff) { 2210 "algorithm too big: %u\n", alg); 2239 if ((alg == DST_ALG_RSASHA1 || alg [all...] |
/freebsd-9.3-release/sys/opencrypto/ |
H A D | cryptosoft.c | 1086 #define REGISTER(alg) \ 1087 crypto_register(swcr_id, alg, 0,0)
|
/freebsd-9.3-release/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 104 static int PKCS7_bio_add_digest(BIO **pbio, X509_ALGOR *alg) argument 113 md = EVP_get_digestbyobj(alg->algorithm);
|
/freebsd-9.3-release/contrib/bind9/bin/dnssec/ |
H A D | dnssectool.c | 450 dns_secalg_t alg; local 457 alg = dst_key_alg(dstkey); 466 if (dst_key_alg(key->key) != alg)
|
/freebsd-9.3-release/sys/dev/sec/ |
H A D | sec.c | 119 static int sec_mdeu_can_handle(u_int alg); 1727 sec_mdeu_can_handle(u_int alg) argument 1729 switch (alg) {
|