| /freebsd-9-stable/contrib/file/magic/Magdir/ |
| D | mcrypt | 7 >4 string >\0 algorithm: %s, 12 >3 byte 0 algorithm: blowfish-448, 13 >3 byte 1 algorithm: DES, 14 >3 byte 2 algorithm: 3DES, 15 >3 byte 3 algorithm: 3-WAY, 16 >3 byte 4 algorithm: GOST, 17 >3 byte 6 algorithm: SAFER-SK64, 18 >3 byte 7 algorithm: SAFER-SK128, 19 >3 byte 8 algorithm: CAST-128, 20 >3 byte 9 algorithm: xTEA, [all …]
|
| /freebsd-9-stable/usr.sbin/ppp/ |
| D | ccp.c | 147 static const struct ccp_algorithm * const algorithm[] = { variable 156 #define NALGORITHMS (sizeof algorithm/sizeof algorithm[0]) 179 if (ccp->in.algorithm != -1) in ccp_ReportStatus() 181 (*algorithm[ccp->in.algorithm]->Disp)(&ccp->in.opt)); in ccp_ReportStatus() 183 if (ccp->out.algorithm != -1) { in ccp_ReportStatus() 185 for (f = 0; f < ccp->out.algorithm; f++) in ccp_ReportStatus() 186 if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg])) in ccp_ReportStatus() 189 (*algorithm[ccp->out.algorithm]->Disp)(&(*o)->val)); in ccp_ReportStatus() 277 ccp->in.algorithm = ccp->out.algorithm = -1; in ccp_Setup() 303 if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg]) && in ccp_Required() [all …]
|
| /freebsd-9-stable/contrib/opie/ |
| D | opiekey.c | 133 unsigned algorithm = MDX; /* default algorithm per Makefile's MDX variable 153 algorithm = 4; 156 algorithm = 5; 159 algorithm = 3; 184 algorithm = 4; 189 algorithm = 5; 209 algorithm = 3; 220 fprintf(stderr, "Using the %s algorithm to compute response.\n", algnames[algorithm]); 270 if (opiekeycrunch(algorithm, &newkey, newseed, newsecret)) { 276 opiehash(&newkey, algorithm); [all …]
|
| D | opieauto.c | 54 int algorithm, base, current; member 86 int algorithm, sequence, i; in doreq() local 99 if (((algorithm = strtoul(&cmd[3], &c, 10)) < 3) || (algorithm > 5) || (*c != ' ')) { in doreq() 144 …, algorithm=%d sequence=%d seed=+%s+ response=+%s+ on fd %d\n", cmd[0], algorithm, sequence, seed,… in doreq() 153 sprintf(cmd, "%c- %d %d %s\n", cmd[0], algorithm, sequence, seed); in doreq() 159 …for (c = &head; *c && (strcmp((*c)->seed, seed) || ((*c)->algorithm != algorithm)); c = &((*c)->ne… in doreq() 165 sprintf(cmd, "s- %d %d %s\n", algorithm, sequence, seed); in doreq() 173 (*c)->algorithm = algorithm; in doreq() 184 sprintf(cmd, "S+ %d %d %s\n", algorithm, sequence, (*c)->seed); in doreq() 190 sprintf(cmd, "s- %d %d %s\n", algorithm, sequence, (*c)->seed); in doreq() [all …]
|
| /freebsd-9-stable/contrib/bind9/lib/dns/ |
| D | tsig.c | 293 dns_tsigkey_createfromkey(dns_name_t *name, dns_name_t *algorithm, in dns_tsigkey_createfromkey() argument 305 REQUIRE(algorithm != NULL); in dns_tsigkey_createfromkey() 319 if (dns_name_equal(algorithm, DNS_TSIG_HMACMD5_NAME)) { in dns_tsigkey_createfromkey() 320 tkey->algorithm = DNS_TSIG_HMACMD5_NAME; in dns_tsigkey_createfromkey() 325 } else if (dns_name_equal(algorithm, DNS_TSIG_HMACSHA1_NAME)) { in dns_tsigkey_createfromkey() 326 tkey->algorithm = DNS_TSIG_HMACSHA1_NAME; in dns_tsigkey_createfromkey() 331 } else if (dns_name_equal(algorithm, DNS_TSIG_HMACSHA224_NAME)) { in dns_tsigkey_createfromkey() 332 tkey->algorithm = DNS_TSIG_HMACSHA224_NAME; in dns_tsigkey_createfromkey() 338 } else if (dns_name_equal(algorithm, DNS_TSIG_HMACSHA256_NAME)) { in dns_tsigkey_createfromkey() 339 tkey->algorithm = DNS_TSIG_HMACSHA256_NAME; in dns_tsigkey_createfromkey() [all …]
|
| D | tkey.c | 311 if (!dns_name_equal(&tkeyin->algorithm, DNS_TSIG_HMACMD5_NAME)) { in process_dhtkey() 416 RETERR(dns_tsigkey_create(name, &tkeyin->algorithm, in process_dhtkey() 469 if (!dns_name_equal(&tkeyin->algorithm, DNS_TSIG_GSSAPI_NAME) && in process_gsstkey() 470 !dns_name_equal(&tkeyin->algorithm, DNS_TSIG_GSSAPIMS_NAME)) { in process_gsstkey() 484 result = dns_tsigkey_find(&tsigkey, name, &tkeyin->algorithm, ring); in process_gsstkey() 531 RETERR(dns_tsigkey_createfromkey(name, &tkeyin->algorithm, in process_gsstkey() 597 result = dns_tsigkey_find(&tsigkey, name, &tkeyin->algorithm, ring); in process_deletetkey() 719 dns_name_init(&tkeyout.algorithm, NULL); in dns_tkey_processquery() 720 dns_name_clone(&tkeyin.algorithm, &tkeyout.algorithm); in dns_tkey_processquery() 895 len = 16 + tkey->algorithm.length + tkey->keylen + tkey->otherlen; in buildquery() [all …]
|
| D | keydata.c | 44 dnskey->algorithm = keydata->algorithm; in dns_keydata_todnskey() 76 keydata->algorithm = dnskey->algorithm; in dns_keydata_fromdnskey()
|
| /freebsd-9-stable/contrib/opie/libopie/ |
| D | generator.c | 138 int algorithm; variable 156 if (__opieparsechallenge(challenge, &algorithm, &sequence, &seed, &exts)) 166 if (i = opiekeycrunch(algorithm, &key, seed, secret)) 180 opiehash(&key, algorithm); 185 if (opiekeycrunch(algorithm, &newkey, newseed, secret)) 189 opiehash(&newkey, algorithm); 193 if (snprintf(buf, sizeof(buf), ":%s 499 %s:", algids[algorithm], 249 opiehash(&key, algorithm); 256 if (snprintf(cmd, sizeof(cmd), "S= %d %d %s %s\n", algorithm, sequence, 281 …) || (cmd[1] != '+') || (cmd[2] != ' ') || (strtoul(&cmd[3], &c, 10) != algorithm) || (strtoul(c +… [all …]
|
| D | parsechallenge.c | 24 struct algorithm { struct 29 static struct algorithm algorithms[] = { argument 36 int __opieparsechallenge FUNCTION((buffer, algorithm, sequence, seed, exts), char *buffer AND int *… 44 struct algorithm *a; 50 *algorithm = a->num;
|
| D | keycrunch.c | 27 int opiekeycrunch FUNCTION((algorithm, result, seed, secret), int algorithm AND 43 if (algorithm & 0x10) 50 if (!(algorithm & 0x10)) 54 opiehashlen(algorithm & 0x0f, c, result, i);
|
| D | hash.c | 29 VOIDRET opiehash FUNCTION((x, algorithm), struct opie_otpkey *x AND 30 unsigned algorithm) 34 switch(algorithm) {
|
| D | hashlen.c | 26 VOIDRET opiehashlen FUNCTION((algorithm, in, out, n), int algorithm AND 32 switch(algorithm) {
|
| /freebsd-9-stable/crypto/openssl/crypto/asn1/ |
| D | x_algor.c | 66 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT), 92 if (alg->algorithm) 93 ASN1_OBJECT_free(alg->algorithm); 94 alg->algorithm = aobj; 112 *paobj = algor->algorithm; in X509_ALGOR_get0() 127 rv = OBJ_cmp(a->algorithm, b->algorithm); in X509_ALGOR_cmp()
|
| D | a_sign.c | 160 ASN1_OBJECT_free(a->algorithm); in ASN1_sign() 161 a->algorithm = OBJ_nid2obj(type->pkey_type); in ASN1_sign() 162 if (a->algorithm == NULL) { in ASN1_sign() 166 if (a->algorithm->length == 0) { in ASN1_sign() 250 ASN1_OBJECT_free(a->algorithm); in ASN1_item_sign() 251 a->algorithm = OBJ_nid2obj(type->pkey_type); in ASN1_item_sign() 252 if (a->algorithm == NULL) { in ASN1_item_sign() 256 if (a->algorithm->length == 0) { in ASN1_item_sign()
|
| /freebsd-9-stable/contrib/ofed/management/opensm/doc/ |
| D | current-routing.txt | 9 2. UPDN Unicast routing algorithm - also based on the minimum hops to each 10 node, but it is constrained to ranking rules. This algorithm should be chosen 14 3. Fat-tree Unicast routing algorithm - this algorithm optimizes routing 19 4. LASH unicast routing algorithm - uses Infiniband virtual layers 22 deadlock-free topology-agnostic routing algorithm to the non-minimal 23 UPDN algorithm avoiding the use of a potentially congested root node. 25 5. DOR Unicast routing algorithm - based on the Min Hop algorithm, but 45 The basic routing algorithm is comprised of two stages: 48 The algorithm to fill these tables is different if you run standard 50 For standard routing, a "relaxation" algorithm is used to propagate [all …]
|
| /freebsd-9-stable/crypto/openssh/ |
| D | dns.c | 77 dns_read_key(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_key() argument 85 *algorithm = SSHFP_KEY_RSA; in dns_read_key() 90 *algorithm = SSHFP_KEY_DSA; in dns_read_key() 95 *algorithm = SSHFP_KEY_ECDSA; in dns_read_key() 100 *algorithm = SSHFP_KEY_RESERVED; /* 0 */ in dns_read_key() 115 if (*algorithm && *digest_type) { in dns_read_key() 133 dns_read_rdata(u_int8_t *algorithm, u_int8_t *digest_type, in dns_read_rdata() argument 138 *algorithm = SSHFP_KEY_RESERVED; in dns_read_rdata() 142 *algorithm = rdata[0]; in dns_read_rdata()
|
| /freebsd-9-stable/contrib/bind9/lib/dns/rdata/generic/ |
| D | key_25.c | 85 unsigned char algorithm; in generic_totext_key() local 116 algorithm = sr.base[0]; in generic_totext_key() 117 sprintf(buf, "%u", algorithm); in generic_totext_key() 126 algorithm == DNS_KEYALG_PRIVATEDNS) { in generic_totext_key() 132 dns_secalg_format((dns_secalg_t) algorithm, algbuf, in generic_totext_key() 166 sprintf(buf, "%u", dst_region_computeid(&tmpr, algorithm)); in generic_totext_key() 174 unsigned char algorithm; in generic_fromwire_key() local 186 algorithm = sr.base[3]; in generic_fromwire_key() 191 if (algorithm == DNS_KEYALG_PRIVATEDNS) { in generic_fromwire_key() 203 if (algorithm == DST_ALG_RSAMD5 && sr.length < 3) in generic_fromwire_key() [all …]
|
| /freebsd-9-stable/crypto/openssl/engines/ |
| D | e_4758cca.c | 636 X509_ALGOR algorithm; in cca_rsa_verify() local 643 sig.algor = &algorithm; in cca_rsa_verify() 644 algorithm.algorithm = OBJ_nid2obj(type); in cca_rsa_verify() 646 if (!algorithm.algorithm) { in cca_rsa_verify() 652 if (!algorithm.algorithm->length) { in cca_rsa_verify() 660 algorithm.parameter = ¶meter; in cca_rsa_verify() 749 X509_ALGOR algorithm; in cca_rsa_sign() local 756 sig.algor = &algorithm; in cca_rsa_sign() 757 algorithm.algorithm = OBJ_nid2obj(type); in cca_rsa_sign() 759 if (!algorithm.algorithm) { in cca_rsa_sign() [all …]
|
| /freebsd-9-stable/crypto/openssl/doc/apps/ |
| D | passwd.pod | 27 The Unix standard algorithm B<crypt> and the MD5-based BSD password 28 algorithm B<1> and its Apache variant B<apr1> are available. 36 Use the B<crypt> algorithm (default). 40 Use the MD5 based BSD password algorithm B<1>. 44 Use the B<apr1> algorithm (Apache variant of the BSD algorithm).
|
| /freebsd-9-stable/crypto/heimdal/lib/roken/ |
| D | resolve.h | 197 unsigned algorithm; member 204 unsigned algorithm; member 218 unsigned algorithm; member 224 unsigned algorithm; member 232 unsigned algorithm; member
|
| D | resolve-test.c | 135 sig->algorithm, sig->labels, sig->orig_ttl, in main() 144 key->flags, key->protocol, key->algorithm); in main() 151 printf ("alg %u type %u length %lu data ", sshfp->algorithm, in main() 164 ds->key_tag, ds->algorithm, ds->digest_type, in main()
|
| /freebsd-9-stable/crypto/openssl/crypto/ocsp/ |
| D | ocsp_lib.c | 113 if (alg->algorithm != NULL) in OCSP_cert_id_new() 114 ASN1_OBJECT_free(alg->algorithm); in OCSP_cert_id_new() 119 if (!(alg->algorithm = OBJ_nid2obj(nid))) in OCSP_cert_id_new() 153 ret = OBJ_cmp(a->hashAlgorithm->algorithm, b->hashAlgorithm->algorithm); in OCSP_id_issuer_cmp()
|
| /freebsd-9-stable/crypto/openssl/crypto/pkcs7/ |
| D | pk7_lib.c | 258 nid = OBJ_obj2nid(psi->digest_alg->algorithm); in PKCS7_add_signer() 264 if (OBJ_obj2nid(alg->algorithm) == nid) { in PKCS7_add_signer() 276 alg->algorithm = OBJ_nid2obj(nid); in PKCS7_add_signer() 386 p7i->digest_alg->algorithm = OBJ_nid2obj(NID_sha1); in PKCS7_SIGNER_INFO_set() 388 p7i->digest_alg->algorithm = OBJ_nid2obj(EVP_MD_type(dgst)); in PKCS7_SIGNER_INFO_set() 400 p7i->digest_enc_alg->algorithm = OBJ_nid2obj(NID_rsaEncryption); in PKCS7_SIGNER_INFO_set() 410 p7i->digest_enc_alg->algorithm = OBJ_nid2obj(NID_dsa); in PKCS7_SIGNER_INFO_set() 416 p7i->digest_enc_alg->algorithm = OBJ_nid2obj(NID_dsaWithSHA1); in PKCS7_SIGNER_INFO_set() 421 p7i->digest_enc_alg->algorithm = OBJ_nid2obj(NID_ecdsa_with_SHA1); in PKCS7_SIGNER_INFO_set() 458 p7->d.digest->md->algorithm = OBJ_nid2obj(EVP_MD_nid(md)); in PKCS7_set_digest()
|
| /freebsd-9-stable/contrib/bind9/lib/dns/include/dns/ |
| D | tsig.h | 82 dns_name_t *algorithm; /*%< Algorithm name */ member 100 dns_tsigkey_create(dns_name_t *name, dns_name_t *algorithm, 107 dns_tsigkey_createfromkey(dns_name_t *name, dns_name_t *algorithm, 226 dns_name_t *algorithm, dns_tsig_keyring_t *ring);
|
| /freebsd-9-stable/lib/bind/dns/dns/ |
| D | rdatastruct.h | 914 dns_secalg_t algorithm; member 957 isc_uint8_t algorithm; member 1281 isc_uint8_t algorithm; member 1522 isc_uint8_t algorithm; member 1557 isc_uint8_t algorithm; member 1590 isc_uint8_t algorithm; member 1627 dns_secalg_t algorithm; member 1973 isc_uint8_t algorithm; member 2448 dns_name_t algorithm; member 2487 dns_name_t algorithm; member [all …]
|