Searched refs:alg (Results 76 - 100 of 141) sorted by relevance

123456

/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/any_255/
H A Dtsig_250.c433 dns_name_t alg; local
450 dns_name_init(&alg, NULL);
451 dns_name_fromregion(&alg, &sr);
453 RETERR(name_duporclone(&alg, mctx, &tsig->algorithm));
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Dcrypto_nss.c189 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, argument
H A Dcrypto_gnutls.c201 struct crypto_cipher * crypto_cipher_init(enum crypto_cipher_alg alg, argument
214 switch (alg) {
/freebsd-9.3-release/contrib/wpa/src/tls/
H A Dtlsv1_common.h193 enum crypto_cipher_alg alg; member in struct:tls_cipher_data
H A Dtlsv1_client_write.c436 enum { SIGN_ALG_RSA, SIGN_ALG_DSA } alg = SIGN_ALG_RSA; local
475 if (alg == SIGN_ALG_RSA) {
502 if (alg == SIGN_ALG_RSA)
H A Dtlsv1_record.c63 rl->cipher_alg = data->alg;
/freebsd-9.3-release/crypto/openssl/ssl/
H A Ds3_clnt.c1014 printf("cipher, alg, nc = %s, %lx, %d\n", s->s3->tmp.new_cipher->name,
1083 long i, param_len, n, alg; local
1111 alg = s->s3->tmp.new_cipher->algorithms;
1119 if (alg & (SSL_kEDH | SSL_kECDHE)) {
1158 if (alg & SSL_kRSA) {
1211 if (alg & SSL_aRSA)
1226 else if (alg & SSL_kEDH) {
1293 if (alg & SSL_aRSA)
1301 else if (alg & SSL_aDSS)
1311 } else if ((alg
[all...]
H A Dssl_lib.c1925 unsigned long alg = cs->algorithms; local
1945 if (alg & SSL_kECDH) {
1950 if (alg & SSL_aECDSA) {
1951 /* signature alg must be ECDSA */
1956 if (alg & SSL_aRSA) {
1957 /* signature alg must be RSA */
1964 } else if (alg & SSL_aECDSA) {
1977 unsigned long alg, kalg; local
1983 alg = s->s3->tmp.new_cipher->algorithms;
1984 kalg = alg
2032 unsigned long alg; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dprivate.c346 unsigned char alg = private->data[0]; local
361 dns_secalg_format(alg, algbuf, sizeof(algbuf));
H A Ddnssec.c1681 char alg[80]; local
1686 dns_secalg_format(dst_key_alg(key->key), alg, sizeof(alg));
1689 dst_key_id(key->key), alg,
1723 char alg[80]; local
1725 dns_secalg_format(dst_key_alg(key->key), alg, sizeof(alg));
1727 reason, dst_key_id(key->key), alg);
H A Drcode.c325 dns_secalg_format(dns_secalg_t alg, char *cp, unsigned int size) { argument
332 result = dns_secalg_totext(alg, &b);
H A Dtsig.c68 static unsigned char hmacmd5_ndata[] = "\010hmac-md5\007sig-alg\003reg\003int";
1010 * Digest the name, class, ttl, alg.
1187 unsigned int alg; local
1311 alg = dst_key_alg(key);
1315 if (alg == DST_ALG_HMACMD5 || alg == DST_ALG_HMACSHA1 ||
1316 alg == DST_ALG_HMACSHA224 || alg == DST_ALG_HMACSHA256 ||
1317 alg == DST_ALG_HMACSHA384 || alg
[all...]
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/tests/
H A Dtest_wpa.c146 static int supp_set_key(void *ctx, enum wpa_alg alg, argument
151 wpa_printf(MSG_DEBUG, "SUPP: %s(alg=%d addr=" MACSTR " key_idx=%d "
153 __func__, alg, MAC2STR(addr), key_idx, set_tx);
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_support_format_xar.c120 int alg; member in struct:chksumval
126 int alg; member in struct:chksumwork
717 xattr->a_sum.alg, xattr->e_sum.alg);
771 xar->entry_a_sum.alg, xar->entry_e_sum.alg);
1209 sumwrk->alg = sum_alg;
1226 switch (sumwrk->alg) {
1244 switch (sumwrk->alg) {
1780 int alg local
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dexpmed.c2420 enum alg_code alg;
2530 && alg_hash[hash_index].alg != alg_unknown)
2532 cache_alg = alg_hash[hash_index].alg;
2843 alg_hash[hash_index].alg = alg_impossible;
2853 alg_hash[hash_index].alg = best_alg->op[best_alg->ops];
2887 struct algorithm *alg, enum mult_variant *variant,
2908 synth_mult (alg, val, &limit, mode);
2915 if (MULT_COST_LESS (&alg->cost, mult_cost))
2917 limit.cost = alg->cost.cost - op_cost;
2918 limit.latency = alg
2410 enum alg_code alg; member in struct:alg_hash_entry
2875 choose_mult_variant(enum machine_mode mode, HOST_WIDE_INT val, struct algorithm *alg, enum mult_variant *variant, int mult_cost) argument
2950 expand_mult_const(enum machine_mode mode, rtx op0, HOST_WIDE_INT val, rtx target, const struct algorithm *alg, enum mult_variant variant) argument
3550 struct algorithm alg; local
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Dsoftp11.c459 AlgorithmIdentifier alg; local
461 hret = hx509_cert_get_SPKI_AlgorithmIdentifier(context, cert, &alg);
469 free_AlgorithmIdentifier(&alg);
1461 const AlgorithmIdentifier *alg; local
1495 alg = hx509_signature_rsa_pkcs1_x509();
1507 alg,
1592 const AlgorithmIdentifier *alg; local
1608 alg = hx509_signature_rsa_pkcs1_x509();
1622 alg,
/freebsd-9.3-release/lib/libipsec/
H A Dpfkey.c219 struct sadb_alg *alg; local
221 alg = findsupportedalg(satype, alg_id);
222 if (!alg)
225 if (keylen < alg->sadb_alg_minbits || keylen > alg->sadb_alg_maxbits) {
247 struct sadb_alg *alg; local
268 alg = findsupportedalg(satype, alg_id);
269 if (!alg)
272 memcpy(alg0, alg, sizeof(*alg0));
/freebsd-9.3-release/crypto/openssl/apps/
H A Dpkcs12.c99 int alg_print(BIO *x, X509_ALGOR *alg);
401 "-certpbe alg specify certificate PBE algorithm (default RC2-40)\n");
403 "-keypbe alg specify private key PBE algorithm (default 3DES)\n");
950 int alg_print(BIO *x, X509_ALGOR *alg) argument
954 p = alg->parameter->value.sequence->data;
955 pbe = d2i_PBEPARAM(NULL, &p, alg->parameter->value.sequence->length);
959 OBJ_nid2ln(OBJ_obj2nid(alg->algorithm)),
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/
H A Dwpas_glue.c431 static int wpa_supplicant_set_key(void *_wpa_s, enum wpa_alg alg, argument
437 if (alg == WPA_ALG_TKIP && key_idx == 0 && key_len == 32) {
441 return wpa_drv_set_key(wpa_s, alg, addr, key_idx, set_tx, seq, seq_len,
H A Ddriver_i.h107 enum wpa_alg alg, const u8 *addr,
115 alg, addr, key_idx, set_tx,
106 wpa_drv_set_key(struct wpa_supplicant *wpa_s, 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 Dpreauth_test.c142 static int wpa_supplicant_set_key(void *wpa_s, enum wpa_alg alg, argument
/freebsd-9.3-release/sys/netipsec/
H A Dxform_ipcomp.c85 ipcomp_algorithm_lookup(int alg) argument
87 if (alg >= IPCOMP_ALG_MAX)
89 switch (alg) {
/freebsd-9.3-release/crypto/openssl/crypto/cms/
H A Dcms_lib.c337 void cms_DigestAlgorithm_set(X509_ALGOR *alg, const EVP_MD *md) argument
355 X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_MD_type(md)), param_type, NULL);
/freebsd-9.3-release/contrib/wpa/src/ap/
H A Dwpa_auth.c105 enum wpa_alg alg, const u8 *addr, int idx,
110 return wpa_auth->cb.set_key(wpa_auth->cb.ctx, vlan_id, alg, addr, idx,
1040 int alg; local
1098 alg = pairwise ? sm->pairwise : wpa_auth->conf.wpa_group;
1099 switch (alg) {
1341 static enum wpa_alg wpa_alg_enum(int alg) argument
1343 switch (alg) {
1816 enum wpa_alg alg; local
1819 alg = WPA_ALG_TKIP;
1822 alg
103 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
[all...]
H A Dhostapd.h59 enum wpa_alg alg, const u8 *addr, int key_idx,

Completed in 303 milliseconds

123456